Web-1 Hosting Logo

Basic Unix and Linux shell commands

cd [directory]
Will change directory to the [directory]

This shows basic information such as uptime, cpu usage, memory usage and processes running.

List all files in a directory.

ls -al
List all files plus hidden files.

ls -alh
List all files and hidden files and display the file size in an easier format.

ps -aux
Show all processes running.

tail [filename]
Show the end contents of a file. This is good for viewing last entries to log files.

Show who is logged into shell.

Show a list of all accesses to the server ftp and shell.

shows your current position in the filesystem

locate [filename]
Will find all files named with [filename]

chmod 755 [file]
Will change the permissions on [file]

cp [file1] [file2]
Copies [file1] to [file2]

rm [file]
Deletes [file]

Logs you out of shell.

Valid XHTML 1.0! Valid CSS!

Web-1 Hosting  

Copyright 2016 - All Rights Reserved

Unless otherwise noted, all materials on this site are protected as the copyrights, trade dress, trademark, and/or other intellectual properties owned by Web-1 Hosting and/or its affiliates. Use of the materials on this site is for informational purposes only for the clients of Web-1 Hosting Mac Hosting