Agilent 93000 SOC Series User Training Part 1, October 2004
Table 1
Basic Linux Commands (Continued)
Linux command
ps -ef | grep <process-name>
pwd
rm <file-name>
rm -rf <directory-name>
rmdir <directory-name>
tar -cvf <file-name>.tar <file->/<di-
rectory-name>
tar -cvhf <file-name>.tar <file-
>/<directory-name>
tar -xvf <file-name>.tar
who
xhost +
Linux Commands
Description
show who uses the specific named pro-
cess.
ps cuts its output after a specified number
of characters when piped into another
command.
To specify the maximum line length, use --
cols = N.
So, to use this command, when displaying
only the first 1000 characters, type the fol-
lowing:
ps -ef --cols=1000 | grep <process-name>
Print name of current / working directory.
Remove files.
Remove full directories.
Remove directory.
Create an archive of files.
Create an archive of files and links.
Extract an archive of files.
Show who is logged on.
Set the Workstation to accept the display
of windows from programs running on oth-
er Workstations.
577