Performing basic file management Flashcards
What does the command ls do
displays a list of files and directories
What does the command touch do
modifies a files time stamp but more often used to create an empty file
What does the command cp do
makes a copy of a file
what does the command rm do
deletes a file from the system
What does the command mv do
move or rename a file
What does the command file do
determines a file type
What does the command cd do
changes the directory
what does the command mkdir do
makes a new directory
What does the command rmdir do
deletes a directory with any content
What does the $Path command do
variable that describes the directories that the currently logged in user can run applications from without specifying their full path
What does the command dd do
Copies and converts files. Often used to create files of arbitrary size and to back up disk drives
What does the command tar do
Wraps up files and folders into an archive file. This command does not provide compression on its own
What does the command gzip do
Command that creates .gz compressed files
What does the command gunzip do
extracts gz compressed files
What does the command bzip2 do
creates .bz2 compressed files