My terminal journey, part 01. Becoming terminal friendly. series: Apt Spelunking. tags: terminal, apt-get, apt-cache, .bashrc Book TLCL
The Linux Command Line: http://www.linuxcommand.org/tlcl.php
My .bashrc alias # ls aliases alias la='ls -Alh --group-directories-first' alias lr='ls -lh --group-directories-first --recursive' alias lar='ls -Alh --group-directories-first --recursive' # safety first ;) alias rmi='rm --interactive --verbose' alias mvi='mv --interactive --verbose' alias cpi='cp --interactive --verbose' # cd reverse dir alias ..='cd ..' alias .2='cd ../..' alias .3='cd ../../..' alias .4='cd ../../../..' alias .5='cd ../../../../..' # cd dir alias cd.d='cd ~/Documents/.dump' # shutdown | reboot alias ssn='sudo shutdown -P now' alias sr='sudo reboot' # Misc alias nrpt='echo -e "\n\n---\n\nNew Report\n\n---\n\n"' My dump script #!/bin/bash dump=dump$(date +%m-%d-%Y).txt pdat=$(date +%a_%b_%d_%Y_%T) touch $dump; echo -e "$pdat" > $dump; echo -e "\n\nThis file is used to store terminal output for later use; now get out!\n\n" >> $dump; echo -e "\n\nDump file $dump is ready for use (created on $(date +%m-%d-%Y_%T)).\n\n" My Upgrade script #!/bin/bash dp=dump$(date +%m-%d-%Y).txt date | tee -a ./$dp; echo -e "\n" | tee -a ./$dp; sudo apt-get update | tee -a ./$dp; echo -e "\n" | tee -a ./$dp; echo -e "System Update Completed." | tee -a ./$dp; echo -e "\n" | tee -a ./$dp; sudo apt-get upgrade --yes | tee -a ./$dp; echo -e "\n" | tee -a ./$dp; echo -e "System Upgrade Completed." | tee -a ./$dp; echo -e "\n" | tee -a ./$dp; Commandsthe upgrade example sudo apt-get update | tee -a ~/Documents/.dump/dump05-05-2021.txt; nrpt >> ./dump05-05-2021.txt;
the nmap example (plus the other command I couldn't remember while recording) apt-cache search nmap >> ./dump05-05-2021.txt; nrpt >> ./dump05-05-2021.txt; apt-cache showpkg nmap
the depends example apt-cache depends nmap >> ./dump05-05-2021.txt;
the download example sudo apt-get download dict dictd dict-wn dict-gcide artha
vim sudo apt-get vim; vimtutor
Terminal examples ~= home folder, CTRL + R= command search , CTRL + L= clear terminal, xdg-open= open files with default app.
Searching with grep example ls -lhAr ~ | grep -i bash >> ./dump05-05-2021.txt
the dump05-05-2021.txt file
The NATO phonetic alphabet is a Spelling Alphabet; a set of words used instead of letters in oral communication (i.e. over the phone or military radio). Each word ("code word") stands for its initial letter (alphabetical "symbol"). The 26 code words in the NATO phonetic alphabet are assigned to the 26 letters of the English alphabet in alphabetical order as follows: Symbol, Code Word, Morse Code, Phonic.
(pronunciation)
A, Alfa/Alpha, AL FAH. B, Bravo, BRAH VOH. C, Charlie, CHAR LEE. D, Delta, DELL TAH. E, Echo, ECK OH. F, Foxtrot, FOKS TROT. G, Golf, GOLF. H, Hotel, HOH TELL. I, India, IN DEE AH. J, Juliett, JEW LEE ETT. K, Kilo, KEY LOH. L, Lima, LEE MAH. M, Mike, MIKE. N, November, NO VEMBER. O, Oscar, OSS CAH. P, Papa, PAH PAH. Q, Quebec, KEH BECK. R, Romeo, ROW ME OH. S, Sierra, SEE AIRRAH. T, Tango, TANG OH. U, Uniform, YOU NEE FORM. V, Victor, VIK TAH. W, Whiskey, WISS KEY. X, X-ray, ECKS RAY. Y, Yankee, YANG KEY. Z, Zulu, ZOO LOO. Hacker Public RadioCorrespondent: Some Guy On The Internet. Host ID: 391 E-mail: Lyunpaw@gmail.com
license: Creative Commons Attribution-ShareAlike 4.0 International
Shows:
In GNU/Linux, there is no "diversity", we're all just data.
Embrace Firefox
HP Laptop with AMD Ryzen 3 Mobile with Radeon Graphics
Poisoning The Well
let's talk about Thunderbird
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.