Translations:CheatSheet/14/en

Revision as of 12:42, 15 December 2022 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Change the working directory

user $ cd [dir] COPY TO CLIPBOARD


Change to parent directory

user $ cd .. COPY TO CLIPBOARD


List directory contents

user $ ls -l COPY TO CLIPBOARD


List also hidden files

user $ ls -la COPY TO CLIPBOARD


Copy file

user $ cp [file] [target] COPY TO CLIPBOARD


Copy directory recursively

user $ cp -r [directory] [target] COPY TO CLIPBOARD


Move or rename file/directory

user $ mv [source] [target] COPY TO CLIPBOARD


Remove directory recursively

user $ rm -r [dir] COPY TO CLIPBOARD


Create symbolic link

user $ ln -s [target] [link] COPY TO CLIPBOARD


Mount filesystem

user $ mount -t [type] [/dev/sdx9] [mountpoint] COPY TO CLIPBOARD


Mount ISO image

user $ mount -o loop [iso] [mountpoint] COPY TO CLIPBOARD


Home directory of user

user $ cd /home/$USER COPY TO CLIPBOARD


user $ cd ~ COPY TO CLIPBOARD


Directory with global configurations

user $ cd /etc COPY TO CLIPBOARD