Check These Out
-e is the script function, it performs search and replace like vi, and -i is the edit the file in place.
Figures out what has changed in the last 12 hours.
Change the author to yourself, change the time since to whatever you want.
Shows a simple clock in the console
-t param removes the watch header
Ctrl-c to exit
e.g.
fuser 25/tcp (see which pid is listening on smtp)
Uses google api to translate, you can modify the language in which translate modifying the parameter "langpair=|en", the format is language input|language output.
Really bored during class so I made this...
Basically, you hold period (or whatever) and hit enter after a second and you need to make the next line of periods the same length as the previous line...
My record was 5 lines of the same length.
It's best if you do it one handed with your pointer on period and ring on enter.
This command find which of your zip (or jar) files (when you have lots of them) contains a file you're searching for. It's useful when you have a lot of zip (or jar) files and need to know in which of them the file is archived.
It's most common with .jar files when you have to know which of the .jar files contains the java class you need.
To find in jar files, you must change "zip" to "jar" in the "find" command. The [internal file name] must be changed to the file name you're searching that is archived into one of the zip/jar files.
Before run this command you must step into the directory that contains the zip or jar files.
Trickle is here: http://monkey.org/~marius/pages/?page=trickle
Trickle is a simple bandwidth limiter
- port 8080 on localhost will be a SOCKSv5 proxy
- at localhost:localport1 you will be connected to the external source server1:remoteport1 and at bind_address2:localport2 to server2:remoteport2
- you will be using only IPv4 and arcfour/blowfish-cbc, in order to speed up the tunnel
- if you lose the connection, autossh will resume it at soon as possible
- the tunnel is here a background process, wiithout any terminal window open
On Debian systems, choose which command provides java. Works for all alternatives listed in /etc/alternatives.