I’m reminded of the early stages of language learning; like when I was learning words the likes of die Katze and der Hund in German. It’s quite exciting. Of course, instead of German, it’s computer jargon!
I’ve been quite busy again today, trying to shovel more commands into my brain; really exercising that wonderful hippocampus. My focus for a large part of the day was both security and seeing what Mint 18 with the XFCE desktop environment is like. I wasn’t disappointed.
I now have a much firmer grasp of WAN security. Not in a super-scientific way, but an in-depth look into wifi security without crunching numbers and eating computer science books.
I again looked into Kali Linux (an OS used to test systems and their security) and learned about the little CLI program called wifite which, it turns out, can be installed from the default Mint 18 repositories, and I assume also the PeppermintOS 7 ones.
As for now, I discovered a document online (the link to which I’ve sadly lost) which shows rather a lot of Linux commands, however outdated they may now be. I’m able to tote the incredibly intelligent cal and date commands. However, something occurred to me: would it be possible to insert two commands at once? As it turns out, the answer is yes.
If you type > between commands, you can output the data into a file. If you type | between commands, you can “pipe” the command into another command (such as less) which is very handy for commands that have a rather large output.
Armed with this knowledge, it occurred to me that another similar symbol would suffice for typing in multiple commands. It wasn’t long before I stumbled onto the semi-colon. If you type, for example, cal ; time into the Terminal, it’ll indeed run both commands at the same time. Bonus! Unfortunately, it doesn’t seem to work for 3 or more commands at once.
The oft used sudo apt-get install, sudo apt-get remove, sudo apt-get autoremove, and sudo add-apt-repository ppa:[name] commands are mostly seared onto my head now, thankfully. I remember hating the need to ever type in all that when installing and uninstalling a program; it doesn’t really bother me now.
As I understand it, when you want to install a program that isn’t in your repository, the process is as follows:
sudo add-apt-repository ppa:[name]
sudo apt-get update
sudo apt-get install [name]
Usually at this point, it’ll be done and dusted, but in some cases you may need or want to update the program you downloaded, if for some reason it doesn’t come updated. As for uninstalling, this is my usual method of choice, although I’d like to incorporate the –purge bit at some point:
sudo apt-get-remove [name]
sudo apt-get autoremove
sudo add-apt-repository -r ppa:[name]
Of course, if there was no need to add a special repository for the program, you can just ignore the add-apt-repository part. This is what works for me, but I’m lead to believe –purge goes above and beyond the call of duty to clean your system of a program.
You can just skip all the sudo-ing and start the commanding with sudo su, to permanently log in as Root (at least in that session) with an exit command to leave, but I’m advised against doing so as it can apparently be dangerous.
I’m getting tired typing all this out, so I’ll continue this in the next entry! I’m looking forward to some day reading all this again, then laughing at my relative Noob status.