Few ‘…nix’ administrative commands



































































ssh root@199.198.3.0Connect to remote host.
ssh -v root@199.198.3.0Look at the number of ssh build.
sudo su or sudo -sSuper User Doing permit.
sudo dhclientReleasing and updating my machine IP address.
sudo /etc/init.d/networking restartRestart all network settings.
scp /home//examples.desktop root@122.223.55.2:/home...Copy between local and remote host
scp root@(IP address - where file located):/home.... /home (local path to folder)Copy file from remote host to local machine
ifconfigSee machine's IP address
$ touch /home//123'touch' - created file
ls -all /home//123Check file owner and permissions
sudo chown -R root:root /home/fallenangel/123'chown' - change owner
wget https://www.test.com/logo4w.pngwget - download file from URL
tar -cf logo.tar logo4w.pngArchive file
tar -xf logo.tarOpen archived file (if user located in a same directory)
topwhat applications used over memory
kill process # hit "k" and choose a "PID" number. MAC-user: press “q” and type kill -9 PID-number

Comments

Popular posts from this blog

Robot Framework vs Cucumber

Performance Testing of RESTful APIs Using JMeter

Verification displayed number of rows inside table by Robot Framework