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.

Exploring Linux Filesystems

Quiz yourself by thinking what should be in each of the black spaces below before clicking on it to display the answer.
        Help!  

Question
Answer
Absolute pathname   The full pathname to a certain file or directory, starting from the root directory  
🗑
Home directory   A directory on the file system set aside for users to store personal files and information  
🗑
~ (metacharacter)   a metacharacter used to represent a user's home directory  
🗑
pwd   A Linux command used to display the current directory in the directory tree.  
🗑
cd   change directory. If you do not specify a destination directory, the cd command returns you to your home directory.  
🗑
Relative pathname   The pathname of a target directory relative to your current directory in the tree.  
🗑
Linked files   files that have an association with one another; they can represent the same data or they can point to another file.  
🗑
Special device files   A file used to identify hardware devices such as hard disks and serial ports.  
🗑
Named pipe files   A file used to identify a channel that passes information from one process in memory to another.  
🗑
Socket file   A named pipe connecting processes on two different computers; it can also be represented by a file on the file system.  
🗑
Filenames   The user-friendly identifier given to a file. Can include up to 255 characters, but usually are not longer than 20 characters.  
🗑
ls   The most common method for displaying files. The ls command displays all the files in the current directory in columnar format.  
🗑
. (period character)   Refers to the current working directory.  
🗑
.. (double-period character)   Refers to the parent directory relative to your current location in the directory tree.  
🗑
ls -a   Option to the ls command that lists all file names.  
🗑
-l   Lists file names in long format.  
🗑
-R   Lists file names in the specified directory and all sub-directories.  
🗑
-r   Lists file names reverse sorted.  
🗑
*   Wildcard metacharacter that matches 0 or more characters in a file name.  
🗑
?   Wildcard metacharacter that matches 1 character in a file name.  
🗑
[aegh]   Matches 1 character in a file name as specified within the brackets.  
🗑
[a-e]   Matches 1 character in a file name - provided this character is either an a, b, c, d, or e.  
🗑
[!a-e]   Matches 1 character in a file name - provided this character is not an a, b, c, d, or e.  
🗑
cat command   Stands for concatenation. The joining of text to make one larger whole. In Linux, words and strings of text are joined together to form a displayed file.  
🗑
tac command   Displays a file on the screen, beginning with the last line of the file and ending with the first line of the file.  
🗑
Head command   displays the first 10 lines of a text file.  
🗑
Tail command   Displays the last 10 lines of a text file.  
🗑
More command   A Linux command used to display a text file page-by-page and line-by-line on the terminal screen.  
🗑
Less command   A Linux command used to display a text file page-by-page on the terminal screen; users can then use the cursor keys to navigate the file.  
🗑
Strings command   This command searches for text characters in a binary file and outputs them to the screen.  
🗑
od command   Displays the content of the file in octal format (numeric base 8)  
🗑
Regular expressions (regexp)   Special metacharacters used to match patterns of text within text files; they are commonly used by text tool commands, including grep.  
🗑
grep command   Short for "global regular expression print" is used to display lines in a text file that match a certain common regular expression.  
🗑
egrep command   to display lines of text that match extended regular expressions.  
🗑
fgrep command   Only searches extended expressions and is faster than the grep command.  
🗑


   

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: 1592245141