In this tutorial we’re going to look at some useful things you can do with your Web server using UNIX commands and Telnet. If you’ve never used Telnet or UNIX commands, try reading our Telnet and basic commands tutorial first, then come back here and carry on reading!
Advanced use of the ls command
In Telnet and basic commands, we showed you how to use ls to obtain a listing of all files in the current directory. By placing various letters after ls (known as switches, options or command line arguments, depending on the UNIX guru you talk to!), you can get it to give you a lot more information about the current directory. For example:
[username@mysite]$ ls -l