Change user, assume environment, stay in current dir
2009-10-03
68 words
1 min read
<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Change user, assume environment, stay in current dir $ su — user I’ve used this a number of times troubleshooting user permissions. Instead of just ’su – user’ you can throw another hyphen and stay in the original directory.
* View this command to comment, vote or add to favourites * View all commands by matthewdavis
commandlinefu.com
by David Winterbottom (codeinthehole.com)
URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/7LH0tfWi1Oc/change-user-assume-environment-stay-in-current-dir">http://feedproxy.google.com/~r/Command-line-fu/~3/7LH0tfWi1Oc/change-user-assume-environment-stay-in-current-dir
Related Articles:
- 2009/09/08 Database of vulnurability at milw0rm.com – udpate and makeindex with cron.
- 2009/07/20 bash tutorial for begineer and experienced.
- 2008/11/30 Get you ip address like whatismyip.com
- 0001/01/01 parse and paste text
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.