Contents
What are the commands used in Ubuntu?
A list of basic troubleshooting commands and their function within Ubuntu Linux
| Command | Function | Syntax |
|---|---|---|
| cp | Copy file. | cp /dir/filename /dir/filename |
| rm | Delete file. | rm /dir/filename /dir/filename |
| mv | Move file. | mv /dir/filename /dir/filename |
| mkdir | Make a directory. | mkdir /dirname |
How do I learn commands in Ubuntu?
Basic Linux command line tutorial to start developing in Ubuntu…
- Clear the terminal screen: clear.
- See the location of the pointer : pwd.
- Show contents of folder : ls.
- Move up: cd ..
- Move to specific folder : cd folderName.
- Move to root: cd /
- Show all files (hidden also): ls -a.
- See all files and also details : ls -l.