Linux Commands for TestOut LabSims Ch. 1-2+ Tests
Terms in this set (26)
Display the path of the current directory (Present Working Directory) on the system
Display the IP address and subnet mask assigned to a system.
Basic syntax to display a list of file and subdirectories that exist within a directory.
Displays a list of file and subdirectories that exist within a directory, including hidden files.
Displays a detailed list of directory contents including ownership, permissions, modification dates, and file sizes.
Displays the content of the directory as well as the content of all its subdirectories.
Displays a brief summary of how to use the command. Replace "(command)" with the command you want to query.
Stars a new Bourne-again session.
Displays the manual page for a command. Replace "(command)" with the command you want to query.
Displays in depth detail and instructions for a command. Replace "(command)" with the command you want to query.
cd (cd /home/currentlocation /home/newlocation)
Changes the directory in a file system that you are working in
cp (cp file.txt /home/newlocation)
Copies a file to a different directory.
mv (mv oldname.txt newname.txt)
Renames a file or directory by moving it to the same location with a different name.
mv (mv file.txt /home/newlocation)
Moves a file or directory to a new directory.
rm (rm file.txt)
Removes/deletes a file from the computer.
cat (cat file.txt)
Displays the content of a file.
less (less file.txt)
Displays the content of a file one page at a time.
head (head file.txt)
Displays the first few lines of a file.
tail (tail file.txt)
Displays the last few lines of a file.
vi (vi file.txt)
Opens the file editor for a file.
Allows you to insert text into a file once you are inside the file editor.
Once inside the file editor this command takes you to the command line to save the file.
Saves and exits out of a file editor.
Exits the file editor.
Switches to the root user and home directory.
shutdown (shutdown -h | -r +m message)
Shuts down the computer. -h is shutdown, -r if rebooting after shutdown, +m is minute delay before shutdown, message is displayed message on screen before shutting down.
YOU MIGHT ALSO LIKE...
UVA CS 2150 Unix Commands
UNIX Test 2
Net 402 Chapter 1.9.5 Linux File Management Facts
Testout 1.5 Linux Basics
OTHER SETS BY THIS CREATOR
Microsoft Security Terms
All Key Words, (Hebrew & Greek) From Genesis 1-3 Study (In Progress)
Numbers of Genesis 1-3
Multiple Choice Questions on Every Verse in Genesis 1-3 (74% Complete)