Putty Command

Back to home folder — cd
ls – list files in a directory (like dir in DOS)
cd – change directory (like cd in DOS)
cd .. – Back to folder
rm – delete a file or folder (this is the command you need, you want to type rm su.txt, once you find the right directory)
find – use this to locate a file (type find su.txt, then rm su.txt)
cat su.txt
will dump the file to your screen in putty

vi su.txt
will bring up an editor where you can edit it (and of course view the contents as a result).

tail file.txt – that command prints the last ten lines of file.txt
CURL — open the url

Set the proxy

export http_proxy=”http://usrname:passwrd@host:port”

export {http,https,ftp}_proxy=’http://in002\\ic019261:Badrinath!1@132.186.192.85:9090′

curl -u username:password ‘URL’

kill -9 “job code”

ps -ax|grep “file “name”

Crontap
5 * * * * java -jar /home/ic019261/java-scheduler.jar

nohup
nohup java -jar /home/ic019261/java-scheduler.jar &

0 == — == no access
1 == –x == execute
2 == -w- == write
3 == -wx == write / execute
4 == r– == read
5 == r-x == read / execute
6 == rw- == read / write
7 == rwx == read / write / execute
chmod 755

uga

chmod 777 “File_name”

Rserve is running with the following command:
netstat -an |grep 6311

that Rserve is was not running. It can be started with this command:
R CMD Rserve

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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