Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
unix_system_v3.2.3 [2020/03/11 17:05] smj |
unix_system_v3.2.3 [2020/03/11 17:21] smj |
The command prompt in UNIX is called the //shell//. Here is a list of common UNIX commands which will work across many different versions of UNIX with discrepancies in Example/Notes. | The command prompt in UNIX is called the //shell//. Here is a list of common UNIX commands which will work across many different versions of UNIX with discrepancies in Example/Notes. |
| |
||Command||Description||Example/Notes|| | ||Command||Description||Examples||Notes|| |
||as||ASsembler||//as input.s//|| | ||as||ASsembler||//as input.s//|||| |
||cc||C Compiler||//cc input.c//|| | ||cc||C Compiler||//cc input.c//|||| |
||cd||Change working Directory||//cd tmp// - on Version 6 this command is //chdir//|| | ||cd||Change working Directory||//cd tmp//||on Version 6 this command is //chdir//|| |
||df||Disk Free||//df// - May take time to complete on some systems|| | ||df||Disk Free||//df//||May take time to complete on some systems|| |
||echo||Echo||//echo ${HOME}// - Prints the value assigned to the variable HOME|| | ||ed||EDitor||//ed filename//||[[ED Survival|ED is the standard (line) text editor]]|| |
||env||ENVironment settings||//env// - Displays the shell environment settings (see //set//))|| | ||echo||Echo||//echo ${HOME}//||Prints the value assigned to the variable HOME|| |
||ls||LiSt directory||//ls -l// - provides a long LiSting|| | ||env||ENVironment settings||//env//||Displays the shell environment settings (see //set//))|| |
||ps||Process Status||//ps -a// or //ps -l// - prints All or Long Process Status|| | ||ld||Link Loader||//ld inputfile//|||| |
||pwd||Present Working Directory||//pwd// - Prints the working directory|| | ||ls||LiSt directory||//ls -l//||provides a long LiSting|| |
||set||SETting||//set// - Displays the shell environment settings (see //env//)|| | ||man||MANual||//man man//||On some systems, displays online manual pages|| |
| ||ps||Process Status||//ps -a// or //ps -l//||prints All or Long Process Status|| |
| ||pwd||Present Working Directory||//pwd//||Prints the working directory|| |
| ||set||SETting||//set//||Displays the shell environment settings (see //env//)|| |
| ||vi||VIsual editor||//vi filename//||[[VI Survival|vi is a screen editor]]|| |
| |
| On some systems typing //games// will print a list of games. |
| |
| ||directory||description|| |
| ||/||This is the top level or //root// directory|| |
| ||/bin||common user programs are here (type //echo ${PATH}// to see more|| |
| ||/etc||This is the system directory|| |
| ||/lib||System library files|| |
| ||/usr||USeR directory - contains additional binaries, libraries, manpages|| |