SSH Commands

wooden

For the basics in linux shell

SSH Commands Guide List | Suggest A Guide
HostGeekz Hosting Guides | cPanel | Cheap Domains | Web Hosting Talk

Restarting Services (Apache, Mysql, etc)

If setup, you can generally use the "service" command. eg:

service httpd restart

It's a shortcut method to accessing daemons.

HTTPD - service httpd restart OR service apache restart
MYSQL - service mysql restart

 

Running Scripts/Programs

You can do so in two ways:

Change directory to the correct path then execute:

cd /scripts
./scriptname

OR

/scripts/scriptname

For sh scripts, you need to put sh in front of it:

cd /scripts
sh scriptname

OR

sh /scripts/scriptname


© Copyright, Simplec Services - Australia, 2017

Visit HostGeekz.com For More!
Cheap .Com Domains from $8.50