Tuesday, 28 February 2017

Linux Tips & Tricks - mastering the command line - limiting the bandwidth of rsync

Linux Tips & Tricks - mastering the command line - limiting the bandwidth of rsync

If you've been using Linux seriously at all for any length of time, you're using rsync to copy, move, or back-up files. However sometimes for long remote transfers you don't want rsync hogging up all of your bandwidth. But you can force rsync to only use a portion of your bandwidth, allowing you to run it in the background while you carry on with your business.

#Linux

https://www.cyberciti.biz/faq/how-to-set-keep-rsync-from-using-all-your-bandwidth-on-linux-unix/

Linux Tips & Tricks - mastering the command line - reptyr

Linux Tips & Tricks - mastering the command line - reptyr

Ever start a process in a remote shell then have to leave but wanted to keep the process running? With reptyr you can just migrate the process from your computer to the remote system. Of course there are a 101 other great uses for this but that's for you to discover.

For OpenSUSE users, simply type the following to install (from a root shell):
zypper in reptyr
https://www.ostechnix.com/reptyr-move-running-process-new-terminal/

Sunday, 26 February 2017

Network bonding with Linux

Network bonding with Linux

Sysadmins have been using this trick for years to get their own, inexpensive, custom, high speed network links. A primary example is from a server to a NAS device. Or a server to a backplane switch that supports bonding.
These days there are even ways to bond ISP connections to increase bandwidth if you're lucky enough to have an ISP that supports bonding.

So read on and find out how to do network bonding on Linux.



#Linux #sysadmin #Networking
http://kerneltalks.com/other/network-bonding-teaming-configuration-in-linux/

Tuesday, 7 February 2017

Learning Linux - Command line skills: Deleting a command from your bash history

Learning Linux - Command line skills: Deleting a command from your bash history

Every Linux pro lives in their Linux shell history, it makes repetitive processes fast, easy, and accurate. However, there are plenty of times when you use a command that you really don't want in your history file. For example, suppose you had to use the dreaded rm -Rf . at some point? You certainly don't want that hanging around in your history where you may accidentally re-run it.
The problem is you don't want to just delete your whole shell history either. Well here's a tutorial on deleting specific lines from your bash history.

#Linux

https://www.ostechnix.com/clear-specific-command-bash-history-linux/

Monday, 6 February 2017

Shorewall Firewall configuration tool for Linux

Shorewall Firewall configuration tool for Linux

Shorewall is a great way to do your own detailed, customized, firewall configuration. Just make sure before you use it that your distro doesn't have it's own, pre-loaded firewall configuration tool installed and already managing your firewall settings. OpenSUSE for example has it's own so read the OpenSUSE docs on how to properly disable it.

This would be especially handy for small, single purpose Linux system, eg a RasPi based firewall, but it's also a good tool for larger firewall setups too.

#Linux #Security #firewall
https://www.linux.com/learn/security/2017/2/introduction-shorewall-firewall-tool