Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I "set -o vi" when using su

Status
Not open for further replies.

Tison

Programmer
May 12, 1999
216
CH
When I login from my id to su ,
how do I set the following ;
set -o vi
alias rm='rm -i'
 
Just issue the commands, or put them in the .profile of the user to whom you're su'ing (this assumes you're using su - <user> so that the environment is inherited). HTH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top