Check These Out
Just an alternative with more advanced formating for readability purpose. It now uses colors (too much for me but it's a kind of proof-of-concept), and adjust columns.
Quick and dirty forkbomb for all flavors of windows
Do not use in production. Replace start with a command of your choice, this will just open a new command prompt and is pretty tricky to stop once started
You might want to secure your AWS operations requiring to use a MFA token. But then to use API or tools, you need to pass credentials generated with a MFA token.
This commands asks you for the MFA code and retrieves these credentials using AWS Cli. To print the exports, you can use:
`awk '{ print "export AWS_ACCESS_KEY_ID=\"" $1 "\"\n" "export AWS_SECRET_ACCESS_KEY=\"" $2 "\"\n" "export AWS_SESSION_TOKEN=\"" $3 "\"" }'`
You must adapt the command line to include:
* $MFA_IDis ARN of the virtual MFA or serial number of the physical one
* TTL for the credentials
If you give tar a list of filenames, it will not add the directories, so if you don't care about directory ownership or permissions, you can save some space.
Tar will create directories as necessary when extracting.
This command is limited by the maximum supported size of the argument list, so if you are trying to tar up the whole OS for instance, you may just get "Argument list too long".
sorts the files by integer megabytes, which should be enough to (interactively) find the space wasters. Now you can
$ dush
for the above output,
$ dush -n 3
for only the 3 biggest files and so on. It's always a good idea to have this line in your .profile or .bashrc
This command will show you the entire payload of a packet.
The final "s" increases the snaplength, grabbing the whole packet.
Low on disk space? Check the largest installed RPMs for delete canditates.
Download latest released gitlab docker container
This will log your internet download speed.
You can run
$gnuplot -persist
In this example, file contains five columns where first column is text. Variance is calculated for columns 2 - 5 by using perl module Statistics::Descriptive. There are many more statistical functions available in the module.