SlideShare une entreprise Scribd logo
1  sur  2
Télécharger pour lire hors ligne
Getting Started
UNIX commands are used while connected
directly to bama through an SSH or terminal
interface. Our recommended programs include
SSH Security Shell, TeraTerm with SSH, and
Macintosh Terminal. More information is
available online at ncs.ua.edu.
Commands are entered by giving the command
name, any desired options, then any filenames or
directory names all separated by spaces. When
“enter” is pressed, the command is processed by
bama.
UNIX is case sensitive. All UNIX commands are
lower-case. Type commands demonstrated on
this reference card exactly as shown. File and
directory names can be mixed-case but always
must be typed exactly as named.
For complete lists of options use the “man”
command.
Directories
mkdir directory-name make a new directory
rmdir directory-name remove a directory (must
be empty of all files)
cd directory-name change to a directory
cd change to your home directory
cd .. change to directory one level up
~ home directory
. current directory
.. directory one level back
/ entire filesystem root
Working With Files
ls options filename list files in a directory
Options for ls include:
-a show all files including hidden ones
(those beginning with a “.”)
-l long list showing ownership, permission
and links
-t time-ordered list
-F mark directories with “/”, links with “@”
and executables with “*”
mv options filename new-filename rename a file
mv options filename directory-name
move file to a new directory
mv options directory-name new-directory-name
move a directory and all of its contents to a
new directory, keeping the structure intact.
New directory must already exist.
cp options filename new-filename copy file
rm options filename delete file
The most useful option for mv, cp, and rm is -i.
This will cause command to verify (inquire)
before execution.
Viewing File Contents
page filename go through file one page at a time
less filename page through file with capability
to go backwards
head options filename view the first few lines
tail options filename view the last few lines
Other Useful Commands
clear clear the screen
pine text-based email program
date current date and time
script keep a record of terminal session
quota -v show disk space usage and quota
cat file1 >> file2 append file1 to file2.
ispell options filename spell-check
grep string filename search for string in filename
wc options filename count lines, words, and
characters
filep options filename print a file w/ formatting
Printing
To select a new printer:
LPDEST printername
export LPDEST
lp option filename print file
cancel printjob cancel print job in queue. Get
printjob name from lp command result
enscript options filename format file for
PostScript printer
lpstat –p printername check printer queue. Use
printername “all” to see full list.
Unix Reference Card
Shell Commands
history show previously-run commands
escape (repeat k or j) move up or down
through history of commands. Press “enter”
to re-execute (ksh only).
alias newcommand command-string create new
command that runs command-string, including
all of the given options
command > outputfile command ’s output replaces
outputfile (>> will append)
command < inputfile command ’s input comes
from inputfile
command1 | command2 command1’s output
becomes command2 ’s input
Editing
vi options filename standard (vi)sual editor
emacs options filename terminal-based editor
pico options filename simple text editor
textedit options filename X-windows editor
Permissions and Security
chmod permission filename(s) set level of access.
permissions pertain to (u)ser, (g)roup and
(o)ther and include (r)ead, (w)rite, and
e(x)ecute.
Turn access on with “+”
Turn access off with “-”
Set access exactly to with “=“
chmod go-rwx filename(s) protect your files
from prying eyes
Working With Processes
ps option show running jobs on system.
ps -fu userid show jobs running as userid
kill pid kill job given by process id pid.
Use ps -fu userid to find the pid.
control-z stop the foreground job
bg (fg) put a stopped job into the
background (foreground)
jobs show user’s running and
suspended jobs
nohup command & run command in the
background; it will not stop when you logout.
(applies to ksh only)
X-Windows
. enableX sets user DISPLAY.
Xwindows server must be enabled on PC
netscape start Netscape Navigator
textedit filename edit filename
jws Java Workshop programming suite
ws Sun Workshop programming and
debugging suite
Compressing and Archiving
compress (uncompress) options filename(s)
compress (uncompress) using LZ algorithm.
gzip (gunzip) options filename(s)
slightly more efficient compress/uncompress
zip (unzip) options filename(s) compress
(uncompress) and archive (unarchive)
tar options -f archive-name filename(s)
work with “tar” archive of files:
tar -cvf archive files(s) create archive
tar -xvf archive extract files
tar -tvf archive list files
Scripting
Programs can be be scripted using the any of the
following. Login startup files are in ( ).
/bin/ksh (.profile, .kshrc [if setup])
/bin/sh (.profile)
/usr/local/bin/bash (.bash_login, .bash_profile,
.profile)
/bin/csh (.login, .chsrc)
/usr/local/bin/tcsh (.login, .chsrc)
/usr/local/bin/perl
/usr/local/bin/wish8.0
/usr/local/bin/rexx
Compilers
f77 options filename.f FORTRAN77 (Sun)
f90 options filename.f90 FORTRAN90 (Sun)
cc options filename.c C (Sun)
CC options filename.cc C++ (Sun)
gcc options filename.c C (gnu)
g++ options filename.cc C++ (gnu)
pc options filename.p Pascal (Sun)
Options are compiler-specific. Execute the
compiled binary with ./binary-name
If not specified, binary will be called “a.out”

Contenu connexe

Similaire à unix_ref_card.pdf

Similaire à unix_ref_card.pdf (20)

Kali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdfKali Linux Commands PDF-converted.pdf
Kali Linux Commands PDF-converted.pdf
 
Kali linux commands
Kali linux commandsKali linux commands
Kali linux commands
 
