Open main menu

CDOT Wiki β

Changes

ULI101 Lecture 1

372 bytes added, 00:45, 13 September 2019
no edit summary
==Reference Material==
 
*there is a LOT of reference material available on the internet
*a huge amount of Linux documentation has been collected at: [http://en.tldp.org en.tldp.org]*if you prefer a book, a good reference is "''' ''A Practical Guide to Linux Commands, Editors and Shell Programming" '' ''' by Mark Sobell*a huge amount of Linux documentation has been collected at en{||[[Image:Practical-linux-1.jpg|thumb|right|160px|]]|[[Image:Practical-linux-2.jpg|thumb|right|160px|]]|[[Image:Practical-linux-3.tldpjpg|thumb|right|160px|]]|[[Image:Practical-linux-4.orgjpg|thumb|right|160px|]]|}
=Introduction to UNIX=
***Shell (user interface, command interpreter, and some built-in commands), surrounded by
****Utilities (or commands)
*most common shells: Bourne shell ('''sh'''), C shell ('''csh'''), Korn shell ('''ksh'''), Bourne again shell ('''bash'''), TC shell ('''tcsh'''), Z shell ('''zsh''')
*we'll mostly be concerned with the Bash shell, which is the most popular Linux shell
*the Korn shell is the most popular Unix shell, and is very similar to the Bash shell
==Entering Commands, Logging In & Out==
*to login, use an ssh SSH (or similar) program, and provide ''userid '' and ''password''*to backspace (erase), usually '''backspace''', '''control-h''', or '''control-backspace'''*to interrupt a process, usually '''control-c'''*to logout, use <code>exit</code>, <code>logout</code>, or '''control-d'''*use <code>passwd </code> to change password
*command line arguments can be separated by one or more spaces or tabs
=Some Commands=
*<code>pwd</code> will show your current directory
*<code>cd</code> is used to change current directory, eg. <code>cd directory-name</code>
*<code>ls</code> lists information about files and directories
**<code>ls -a</code> all files (including hidden)