SlideShare a Scribd company logo
1 of 2
Download to read offline
UNIVERSITY INFORMATION TECHNOLOGY SERVICES
Working with NFS files
Files saved on the UITS central Unix computers Chrome, Cobalt, Zinc, Steel, EZinfo, and
STARRS/SP are stored on the Network File Server (NFS). That means that your files are really
on one disk, in directories named for the central Unix hosts on which you have accounts.
No matter which of these computers you are logged into, you can get to your files on any of the
others. Here are the commands to use to get to any system directory from any other system:

                                                                                                                           Unix commands
          cd /N/u/username/Chrome/
          cd /N/u/username/Cobalt/

                                                                                                                            reference card
          cd /N/u/username/Zinc/
          cd /N/u/username/Steel/
          cd /N/u/username/Ezinfo/
          cd /n/u/username/SP/
Be sure you use the capitalization just as you see above, and substitute your own username for
username.
For example, if Jessica Rabbit is logged into her account on Steel, and wants to get a file on her
EZinfo account, she would enter:
                                                                                                                     Abbreviations used in this pamphlet
     cd /N/u/jrabbit/Ezinfo/
                                                                                                                           Ctrl/x       hold down control key and
Now when she lists her files, she’ll see her EZinfo files, even though she’s actually logged into
                                                                                                                                           press x
Steel.
                                                                                                                           d            directory
You can use the ordinary Unix commands to move files, copy files, or make symbolic links
                                                                                                                           env          environment
between files. For example, if John Doe wanted to move “file1” from his Steel directory to his
EZinfo directory, he would enter:                                                                                          f            filename
                                                                                                                           n            number
     mv -i /N/u/jdoe/Steel/file1 /N/u/jdoe/Ezinfo/
                                                                                                                           nd           computer node
This shared file system means that you can access, for example, your Chrome files even when                                var          variable
you are logged into Cobalt, and vice versa. However, if you are logged into Chrome, you can
                                                                                                                           [y/n]        yes or no
only use the software installed on Chrome —only users’ directories are linked together, not
                                                                                                                           []           optional arg
system directories.
                                                                                                                           ...          list



                                                                                                                                    August 1998


                                                                                                                                  To access this guide on the
                                                                                                                            World Wide Web, set your browser to
                                                                                                                           http//www.indiana.edu/~uitspubs/b017/




                                                                                         b017.9808
                                                                                                     I   N   D   I     A      N     A     U    N    I    V    E     R   S   I   T   Y
Environment Control                                                                                   Environment Status
Command                    Description                                                                Command                     Description
cd d                       Change to directory d                                                      ls [d] [f...]               List files in directory
mkdir d                    Create new directory d                                                     ls -1 [f...]                List files in detail
rmdir d                    Remove directory d                                                         alias [name]                Display command aliases
mv f1 [f2...] d            Move file f to directory d                                                 printenv [name]             Print environment values
mv d1 d2                   Rename directory d1 as d2                                                  quota                       Display disk quota
passwd                     Change password                                                            date                        Print date & time
alias name1 name2          Create command alias                                                       who                         List logged in users
unalias name1              Remove command alias name1                                                 whoami                      Display current user
rlogin nd                  Login to remote node                                                       finger [username]           Output user information
logout                     End terminal session                                                       chfn                        Change finger information
setenv name v              Set env var to value v                                                     pwd                         Print working directory
unsetenv name1 name2...]   remove environment variable                                                history                     Display recent commands
                                                                                                      !n                          Submit recent command n

Output, Communication, & Help
                                                                                                      File Manipulation
Command                    Description
lpr -P printer f           Output file f to line printer                                              Command                     Description
script [f]                 Save terminal session to f                                                 vi [f]                      Vi fullscreen editor
exit                       Stop saving terminal                                                       emacs [f]                   Emacs fullscreen editor
session                                                                                               ed [f]                      Text editor
mail username              Send mail to user                                                          wc f                        Line, word, & char count
biff [y/n]                 Instant notification of mail                                               cat f                       List contents of file
man name                   UNIX manual entry for                                                      more f                      List file contents by screen
name                                                                                                  cat f1 f2 > f3              Concatenates f1 & f2 into f3
learn                      Online tutorial                                                            chmod mode f                Change protection mode of f
                                                                                                      cmp f1 f2                   Compare two files
                                                                                                      cp f1 f2                    Copy file f1 into f2
                                                                                                      sort f                      Alphabetically sort f
Process Control                                                                                       split [-n] f                Split f into n-line pieces
                                                                                                      mv f1 f2                    Rename file f1 as f2
Command                    Description
                                                                                                      rm f                        Delete (remove) file f
Ctrl/c *                   Interrupt processes
                                                                                                      grep ‘ptn’ f                Outputs lines that match ptn
Ctrl/s *                   Stop screen scrolling
                                                                                                      diff f1 f2                  Lists file differences
