Shared Flashcard Set

Details

Linux Essentials 2.3
Using Directories and Listing Files
14
Computer Science
Professional
04/06/2020

Additional Computer Science Flashcards

 


 

Cards

Term
2.3 - What are two ways to create directories and files with spaces in the name?
Definition
Wrap the name in quotes, escape the spaces with the "\" character
Term
2.3 - What is the "/etc" directory used for?
Definition
System configuration
Term
2.3 - What is the "/var" directory used for?
Definition
Variable files (file that are subject to change like: logs, spool files, temporary email files)
Term
2.3 - Which users do changes to the root filesystem affect?
Definition
All users
Term
2.3 - What defines the standardized location of files and directories in Linux?
Definition
The Filesystem Hierarchy Standard (FHS)
Term
2.3 - A path with a "~" in it is known as what?
Definition
A "relative-to-home" path (Example: ~/Documents/test.txt)
Term
2.3 - What does the "ls -lh" command and options do?
Definition
Display contents of a directory with a long list (-l) and human-readable format (-h)
Term
2.3 - What does the "ls -d */ " command and options do?
Definition
Display contents of the directory, show all subdirectories, no files
Term
2.3 - What does the "ls -lt" command and options do?
Definition
Display contents of the current directory, long list and sort by modification times with newest first
Term
What does the "ls -lrt" command and options do?
Definition
Display contents of the current directory, long list and sort by modification times and reverse the order (by default newest modifications would be first)
Term
2.3 - What does the "ls -lx" command and options do?
Definition
Displays the contents of the current directory, long list, and display the file extensions
Term
2.3 - What does the "ls -S" command and option do?
Definition
Displays the contents of the current directory and print the file size (largest file size first, you can reverse the order by adding the "-r" switch)
Term
2.3 - What does the "ls -R" command and option do?
Definition
Displays the contents of the current directory, modified to display the list recursively
Term
2.3 - What is an alias for the "ls -l" command and option?
Definition
The "ll" alias/command
Supporting users have an ad free experience!