translator
1,001
edits
(Parameter marked) |
(Files) |
||
Line 43: | Line 43: | ||
Displays files and permissions [of directory]{{UserCmd|command=ls -lh [dir]}} | Displays files and permissions [of directory]{{UserCmd|command=ls -lh [dir]}} | ||
=== | === Files and Directories === | ||
changes the working directory {{UserCmd|command=cd [dir]}} | |||
changes to the parent directory {{UserCmd|command=cd ..}} | |||
lists directory contents {{UserCmd|command=ls -l}} | |||
also lists the hidden files {{UserCmd|command=ls -la}} | |||
copies the file {{UserCmd|command=cp [file] [target]}} | |||
copies the directory {{UserCmd|command=cp -r [directory] [target]}} | |||
move/rename target source {{UserCmd|command=mv [source] [target]}} | |||
removes directory '''recursively''' {{UserCmd|command=rm -r [dir]}} | |||
create symbolic link {{UserCmd|command=ln -s [target] [link]}} | |||
mounts file system {{UserCmd|command=mount -t [type] [/dev/sdx9] [mountpoint]}} | |||
mounts iso image {{UserCmd|command=mount -o loop [iso] [mountpoint]}} | |||
home directory of user {{UserCmd|command=cd /home/$USER}} {{UserCmd|command=cd ~}} | |||
directory with global configurations {{UserCmd|command=cd /etc}} | |||
=== Your sub title === | === Your sub title === | ||
=== Your sub title === | === Your sub title === |