Upgrade to remove ads
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Unix commands

        Help!  

Question
Answer
Terminates the current Shell   exit  
🗑
informs the shell you want to end the login session   logout  
🗑
changes the working directory to Dir   cd Dir  
🗑
Changes the current directory to the user's home directory   cd  
🗑
Lists the contents of the current directory   ls  
🗑
Creates a directory named Dir   mkdir Dir  
🗑
Displays the full pathname of current directory   pwd  
🗑
Outputs a list of previously entered command lines   history  
🗑
Re executes the most recent command line   !!  
🗑
Re executes the most recent command number ##   !##  
🗑
Re executes the last command that begins with xxx   !xxx  
🗑
tells the shell to interpret newname as command   alias newname command  
🗑
advance one screen   spacebar  
🗑
advance one line   ENTER  
🗑
Go back to top of the file one screen   b  
🗑
go forward to the first target   /xxx  
🗑
Go to the next target   n  
🗑
outputs file1 from beg to end   cat file1  
🗑
outputs the first 10 lines or the last 10 lines   head filename or tail filename  
🗑
counts the lines words and chars in a filename   wc filename  
🗑
copies file1 to file2   cp file1 file2  
🗑
renames file1 as file2   mv file1 file2  
🗑
deletes filename   rm filename  
🗑
Asks you if you want to delete filename   rm -i filename  
🗑
checks the spelling in filename   spell filename  
🗑
displays users currently on   who  
🗑
print filename on the line printer   lp filename  
🗑
sends the output of the utility to the file filename   utility > filename  
🗑
appends the output of the utility to the end of the file filename   utility >> filename  
🗑
Displays manual   man  
🗑
displays a lines in the table of contents containing any word listed in words   man -k words  
🗑
Changes the users passwd   passwd  
🗑
lists all the contents of the current directory   ls  
🗑
lists a long listing of all te contents of current directory   ls -l  
🗑
concatenates file1 and file2 outputs 1 then 2   cat file1 file2  
🗑
searches for lines containing a certain word in filename   grep word filename  
🗑
counts the line, words, and chars in filename   wc filename  
🗑
prints the #th field of file   awk '{print $#}' file  
🗑
displays lines in a file in sorted order   sort filename  
🗑
checks spelling in a filename   spell filename  
🗑
removes permission to read file   chmod -r filename  
🗑
Gives permission to read file   chmod +r filename  
🗑
grants execute permission on the file   chmod +x filename  
🗑
removes execute permission on the file   chmod -x filename  
🗑
executes a variable   $var  
🗑
matches all filename   * splatt  
🗑
interprets the next char as an ordinary char without speical meaning   \  
🗑
Turns off interpretation of all characters between the single quotes . seen as ordinary char   ' '  
🗑
Lists processes   ps  
🗑
clears terminal screen   clear  
🗑
location of utility name   which utitliyname  
🗑
ypcat   network database files the way cat does local  
🗑
reads arguments and writes them to output   echo  
🗑
Moves cursor back   ?  
🗑
moves cursor forward   /word  
🗑


   

Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
 
To hide a column, click on the column name.
 
To hide the entire table, click on the "Hide All" button.
 
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
 
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.

 
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how
Created by: Fufuberrybunny
Popular Miscellaneous sets