Applecmdlista zs
Applecmdlista zsApplecmdlista zs
Applecmdlista zs
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
An a z index of the bash commands
An a z index of the bash commandsAn a z index of the bash commands
An a z index of the bash commands
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
Prabu linux
Prabu linuxPrabu linux
Prabu linux
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
basic-unix.pdf
basic-unix.pdfbasic-unix.pdf
basic-unix.pdf
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 
Babitha.linux
Babitha.linuxBabitha.linux
Babitha.linux
 

Dernier

Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...SUHANI PANDEY
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"growthgrids
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...SUHANI PANDEY
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...SUHANI PANDEY
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls DubaiEscorts Call Girls
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...SUHANI PANDEY
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...tanu pandey
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge GraphsEleniIlkou
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...SUHANI PANDEY
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 

Dernier (20)

Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency""Boost Your Digital Presence: Partner with a Leading SEO Agency"
"Boost Your Digital Presence: Partner with a Leading SEO Agency"
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

unix_ref_card.pdf

  • 1. Getting Started UNIX commands are used while connected directly to bama through an SSH or terminal interface. Our recommended programs include SSH Security Shell, TeraTerm with SSH, and Macintosh Terminal. More information is available online at ncs.ua.edu. Commands are entered by giving the command name, any desired options, then any filenames or directory names all separated by spaces. When “enter” is pressed, the command is processed by bama. UNIX is case sensitive. All UNIX commands are lower-case. Type commands demonstrated on this reference card exactly as shown. File and directory names can be mixed-case but always must be typed exactly as named. For complete lists of options use the “man” command. Directories mkdir directory-name make a new directory rmdir directory-name remove a directory (must be empty of all files) cd directory-name change to a directory cd change to your home directory cd .. change to directory one level up ~ home directory . current directory .. directory one level back / entire filesystem root Working With Files ls options filename list files in a directory Options for ls include: -a show all files including hidden ones (those beginning with a “.”) -l long list showing ownership, permission and links -t time-ordered list -F mark directories with “/”, links with “@” and executables with “*” mv options filename new-filename rename a file mv options filename directory-name move file to a new directory mv options directory-name new-directory-name move a directory and all of its contents to a new directory, keeping the structure intact. New directory must already exist. cp options filename new-filename copy file rm options filename delete file The most useful option for mv, cp, and rm is -i. This will cause command to verify (inquire) before execution. Viewing File Contents page filename go through file one page at a time less filename page through file with capability to go backwards head options filename view the first few lines tail options filename view the last few lines Other Useful Commands clear clear the screen pine text-based email program date current date and time script keep a record of terminal session quota -v show disk space usage and quota cat file1 >> file2 append file1 to file2. ispell options filename spell-check grep string filename search for string in filename wc options filename count lines, words, and characters filep options filename print a file w/ formatting Printing To select a new printer: LPDEST printername export LPDEST lp option filename print file cancel printjob cancel print job in queue. Get printjob name from lp command result enscript options filename format file for PostScript printer lpstat –p printername check printer queue. Use printername “all” to see full list. Unix Reference Card
  • 2. Shell Commands history show previously-run commands escape (repeat k or j) move up or down through history of commands. Press “enter” to re-execute (ksh only). alias newcommand command-string create new command that runs command-string, including all of the given options command > outputfile command ’s output replaces outputfile (>> will append) command < inputfile command ’s input comes from inputfile command1 | command2 command1’s output becomes command2 ’s input Editing vi options filename standard (vi)sual editor emacs options filename terminal-based editor pico options filename simple text editor textedit options filename X-windows editor Permissions and Security chmod permission filename(s) set level of access. permissions pertain to (u)ser, (g)roup and (o)ther and include (r)ead, (w)rite, and e(x)ecute. Turn access on with “+” Turn access off with “-” Set access exactly to with “=“ chmod go-rwx filename(s) protect your files from prying eyes Working With Processes ps option show running jobs on system. ps -fu userid show jobs running as userid kill pid kill job given by process id pid. Use ps -fu userid to find the pid. control-z stop the foreground job bg (fg) put a stopped job into the background (foreground) jobs show user’s running and suspended jobs nohup command & run command in the background; it will not stop when you logout. (applies to ksh only) X-Windows . enableX sets user DISPLAY. Xwindows server must be enabled on PC netscape start Netscape Navigator textedit filename edit filename jws Java Workshop programming suite ws Sun Workshop programming and debugging suite Compressing and Archiving compress (uncompress) options filename(s) compress (uncompress) using LZ algorithm. gzip (gunzip) options filename(s) slightly more efficient compress/uncompress zip (unzip) options filename(s) compress (uncompress) and archive (unarchive) tar options -f archive-name filename(s) work with “tar” archive of files: tar -cvf archive files(s) create archive tar -xvf archive extract files tar -tvf archive list files Scripting Programs can be be scripted using the any of the following. Login startup files are in ( ). /bin/ksh (.profile, .kshrc [if setup]) /bin/sh (.profile) /usr/local/bin/bash (.bash_login, .bash_profile, .profile) /bin/csh (.login, .chsrc) /usr/local/bin/tcsh (.login, .chsrc) /usr/local/bin/perl /usr/local/bin/wish8.0 /usr/local/bin/rexx Compilers f77 options filename.f FORTRAN77 (Sun) f90 options filename.f90 FORTRAN90 (Sun) cc options filename.c C (Sun) CC options filename.cc C++ (Sun) gcc options filename.c C (gnu) g++ options filename.cc C++ (gnu) pc options filename.p Pascal (Sun) Options are compiler-specific. Execute the compiled binary with ./binary-name If not specified, binary will be called “a.out”