2.9 Flashcards
A shell command that displays the contents of a file.
cat
A shell command that displays the contents of a file one screen at a time.
more
A shell command similar to more that displays the contents of a file one screen at a time and allows the user to navigate within the display.
less
A shell command that displays the first few lines of a file.
head
A shell command that displays the last few lines of a file.
tail
A shell command normally used to create an empty file.
touch
A shell command that displays the file’s type
file
A shell command that deletes files and directories
rm
A shell command that copies files.
cp
A shell command that moves and renames files and directories
mv
A shell command that overwrites files so they are difficult for a third party to recover.
shred
A shell command that list the attributes of a file.
lsattr
Modifies file attributes. A + or - is used to add or remove attributes respectively.
chattr
for these files -R
recursively
-V
displays the program version