Tag Archive For "Linux"
Unix/Linux Sort Multiple Columns, Tab Delimited and Reverse Sort Order
Sorting a tab delimited file using the Unix sort command is easy once you know which parameters to use. An advanced file sort can get difficult to define if it has multiple columns, uses tab characters as column separators, uses reverse sort order on some columns, and where you want the columns sorted in non-sequential …
How to control or throttle SCP file transfer speed
I wanted to control how fast SCP copy data between two Linux servers. On a Linux system this can easily be achieved using the “SCP -l” switch. In my case I had to make sure to not exceed 0.5 Mbit/s Since the “-l” parameter uses Kbit/s the correct value in my case is 500 scp …
How to automatically provide an answer to Unix commands
How do you automatically provide an answer to a Unix command for example cp: overwrite `destination/./b.txt’? Many Unix/Linux commands that operate on files may stop and ask for confirmation for each file before completing an action. Of course for many Unix/Linux commands there are parameters that allows you to specify the desired behavior, but there …
Recent Comments