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


santi>ssh joko@

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 thoughts on “Basic Command

  1. kod34fr33 June 6, 2007 at 8:13 am Reply

    [1] ssh usually come with scp (copying file between host with ssh)
    scp source destination

    e.g : $scp localFile.txt joko@

    [2] please dont use root for daily ops (sign with #) use users instead ($)

    [3] not sid, but pid (process ID) cmiiw 🙂

  2. mujoko July 3, 2007 at 7:38 am Reply

    yup anda betul 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: