previous
contents
next
Unix for Advanced Users
5. Navigating Effectively
This section discusses how to find out where you are and where things are under Unix.
5.1.
Where is that @#$%^*& command?
5.1.1.
whereis
5.1.2.
which
5.2.
Where is that file?
5.2.1.
whereis
5.2.2.
find
5.3.
What's that command called?
man -k
5.4.
Who am I?
5.4.1.
whoami
5.4.2.
id
5.5.
What tty am I on?
tty
5.6.
Who else is on? What are people doing?
5.6.1.
who
5.6.2.
w
5.7.
When did I log in last?
last
5.8.
What was my login shell? What shell am I using now?
5.8.1
echo $SHELL
5.8.2
echo $shell
5.9.
Which directory am I in?
pwd
5.10.
How do I remember where I was last?
5.10.1
pushd
and
popd
5.10.2
dirs
5.10.3
cd -
5.11.
What does the ASCII charset look like?
man ascii
previous
contents
next