System information

© Agilent Technologies 2001–2002 Administering Agilent 3070 Systems (MS Windows NT and 2000) 8-19
Chapter 8: Reference
List files, and show directories with / and executables with *
ls -F
Display permissions for a file
ls -l <filename>
Create or edit a file vi <filename> or viw <filename>
Display file contents more <filename> (q to quit) (v to vi)
Copy a file with permissions and owners
cp -p <file1> <file2>
Move a file to a new filename
mv <old_file> <new_file>
Append file1 onto the end of file2
cat <file1> >> <file2>
Remove a file
rm <filename>
Finding and organizing
Find file(s) beginning with x in the current and sub-directories
find . -name ‘x*’ -print
Find all occurrences of word in all files in the current directory
grep word *
Display date and time
date
Display manual page for <command name>
man <commandname>
Find name of current host system
hostname
Find current system information
uname -a
System operations
Clear screen clean
Table 8-9 Korn shell quick reference (continued)
To Do This . . . Enter This . . .