Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Commands

git for tracking and managing changes to text files.

Navigate the file system

  • cd to change folder.

  • ls to show contents of the current folder.

  • popd to return to the folder saved with pushd.

  • pushd to save the current folder and move to another.

  • pwd to print which folder you are in.

  • pwdx to print which folder a process is in.

Search by name or contents

  • find to search by file name or other attributes.

  • grep to search by file contents.

  • which to show if and where the command is installed.

Modify the file system

  • cp to copy files.

  • ln to create a link to a file or folder.

  • mkdir to create a folder.

  • mv to rename or move a file or folder.

  • touch to create an empty file.

  • rm to delete files or folders.

  • rmdir to delete an empty folder.

File and folder security

  • chgrp to change the group a file or folder belongs to.

  • chmod to change permissions of a file or folder.

  • chown to change owner and group of a file or folder.

View file contents

  • cat to print the full contents of files.

  • diff to get line differences between text files.

  • echo to print a line of text.

  • head to print the first 10 lines of a file.

  • less to open a file content viewer.

  • tail to print the last 10 lines of a file.

Modify file contents

  • nano is a basic text editor. Useful for editing single files.

  • tee to save a copy of the given file.

  • vim is a general text editor. Useful for editing single or multiple files.

File compression tools

  • gunzip decompresses a file.

  • gzip compresses a file.

View resources

  • free to print memory usage.

View disk space

  • df to print how much disk space is free.

  • du to print the disk usage (size) of files or folders.

View processes

  • ps to print details on processes.

  • top to open a process resource monitor.

Modify processes

  • kill to send signals to processes.

Manage packages

Networking tools

  • ip to print routing information.

  • ping to test connectivity over the network.

Scripting

  • node to run .js scripts, coffee to run .coffee scripts and npm to install packages.

  • python to run .py scripts and pip to install packages.

Solaris