Shared Flashcard Set

Details

Linux Essentials 2.1.1
Basic Commands
21
Computer Science
Professional
04/06/2020

Additional Computer Science Flashcards

 


 

Cards

Term
2.1.1 - What does the "cat" command do?
Definition
Concatenates file contents to standard output
Term
2.1.1 - what does the "ls" command do?
Definition
Displays the contents of a directory
Term
2.1.1 - What does the "cut" command do?
Definition
Removes sections from each line of a file
Term
2.1.1 - What does the "cd" command do?
Definition
Directory traversal (changes directories)
Term
2.1.1 - What does the "cp" command do?
Definition
Copies files and directories
Term
2.1.1 - What does the "mv" command do?
Definition
Moves files as well as renaming files
Term
2.1.1 - What does the "mkdir" command do?
Definition
Creates a directory.
Term
2.1.1 - What does the "touch" command do?
Definition
Updates access and modification data. Can create empty files as well.
Term
2.1.1 - What does the "wc" command do?
Definition
Prints newline, word and byte counts for a file
Term
2.1.1 - What does the "passwd" command do?
Definition
Updates a user's authentication token
Term
2.1.1 - What does the "rm" command do?
Definition
Removes files (by default "rm" does not delete directories, use the "-r" switch)
Term
2.1.1 - What does the "rmdir" command do?
Definition
Deletes empty directories
Term
2.1.1 - What does the "more" command do?
Definition
Filter for paging through text, one screenful at a time. (outdated - use "less" instead as it is more robust)
Term
2.1.1 - What does the "less" command do?
Definition
Similar to "more" however allows for backward and forward viewing
Term
2.1.1 - What does the "whereis" command do?
Definition
Locates the binary, source and manual pages for a command
Term
2.1.1 - What does the "head" command do?
Definition
Outputs/prints the first 10 lines (by default)of a file
Term
2.1.1 - What does the "tail" command do?
Definition
Outputs/prints the last 10 lines(by default) of a file
Term
2.1.1 - What does the "sort" command do?
Definition
Write sorted concatenation of all files to standard output.
Term
2.1.1 - What does the "tr" command do?
Definition
Translate, squeeze and/or delete characters from standard input, writing to standard output
Term
2.1.1 - What does the "chmod" command do?
Definition
Changing file mode bits (permissions)(symbolic or octal number)
Term
2.1.1 - What does the "grep" command do?
Definition
Print line matching pattern to standard output
Supporting users have an ad free experience!