Python 2.x:
python -m SimpleHTTPServer
Python 3.x:
python -m http.server 8000
python -m SimpleHTTPServer
python -m http.server 8000
notify-send "This message will be displayed for 3 seconds" -t 3000
notify-send "Click me to close me." -t 0
notify-send "This is the Title" \
"Check out the cool icon" \
-i /usr/share/pixmaps/gnome-terminal.png
#!/bin/bash
while [ 1 ]; do
notify-send "Up Time" "`uptime`"
sleep 5m
done
unset HISTFILE
ssh-keygen
Enter file in which to save the key (/home/myname/.ssh/id_rsa):
ssh-copy-id -i ~/.ssh/id_rsa.pub macspc@192.168.1.10
ssh macspc@192.168.1.10
~? ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/brijith/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/brijith/.ssh/id_rsa.
Your public key has been saved in /home/brijith/.ssh/id_rsa.pub.
The key fingerprint is:
4b:71:39:69:36:13:0a:69:65:21:de:5f:24:b4:1c:b6 brijith@Newmegadisk
~? ssh-copy-id -i ~/.ssh/id_rsa.pub macpc@192.168.1.10
29
Password:
Now try logging into the machine, with "ssh 'macspc@192.168.1.10'", and check in:
.ssh/authorized_keys
to make sure we haven't added extra keys that you weren't expecting.
ssh macspc@192.168.1.10
ssh -X macspc@192.168.1.10
gedit&
[mysqldump]
user = root
password = secret
#!/bin/sh
mysqldump -u root --all-databases >/var/lib/sqldump/mysql.dump
dict
dictd
dict-bouvier
dict-devil
dict-elements
dict-foldoc
dict-freedict-eng-deu (english to german)
dict-freedict-eng-hin (english to hindi)
dict-freedict-hin-eng (hindi to english)
dict-gcide
dictionaries-common
dict-jargon
dict-moby-thesaurus
dict-vera
Go to Applications --> Office--> Dictionary and run the programme Dictionary