AIX Common Command Reference: Commands
AIX Common Command Reference: Commands
commands
Usage Examples: [cd] - Return to home directory, [cd ..] - Move up one directory, [cd PATHNAME] -
Changes the directory to the pathname given ||
date Description: Displays system date and time
cat
touch
Usage Examples: [ls], [ls -l] [ls -R]- List with long description, [ls | more] - List one page at a time, -R
lists everything recursivly in directory (contents of subdirectories) ||
pwd Description: Displays current directory
man
Usage Examples: [man COMMAND] [man -k KEYWORD] -k will list all commands with the
keyword given ||
cp
Usage Examples: [chmod u+r FILENAME] - Gives "user" Read access. The first letter represents
(u)ser, (g)roup, or (a)ll. The plus adds access and a minus revokes access. The second letter is the access
type (r)ead, (w)rite, e(x)ecute. [chmod 777 FILENAME] - Gives user, group and all read, write and
execute access. Given the values of read=4, write=2 and execute=1, so if we instead only wanted group
to have read and write access, but not execute we would add 4+2 and put 6 into the middle position
(group). ||
chown
page 1 / 3
aix
commands
Usage Examples: [rm FILENAME] [rm -r DIRECTORYNAME] The -r will remove dir even if files
or other directories are inside. ||
history
cal
Usage Examples: [cal 12 2005] displays December calander, [cal 2005] displays 2005 calander, [cal
2005 > outfile] directs 2005 calander data to file. ||
ps Description: Displays jobs
du
chgrp
spell
kill
Usage: [kill -9 14636] - Kills job with pid 14636, -9 specifies immediate termination ||
r Description: repeat last command (korn shell)
&
Usage Examples: [cmd > file] sends output of command to file, [cmd >> file] sends output of command
to file appending to existing data, [cmd < file] takes input for command from file ||
bg
page 2 / 3
aix
commands
Usage Examples: first use jobs command to get id in [ ]1, 2, etc then issue [bg #] ||
fg
Usage Examples: first use jobs command to get id in [ ] 1,2, etc then issue [fg #] ||
jobs Description: Displays active jobs
mv
at
Usage Examples: [at 7:59 pm June 9] Press enter, then all commands to execute, then <ctrl+d> to
end command entry. ||
istat Description: view inode information
lp
||
Korn Shell Documentation
page 3 / 3