edit-task
Home
Up
Delete
Task Name:
Task Description:
] using linux 101 - entry level usage of the Linux operating system through the eyes of a long time windows user - command line (aka) terminal
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">linux adventures</h1> <h1 style="text-align: center;">command line 101</h1> <h2>[previously]</h2> <ol> <li><strong>[00:00] NEW task IN - overview</strong></li> <ol> <li>x] # 7208 - <a href="/view/task?id=7208" target="_blank">CREATE-article# #</a> - command line 101</li> </ol></ol> <h2> [current]</h2> <ol> <li><strong>[00:00] NEW task - </strong></li> <ol> <li>] </li> </ol></ol> <h2>[next]</h2> <div><ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>] FOUND - https://cmdchallenge.com/s/#/simple_sort</li> </ol> <li><strong>[00:00] NEW task</strong></li> <ol> <li>] ALSO - https://www.reddit.com/r/linux/comments/mi80x/give_me_that_one_command_you_wish_you_knew_years/ </li> <li>] https://news.ycombinator.com/item?id=3257393 </li> </ol></ol></div> <h2>[REFERENCE]</h2> <div><ol> <li>] # 5151 - <a href="/view/task?id=5151" target="_blank">CREATE-article # #</a> - adventures in the land of linux - overview</li> <li>] <a href="http://community.linuxmint.com/tutorial/view/778">http://community.linuxmint.com/tutorial/view/778</a> - top 15 commands everyone should know</li> </ol></div> <p> </p> <p> </p> <p> </p> <hr /> <h1 style="text-align: center;">command line 101 (aka sh, bash, cmd, terminal)</h1> <ol> <li><strong>[00:00] {navigation}</strong></li> <ol> <li>] cd</li> <li>] ls</li> </ol> <li><strong>[00:00] {files + directories}</strong></li> <ol> <li>] cp - copy files or directories</li> <li>] mv - move files or directories</li> <li>] mkdir - create directories</li> <li>] rmdir - delete directories</li> <li>] touch - used to create files</li> <li>] rm - deletes files </li> <li>] tar - create archives</li> <li>] pwd - path working directory</li> <li>] grep</li> <li>] tail</li> <li>] </li> <li>*] SRC = 1</li> </ol> <li><strong>[00:00] EXAMPLE - use ">" to save program output to file</strong></li> <ol> <li>] sensors > {path}/temperatures.txt</li> </ol> <li><strong>[00:00] EXAMPLE use ">>" to append program output to a file </strong></li> <ol> <li>] sensors >> {path}/temperatures.txt</li> </ol> <li><strong>[LIST]</strong></li> <ol> <li>] {navigation} -</li> <li>] bash - a better shell program</li> <li>] cron - task scheduler</li> <li>] grep - search files for 'words' </li> <ol> <li>https://www.howtoforge.com/tutorial/linux-grep-command/</li> </ol> <li>] man - documentation of programs</li> <li>] sudo -</li> </ol></ol> <div><hr /></div> <ol> <li><strong>] https://cmdchallenge.com -</strong> </li> <ol> <li>] hello_world - echo "hello world!" </li> <li>] get_current_working_directory = pwd</li> <li>] count_files = /var/count_files/ | </li> <ol> <li>*note = case sensitive, note=include preceeding and trailing / slashes in path</li> <li>http://stackoverflow.com/questions/20895290/count-number-of-files-within-a-directory-in-linux-not-using-wc</li> </ol> <li>] list_files - ls</li> <li>] print_file = cat {filename}</li> <li>] print_file_portion = tail {filename} -n5 (print the last 5 lines of the file)</li> <li>] grep 'GET' in access.log - find text 'GET" in file, *case sensitive</li> <li>] grep -r 'string' /path/ - find all files in directory that contain text</li> </ol> <li><strong>] https://explainshell.com - </strong></li> <ol> <li>] </li> </ol> <li><strong>] more cmd help</strong></li> <ol> <li>] {cmd} --help OR -h to get help on a command</li> <li>] https://www.howtogeek.com/108890/how-to-get-help-with-a-command-from-the-linux-terminal-8-tricks-for-beginners-pros-alike/</li> </ol></ol> <p> </p> <p> </p> <p> </p>