Thursday, March 15, 2012

Command Under Root User

# Linux contains two format-

1. bash [show user nsme & directory]

2. sh [doesn’t show user nsme & directory]

# sh format command:

# sh [to enter ‘sh’ format from ‘bash’ format]

# pwd [to show directory]

# whoami [to show user name]

# hostname [to show host name]

# bash [to enter ‘bash’ format from ‘sh’ format]

No comments:

Post a Comment