Sunday, 6 May 2018

Linux tips & Tricks | Linux for sysadmins -- Setting up your own VPN with OpenVPN

Linux tips & Tricks | Linux for sysadmins -- Setting up your own VPN with OpenVPN

https://www.maketecheasier.com/create-own-linux-vpn/

Linux tips & tricks -- Installing the BookStack Documentation Wiki on CentOS

Linux tips & tricks -- Installing the BookStack Documentation Wiki on CentOS

A documentation server is a great and powerful resource for one or groups.
It can be especially useful for dev groups and engineering teams or classrooms.
https://www.howtoforge.com/tutorial/centos-bookstack-nginx/

Linux from the command line | Linux for sysadmins -- Learning Cron

Linux from the command line | Linux for sysadmins -- Learning Cron

Scheduled tasks are in important part of Linux administration. You'll need to learn to manage them effectively and correctly. Here's a start.
https://www.ostechnix.com/a-beginners-guide-to-cron-jobs/

Friday, 4 May 2018

Linux from the command line -- Customizing your text colours in bash

Linux from the command line -- Customizing your text colours in bash

The Linux terminal uses colour to help you identify and discriminate between different types of information. You can customize those colour hints to your liking. Here's how.
Warning, there be dragons here!
Be careful what you change and make backups first. You could easily make your terminal output unreadable.
https://www.networkworld.com/article/3269587/linux/customizing-your-text-colors-on-the-linux-command-line.html

Linux tips & tricks| Linux from the command line -- writing bootable USB sticks from an ISO file in BASH

Linux tips & tricks| Linux from the command line -- writing bootable USB sticks from an ISO file in BASH

It can be very handy to have a quick and simple way to take an ISO file and spit it out to a bootable USB stick. Here's one method.

Side note:
My most common GUI tool to perform this task is SuSE Studio Image Writer which is of course available for the various SUSE versions, but it is available for other Linux distros as well. See https://software.opensuse.org/package/imagewriter
In fact there's even a Windows version floating around out there.

https://www.tecmint.com/create-bootable-usb-in-linux-commandline/

Learning Linux | Linux from the command line -- 25 common Linux commands with examples

Learning Linux | Linux from the command line -- 25 common Linux commands with examples

This is one of those pages you give to someone that just installed Linux for the first time.
https://linuxhint.com/top-25-linux-commands-with-examples/

Learning Linux | Linux from the command line -- Watching commands with the watch command

Learning Linux | Linux from the command line -- Watching commands with the watch command

Did you ever type the same command over and over again just to monitor some ongoing process? Well you can automate that with the watch command.

Here's one I've used when downloading to a nearly full drive.

watch 'df |grep -i /storage'

Or, suppose you have a file being downloaded or created in the background by another process and you want to see show it's coming along and how much has been transferred.

watch 'ls -la ~/Downloads/somefile.tar.gz'
https://www.howtoforge.com/linux-watch-command/