Ctrl/q *                   Resume screen output
                                                                                                      head f                      Output beginning of f
sleep n                    Sleep for n seconds
                                                                                                      tail f                      Output end of f
jobs                       Print list of jobs
kill [%n]                  Kill job n
ps                         Print process status stats
                                                                                                      Compiler
kill -9 n                  Remove process n
Ctrl/z *                   Suspend current process
stop %n                    Suspend background job n                                                   Command                     Description
command&                   Run command in background                                                  cc [-o f1] f2               C compiler
bg [%n]                    Resume background job n                                                    lint f                      Check C code for errors
fg [%n]                    Resume foreground job n                                                    f77 [-o f1] f2              Fortran77 compiler
exit                       Exit from shell                                                            pc [-o f1] f2               Pascal compiler




                                                           Press RETURN at the end of each command, except those marked by an asterisk (*).

More Related Content

What's hot

Microcontrollers programming Raspberry Pi
Microcontrollers programming Raspberry Pi Microcontrollers programming Raspberry Pi
Microcontrollers programming Raspberry Pi MUSAAB HASAN
 
Building a linux kernel
Building a linux kernelBuilding a linux kernel
Building a linux kernelRaghu nath
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to LinuxDimas Prasetyo
 
Server quickstart47 linux
Server quickstart47 linuxServer quickstart47 linux
Server quickstart47 linuxkb_exchange_hk
 
101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2Acácio Oliveira
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & CommandsMohit Belwal
 
LINUX Admin Quick Reference
LINUX Admin Quick ReferenceLINUX Admin Quick Reference
LINUX Admin Quick Referencewensheng wei
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumarymentorsnet
 
Lpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsLpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsYemenLinux
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unixsouthees
 
Part 6 of "Introduction to linux for bioinformatics": Productivity tips
Part 6 of "Introduction to linux for bioinformatics": Productivity tipsPart 6 of "Introduction to linux for bioinformatics": Productivity tips
Part 6 of "Introduction to linux for bioinformatics": Productivity tipsJoachim Jacob
 

What's hot (17)

Linux 4 you
Linux 4 youLinux 4 you
Linux 4 you
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Microcontrollers programming Raspberry Pi
Microcontrollers programming Raspberry Pi Microcontrollers programming Raspberry Pi
Microcontrollers programming Raspberry Pi
 
Building a linux kernel
Building a linux kernelBuilding a linux kernel
Building a linux kernel
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Server quickstart47 linux
Server quickstart47 linuxServer quickstart47 linux
Server quickstart47 linux
 
Linux unix-commands
Linux unix-commandsLinux unix-commands
Linux unix-commands
 
101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2101 2.1 design hard disk layout v2
101 2.1 design hard disk layout v2
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
LINUX Admin Quick Reference
LINUX Admin Quick ReferenceLINUX Admin Quick Reference
LINUX Admin Quick Reference
 
Shell intro
Shell introShell intro
Shell intro
 
Sunadmin
SunadminSunadmin
Sunadmin
 
Linux Command Suumary
Linux Command SuumaryLinux Command Suumary
Linux Command Suumary
 
Lpi Part 1 Linux Fundamentals
Lpi Part 1 Linux FundamentalsLpi Part 1 Linux Fundamentals
Lpi Part 1 Linux Fundamentals
 
8.1.intro unix
8.1.intro unix8.1.intro unix
8.1.intro unix
 
Dos lesson 11
Dos lesson 11Dos lesson 11
Dos lesson 11
 
Part 6 of "Introduction to linux for bioinformatics": Productivity tips
Part 6 of "Introduction to linux for bioinformatics": Productivity tipsPart 6 of "Introduction to linux for bioinformatics": Productivity tips
Part 6 of "Introduction to linux for bioinformatics": Productivity tips
 

Similar to Unix Commands Quick Guide (20)

Unix command quickref
Unix command quickrefUnix command quickref
Unix command quickref
 
Linux shell scripting
Linux shell scriptingLinux shell scripting
Linux shell scripting
 
Karkha unix shell scritping
Karkha unix shell scritpingKarkha unix shell scritping
Karkha unix shell scritping
 
Linuxs1
Linuxs1Linuxs1
Linuxs1
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
21bUc8YeDzZpE
21bUc8YeDzZpE21bUc8YeDzZpE
21bUc8YeDzZpE
 
21bUc8YeDzZpE
21bUc8YeDzZpE21bUc8YeDzZpE
21bUc8YeDzZpE
 
21bUc8YeDzZpE
21bUc8YeDzZpE21bUc8YeDzZpE
21bUc8YeDzZpE
 
(Ebook) linux shell scripting tutorial
(Ebook) linux shell scripting tutorial(Ebook) linux shell scripting tutorial
(Ebook) linux shell scripting tutorial
 
Ppt
PptPpt
Ppt
 
basic-unix.pdf
basic-unix.pdfbasic-unix.pdf
basic-unix.pdf
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
 
