Introduction to Linux Terminal Commands
i12bretro
#Linux #Terminal #CommandLine #CLI
Full steps can be found at https://i12bretro.github.io/tutorials/0575.html
01. cat [Concatenate] https://man7.org/linux/man-pages/man1/cat.1.html # cat example sudo cat /var/log/boot.log concatenate files and print on the standard output 02. cd [Change Directory] https://man7.org/linux/man-pages/man1/cd.1p.html # cd examples cd /var/log ls cd ~ ls change the working directory 03. cp [Copy] https://man7.org/linux/man-pages/man1/cp.1.html # cp example cp ./Downloads ./Downloads-bkup -r ls copy files and directories 04. du [Disk Usage] https://man7.org/linux/man-pages/man1/du.1.html # du examples du -h du -sh estimate file space usage 05. find https://man7.org/linux/man-pages/man1/find.1.html # find example find *.log search for files in a directory hierarchy 06. ls [List] https://man7.org/linux/man-pages/man1/ls.1.html # ls example ls /var/log List directory contents 07. mkdir [Make Directory] https://man7.org/linux/man-pages/man1/mkdir.1.html # mkdir example mkdir ./directory_from_terminal ls make directories 08. mv [Move] https://man7.org/linux/man-pages/man1/mv.1.html # mv example mv ./directory_from_terminal ./directory_moved ls move (rename) files 09. pwd [Print Working Directory] http://man7.org/linux/man-pages/man1/pwd.1.html # pwd example pwd print name of current/working directory 10. rm [Remove] https://man7.org/linux/man-pages/man1/rm.1.html # rm example rm ./directory_moved -r ls remove files or directories 11. top https://man7.org/linux/man-pages/man1/top.1.html # top example top display Linux processes 12. touch https://man7.org/linux/man-pages/man1/touch.1.html # touch example touch ./empty_file_from_touch.txt ls change file timestamps 13. uname [Unix Name] https://man7.org/linux/man-pages/man1/uname.1.html # uname example uname -a print system information 14. watch https://man7.org/linux/man-pages/man1/watch.1.html # watch example watch -n 3 --exec date execute a program periodically, showing output fullscreen 15. wget https://man7.org/linux/man-pages/man1/wget.1.html # wget example wget https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png non-interactive network downloader 16. whoami [Who Am I] https://man7.org/linux/man-pages/man1/whoami.1.html # whoami example whoami print effective userid
Connect with me and others
★ Discord: https://discord.com/invite/EzenvmSHW8 ★ Reddit: https://reddit.com/r/i12bretro ★ Twitter: https://twitter.com/i12bretro ... https://www.youtube.com/watch?v=4w5CVln04Ds
9096766 Bytes