| Now that you have completed this
chapter, you should have a firm understanding of the following:
There are a number of useful command
line utilities available for processing files and discovering
information about users on a UNIX system. The find command can be used
to find files and folders on your local computer or on a remote
computer such as a server. Files can also be located by searching for
specific strings in their contents. The grep command can do this and
can search for strings of characters in the output of other commands
such as ls
and ps
when used with the pipe (|). The CDE File Manager File menu has a Find
option that can perform some of the capabilities of the find command
and the grep command using a graphical user interface.
The contents of files and the output of
commands can be sequenced using the sort
command. The sort
command has a number of options including what field to start sorting,
numeric or alpha sort, and reverse sorts.
There are several commands available to
discover information about logged in user accounts. The who
command can display all the users currently logged on to a particular
machine. The who am i
and the whoami
commands will display your Real User ID (RUID) and the id
command will display your Effective User ID (EUID) if you have
switched to another user's account. The id
command can also be used to see what groups a user is a member of. The
su
(switch user) command allows you to temporarily assume another user's
account for access to their files or for testing and troubleshooting
purposes. |