May 19, 2007...9:31 am
Basic Command
To add privilege recursive to the user, normally from the unzip file
santi>chmod ugo+x -R [directory name]
To show txt file in console
santi>tail -f [file name ]
To show current directory:
santi> pwd
Create connection with ssh protocol
santi> ssh username@remot_ip
example
santi>ssh joko@172.25.99.36
then they will ask user to enter password of the username
password :
Have fun
Killing running proccess
ps aux | grep xxxxx
xxxxx is the process that contain this world. Example, to know isd of eclipse that is running is
ps aux|grep eclipse
then we know sid of eclipse from the number in the most left like
ffp 6104 0.0 0.0 10468 892 ? S May18 0:00 /home/dridza/bin/eclipse/eclipse
6104 is the sid the eclipse
and to shut the process,
kill -9 6104

2 Comments
June 6, 2007 at 8:13 am
[1] ssh usually come with scp (copying file between host with ssh)
scp source destination
e.g : $scp localFile.txt joko@172.25.99.36:~joko/
[2] please dont use root for daily ops (sign with #) use users instead ($)
[3] not sid, but pid (process ID) cmiiw
July 3, 2007 at 7:38 am
yup anda betul
Leave a Reply