Files Flashcards
Know all files types with explanations
what are listing file example ( 4)
ls
ls -a
ls -lh
ls -r
How do you change directory
cd <dir></dir>
How do you return to the home directory
cd
how do you move two directories
cd ../..
difference between absolute and relative file paths
absolute is a full file path whereas relative is only from where the user is in the directory structure
how do you copy, remove, move and create a directory
copy = cp
remove = rm
move = mv
create a directory = mkdir
what does the “man” command mean
displays all information about the command
what does this command do cat <filename></filename>
finds the name and contents of the file
What does the grep command mean
searches for patterns and can also be the output for a file
what does the find command mean
finds/ searches for files
what does pwd command mean
prints the current file
what is the crucial factor about the chmod command
it uses octal instead of hexadecimal
what does the read number stand for
4
what dfoes the write number stand for
2
what does the execute number stand for
1