Check These Out
Set the affinity of a process to a particular core(s).
Arguments for processor include a comma separated list, or a range. (example: 1,2 or 0-3)
You can use top in smp mode (Press 1) to see the changes to the affinity.
I don't truly enjoy many commands more than this one, which I alias to be ps1.. Cool to be able to see the heirarchy and makes it clearer what need to be killed, and whats really going on.
Also looks in subfolders
This relies on a public API from http://longurl.org. So, this has the weakness that if the service disappears, the function will break. However, it has the advantage that the shortened URL service will not be tracking your IP address and other metrics, but instead will track longurl.org. Thus, you can remain anonymous from the shortened URL services (although not anonymous from longurl.org). It does no sanity checking that you have provided an argument. If you do not provide one, "message" is displayed to STDOUT.
Use modprobe to list all the dependencies of a certain kernel module. Handy when debugging system issues.
This will issue a shutdown command to the Windows machine. username must be an administrator on the Windows machine. Requires samba-common package installed. Other relevant commands are:
net rpc shutdown -r : reboot the Windows machine
net rpc abortshutdown : abort shutdown of the Windows machine
Type:
net rpc
to show all relevant commands
I've used technicalpickles command a lot, but this one handles whitespaces in filenames. I'm sure you want to create an alias for it :)
Gives you a list for all installed chrome (chromium) extensions with URL to the page of the extension.
With this you can easy add a new Bookmark folder called "extensions" add every URL to that folder, so it will be synced and you can access the names from every computer you are logged in.
------------------------------------------------------------------------------------------------------------------
Only tested with chromium, for chrome you maybe have to change the find $PATH.
If the return code from the last command was greater than zero, colour part of your prompt red. The commands give a prompt like this:
[user current_directory]$
After an error, the "[user" part is automatically coloured red.
Tested using bash on xterm and terminal. Place in your .bashrc or .bash_profile.
Halt script progress until a key has been pressed.
Source: http://bash-hackers.org/wiki/doku.php/mirroring/bashfaq/065