Discovering Linux Commands

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.

Keep up to date with Taut with Thought’s Twitter page!

Blue Light Can be Bad

Lately I’ve been getting quite proactive about my health. In doing so, I stumbled across something that’s all the rage, these days:

Blue light.

Okay, so we’ve had blue light for a while now, but, as technology becomes more apparent, and many of us humans get further glued to the many screens at our disposal, it’s become apparent that this blue light is a problem.

Assuming I’m understanding the science behind it, when we’re exposed to blue light, it typically suppresses the secretion of the hormone melatonin, which is responsible for helping us to sleep at night. It’s a natural occurrence, as the sun itself produces blue light which of course helps keep us awake during the day.

If you’re like me, you’re on the computer late at night, then go to bed and stare at your phone for a little while, only to wake up and do it all over again! This can mess with our circadian rhythm.


Well, aside from switching off your screens, you can install something like the small, free program called f.lux on the PC, or a similar app for your mobile phone. I’ve been trying f.lux tonight and have found it to be very nice on the eyes, although a little strange at first. I’m getting used to it. I don’t feel as alert as I usually would around this time, and it’s only just gone 9pm! I’m usually up at around 4-5am before I go to sleep, these days.

So, I’d recommend giving it a go. You can also lower your display brightness in general, and use dim red lights to help. I’ve even read some comments online that those struggling with insomnia have noticed a big difference using software that reduces blue light.

Good night!

Keep up to date with Taut with Thought’s Twitter page!