Putty Command+basic commands in putty


Please briefly explain why you feel this question should be reported .


Home folder:

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

Proxy: Set the proxy

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

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

curl -u username:password ‘URL’

kill -9 “job code”

ps -ax|grep “file “name”

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

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


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

msmanimaran@gmail.com 9 months 2021-08-29T12:34:46+02:00 0 Answers 7 views 0

Leave an answer

Captcha Click on image to update the captcha .