Saturday, 30 September 2017

Learning Linux - Get ahead with 'head'

Learning Linux - Get ahead with 'head'

Inherited from it's UNIX ancestors, the Linux command line has a lot of powerful tools. 'head' and 'tail' are bookends of a set of commands for manipulating and viewing the contents of a file or pipe.
https://www.howtoforge.com/linux-head-command/

Load test your Linux system

Load test your Linux system

Need to stress test your hardware? Verify that new server before you deploy it? Put your system under load to test your apps?

Here's how.
https://bash-prompt.net/guides/create-system-load/

Tuesday, 5 September 2017

Monday, 4 September 2017

Learning Linux - killing processes

Learning Linux - killing processes

In Windows when a program goes nuts, you un-intuitively hit CTRL-ALT-DEL to bring up the task manager and select the task from the list and try and kill it.
Linux, like it's UNIX ancestors has multiple command line tools for process management and this guide will get you started on some of the tools used to stop tasks that you've determined you don't want running anymore. As always, be careful with these tools, using them carelessly can not only lock-up or crash your system, but cause data loss too.
https://kerneltalks.com/commands/beginners-guide-to-kill-process-in-linux/

Monday, 24 July 2017

Using screen with UNIX/Linux

Using screen with UNIX/Linux

One wise sysadmin trick is to always type "screen" as soon as you log into any remote system. The reason being that if you need to come back to something, a long download or file transfer for example, then you can always detach the screen session, log out, and come back later. The session will remain open and whatever you were doing will keep running.
I recently downloaded a large backup file from a far away, remote server on a slow connection. Thanks to screen I was able to start the transfer from the far remote system to another, nearby remote system and then logout. I could then login periodically to that system, reattach the screen session, look at the progress, and detach it again and log back out. I was also able to do this multiple times, from multiple systems. It's a super handy tool and something every Linux user should know how to use.
https://www.tecmint.com/screen-command-examples-to-manage-linux-terminals/

Friday, 21 July 2017

Advanced Linux - using TCP BBR

Advanced Linux - using TCP BBR

I've looked at BBR and it certainly looks like a great innovation in network performance. That said I only recommend its use right now by advanced Linux admins with a pressing need for the improved performance, and then only after serious load testing on non critical network links.
For everyone else I recommend you wait until it is integrated into your Linux distribution and the mainline kernel. That way you are not messing with your vendor's highly tuned and optimized kernel configuration and you're getting something tested and integrated into the system as a whole.

#Linux #SysAdmin #Networking
https://www.cyberciti.biz/cloud-computing/increase-your-linux-server-internet-speed-with-tcp-bbr-congestion-control/

Wednesday, 5 July 2017

Watch out for security patches for anything you use that uses GnuPG's crypto library!

Watch out for security patches for anything you use that uses GnuPG's crypto library!

That may actually be more things than you think. Things like routers, phones or phone apps, etc. and not just on Linux. GnuPG is widely used cross platform.

#linux #Security #SysAdmin #Windows
http://www.theregister.co.uk/2017/07/04/gnupg_crypto_library_cracked_look_for_patches/