Managing Files and Directories Flashcards
cd
Changes the current directory.
chmod
Changes file permissions.
chown
Changes file owner and group.
cp
Copies files.
ln
Creates symbolic links to files and directories.
ls
Displays the contents of a directory.
mkdir
Creates a directory.
mv
Renames a file as well as moves a file from one directory to another.
rm
Deletes files.
rmdir
Deletes directories.
pwd
Displays the current directory.
touch
Updates a file’s time stamp.
find
Finds files based on specified criteria such as name, size, and so on.
locate
Finds files using a periodically updated filename database (the database is created by the updatedb program).
whereis
Finds files based in the typical directories where executable (also known as binary) files are located.