Linux expert
19 views | +0 today
Follow
Linux expert
Linux commands
Curated by Ritesh Sahu
Your new post is loading...
Your new post is loading...
Scooped by Ritesh Sahu
Scoop.it!

Important Linux Commands

Important Linux Commands | Linux expert | Scoop.it

Reboot Linux System : reboot

Shutdown : shutdown -r now

Shutdown : shutdown -r +5

Directory Synchronize : rsync -avz -e ssh —progress —exclude “xyz.zip” /home/code/ root@hostnameorhostip:/var/www/

Move or Rename : mv -rf /home/abc.html /home/xyz.html

Mysql Connect : mysql -u root -p xxxxxx

Import database on mysql Prompt : source /home/xyz.sql

Import database from Shell : mysql -uroot -pxxxx db_name < /home/xyz.sql

Apache HTTP server benchmarking tool : ab -n 10 -c 2 http://www.somewhere.com/index.php

more...
No comment yet.
Scooped by Ritesh Sahu
Scoop.it!

command to grep the variable from file - The UNIX and Linux Forums

Hi, I am looking for the following: 1. A command to 'grep' the variable from a file 2.
more...
No comment yet.