Added the cat
command. Added external resources. (#19106)
This commit is contained in:
committed by
Quincy Larson
parent
37318fa8da
commit
7420ed7444
@ -40,8 +40,17 @@ When starting out with linux, there are some basic commands everyone should know
|
||||
11. **less** - view file content
|
||||
- Use `less filename.txt` to view contents of a file and navigate through them. By default, less will go through the file page by page.
|
||||
|
||||
12. **clear** - clear terminal
|
||||
12. **cat** - display file's textual contents
|
||||
- Use this command to display text from within a given file on your terminal. Entering `cat myFile.txt` in your terminal will display the contents of the file `myFile.txt` on screen. The `cat` command can be a very handy tool when used with the terminal _pipes_.
|
||||
|
||||
13. **clear** - clear terminal
|
||||
- Use `clear` to simply clear all output from your terminal.
|
||||
|
||||
13. **cp** - copy files and directories
|
||||
14. **cp** - copy files and directories
|
||||
- Use 'cp' to copy a file or a direcotry with files inside it to another location using command 'cp CURRENT_FILE-LOCATION DESTINATION_FOLDER'. Add '-r' flag to copy a directory that is not empty.
|
||||
|
||||
### Useful Resources for Practice:
|
||||
- [JSLinux](https://bellard.org/jslinux/vm.html?url=https://bellard.org/jslinux/buildroot-x86.cfg): Run the terminal inside your browser. Great for practice.
|
||||
- [LearnShell](https://www.learnshell.org/): Interactive Linux shell (terminal) tutorials.
|
||||
- [LinuxJourney](https://linuxjourney.com/lesson/the-shell): A collection of beginner-friendly terminal tutorials.
|
||||
|
||||
|
Reference in New Issue
Block a user