Linux
LinuxLinux
Linux
 
SHELL PROGRAMMING
SHELL PROGRAMMINGSHELL PROGRAMMING
SHELL PROGRAMMING
 
linux-file-system01.ppt
linux-file-system01.pptlinux-file-system01.ppt
linux-file-system01.ppt
 
Unix Basics
Unix BasicsUnix Basics
Unix Basics
 
File system discovery
File system discovery File system discovery
File system discovery
 
Linux
LinuxLinux
Linux
 
Sahul
SahulSahul
Sahul
 
Unix training session 1
Unix training   session 1Unix training   session 1
Unix training session 1
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

Unix Commands Quick Guide

  • 1. UNIVERSITY INFORMATION TECHNOLOGY SERVICES Working with NFS files Files saved on the UITS central Unix computers Chrome, Cobalt, Zinc, Steel, EZinfo, and STARRS/SP are stored on the Network File Server (NFS). That means that your files are really on one disk, in directories named for the central Unix hosts on which you have accounts. No matter which of these computers you are logged into, you can get to your files on any of the others. Here are the commands to use to get to any system directory from any other system: Unix commands cd /N/u/username/Chrome/ cd /N/u/username/Cobalt/ reference card cd /N/u/username/Zinc/ cd /N/u/username/Steel/ cd /N/u/username/Ezinfo/ cd /n/u/username/SP/ Be sure you use the capitalization just as you see above, and substitute your own username for username. For example, if Jessica Rabbit is logged into her account on Steel, and wants to get a file on her EZinfo account, she would enter: Abbreviations used in this pamphlet cd /N/u/jrabbit/Ezinfo/ Ctrl/x hold down control key and Now when she lists her files, she’ll see her EZinfo files, even though she’s actually logged into press x Steel. d directory You can use the ordinary Unix commands to move files, copy files, or make symbolic links env environment between files. For example, if John Doe wanted to move “file1” from his Steel directory to his EZinfo directory, he would enter: f filename n number mv -i /N/u/jdoe/Steel/file1 /N/u/jdoe/Ezinfo/ nd computer node This shared file system means that you can access, for example, your Chrome files even when var variable you are logged into Cobalt, and vice versa. However, if you are logged into Chrome, you can [y/n] yes or no only use the software installed on Chrome —only users’ directories are linked together, not [] optional arg system directories. ... list August 1998 To access this guide on the World Wide Web, set your browser to http//www.indiana.edu/~uitspubs/b017/ b017.9808 I N D I A N A U N I V E R S I T Y
  • 2. Environment Control Environment Status Command Description Command Description cd d Change to directory d ls [d] [f...] List files in directory mkdir d Create new directory d ls -1 [f...] List files in detail rmdir d Remove directory d alias [name] Display command aliases mv f1 [f2...] d Move file f to directory d printenv [name] Print environment values mv d1 d2 Rename directory d1 as d2 quota Display disk quota passwd Change password date Print date & time alias name1 name2 Create command alias who List logged in users unalias name1 Remove command alias name1 whoami Display current user rlogin nd Login to remote node finger [username] Output user information logout End terminal session chfn Change finger information setenv name v Set env var to value v pwd Print working directory unsetenv name1 name2...] remove environment variable history Display recent commands !n Submit recent command n Output, Communication, & Help File Manipulation Command Description lpr -P printer f Output file f to line printer Command Description script [f] Save terminal session to f vi [f] Vi fullscreen editor exit Stop saving terminal emacs [f] Emacs fullscreen editor session ed [f] Text editor mail username Send mail to user wc f Line, word, & char count biff [y/n] Instant notification of mail cat f List contents of file man name UNIX manual entry for more f List file contents by screen name cat f1 f2 > f3 Concatenates f1 & f2 into f3 learn Online tutorial chmod mode f Change protection mode of f cmp f1 f2 Compare two files cp f1 f2 Copy file f1 into f2 sort f Alphabetically sort f Process Control split [-n] f Split f into n-line pieces mv f1 f2 Rename file f1 as f2 Command Description rm f Delete (remove) file f Ctrl/c * Interrupt processes grep ‘ptn’ f Outputs lines that match ptn Ctrl/s * Stop screen scrolling diff f1 f2 Lists file differences Ctrl/q * Resume screen output head f Output beginning of f sleep n Sleep for n seconds tail f Output end of f jobs Print list of jobs kill [%n] Kill job n ps Print process status stats Compiler kill -9 n Remove process n Ctrl/z * Suspend current process stop %n Suspend background job n Command Description command& Run command in background cc [-o f1] f2 C compiler bg [%n] Resume background job n lint f Check C code for errors fg [%n] Resume foreground job n f77 [-o f1] f2 Fortran77 compiler exit Exit from shell pc [-o f1] f2 Pascal compiler Press RETURN at the end of each command, except those marked by an asterisk (*).