Check These Out
Starting with a large MySQL dump file (*.sql) remove any lines that have inserts for the specified table. Sometimes one or two tables are very large and uneeded, eg. log tables. To exclude multiple tables you can get fancy with sed, or just run the command again on subsequently generated files.
Just realized how needless the 'ls' has been...
This version is also multilingual, since there is no need to grep for a special key word ("nothing"/"nichts"/"rien"/"nada"...). And it makes use of all the available horizontal space.
Using this command you can track a moment when usb device was attached.
If you have a client that connects to a server via plain text protocol such as HTTP or FTP, with this command you can monitor the messages that the client sends to the server. Application level text stream will be dumped on the command line as well as saved in a file called proxy.txt.
You have to change 8080 to the local port where you want your client to connect to. Change also 192.168.0.1 to the IP address of the destination server and 80 to the port of the destination server.
Then simply point your client to localhost 8080 (or whatever you changed it to).
The traffic will be redirected to host 192.168.0.1 on port 80 (or whatever you changed them to).
Any requests from the client to the server will be dumped on the console as well as in the file "proxy.txt".
Unfortunately the responses from the server will not be dumped.
Based on capsule8 agent examples, not rigorously tested
Use it for command like : mkdir, chown, ls, less...
If you are behind a restrictive proxy/firewall that blocks port 22 connections but allows SSL on 443 (like most do) then you can still push changes to your github repository.
Your .ssh/config file should contain:
Host *
ForwardX11 no
TCPKeepAlive yes
ProtocolKeepAlives 30
ProxyCommand /usr/local/bin/proxytunnel -v -p -d %h:443
Host
User git
Hostname ssh.github.com
ChallengeResponseAuthentication yes
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
Basically proxytunnel "tunnels" your ssh connection through port 443.
You could also use corkscrew or some other tunneling program that is available in your distro's repository.
PS: I generally use "github.com" as the SSH-HOST so that urls of the kind git@github.com:USER/REPO.git work transparently :) You
require the tex4ht package . You can open the file with openoffice , I use it much for correct my spelling and grammar .