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

Listing Directory Content

To list the files and folders inside a directory you can use the ls command.

eg. ls

For better display, you can use:

eg. ls -l

On some servers, if its setup you can simply type two L's and it will work like ls -l

eg. ll

For more advanced directory listing options type:

eg: ls --help

If you would like to run a filter over the results you can add a pipe, followed by the grep command and then your criteria..

eg. ll | grep index

OR

eg. ll | grep .php

Don't forget if ll doesn't work, use the ls or ls -al commands. Wildcards are not needed. The grep command searches for pattens in things. This is merly one example of its uses.


© Copyright, Simplec Services - Australia, 2017

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