Tips for finding out about your permissions and rights in a session, either on your own computer or a server.
whoami: Displays the username that you are currently logged in as.
who: Displays a list of users currently logged in to the computer. Useful for getting the ip address of the computer you have logged into from.
ifconfig: Displays the ip address of your computer
groups: Displays group membership for the current user.
echo $ENV_NAME: Display the setting for the environment setting ENV_NAME. For example to check which cvs server/root you are currently using type:
echo $CVSROOT
This will display the cvsroot information you are currently using. (CVS commands to follow in a new post)
uname -r
Displays the current kernel version.
More to come here.
Thursday, January 18, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment