Linux command line

From CoinWiki
Revision as of 23:24, 5 March 2018 by Ray (talk | contribs) (Manipulating Files)
Jump to: navigation, search

The Linux command line takes user inputed commands from a keyboard and gives them to the computer to perform.


Common Commands

Navigation

  • pwd - Shows the working directory
  • ls - Lists files in working directory
  • cd - Change working directory
  • less - View text files
  • file - Specifies files contents

Manipulating Files

  • cp - Copy files and directories
  • mv - Rename or move files or directories
  • rm - Remove files and directories
  • mkdir - Create directory
  • cat - Display a file

Assistance Commands

  • type - Display information about command type
  • which - Locate a command
  • help - Display reference page for shell commands
  • man - Display on-line command reference