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

Useful symbols including wildcards

One powerful feature is the use of the < and > symbols. They allow you to write information to and from a file.

eg. echo "my data" > test.conf

The above command will replace all the file content with "my data". If you want add to the bottom of the file:

eg. echo "my data" >> test.conf

It also works the other way too. For example if you have an sql back up in backup.sql, you can import it:

eg. mysqldump -B [database name] -u [username] -p < backup.sql

The * symbol refers to everything. For example to delete everything in the current folder use:

rm -rf ./*


© Copyright, Simplec Services - Australia, 2017

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