Check These Out
First of all you need to run this command.
X :12.0 vt12 2>&1 >/dev/null &
This command will open a X session on 12th console. And it will show you blank screen. Now press Alt + Ctrl + F7. You will get your original screen.
Now run given command "xterm -display :12.0 -e ssh -X user@remotesystem &". After this press Alt + Ctrl + F12. You will get a screen which will ask you for password for remote linux system. And after it you are done. You can open any window based application of remote system on your desktop.
Press Alt + Ctrl + F7 for getting original screen.
Using this command you can track a moment when usb device was attached.
Cool but useless.
Tested in Debian, ymmv.
- c 1 : send only one ping;;
-W 1: wait for one second and then exit ping, assuming target IP is not available; change as needed (-W 0.5 for half a second, smaller or greater value depending on network speed/latency)
Felt like I need to win the lottery, and wrote this command so I train and develop my guessing abilities.
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
nmap for windows and other platforms is available on developer's site: http://nmap.org/download.html
nmap is robust tool with many options and has various output modes - is the best (imho) tool out there..
from nmap 5.21 man page:
-oN/-oX/-oS/-oG : Output scan in normal, XML, s|
With this cron, rsync begins to sinchronize the contents of the local directory on /[VIPdirectory] with the directory /backup/[VIPdirectory] on the remote server X.X.X.X. Previously we need working on public/private-keys ssh to guarantee the acces to the remote server on X.X.X.X
kills all pids matching the search term of "PROCESS". Be careful what you wish for :)
Thanks to knoppix5 for the idea :-)
Print selected lines from a file or the output of a command.
Usage:
$ every NTH MAX [FILE]
Print every NTH line (from the first MAX lines) of FILE.
If FILE is omitted, stdin is used.
The command simply passes the input to a sed script:
$ sed -n -e "${2}q" -e "0~${1}p" ${3:-/dev/stdin}
print no output
$ sed -n
quit after this many lines (controlled by the second parameter)
$ -e "${2}q"
print every NTH line (controlled by the first parameter)
$ -e "0~${1}p"
take input from $3 (if it exists) otherwise use /dev/stdin
${3:-/dev/stdin}