Open main menu

CDOT Wiki β

Changes

ULI101 Lecture 1

227 bytes added, 20:05, 11 September 2019
Some Commands
=Some Commands=
*<code>pwd </code> will show your current directory*<code>cd </code> is used to change current directory, eg. cd directory-name*<code>ls - </code> lists information about files and directories**<code>ls -a - </code> all files (including hidden)**<code>ls -l - </code> long form, gives more information about files**<code>ls -d - </code> gives information about the directory itself, not contained files**these options can be mixed and matched, eg. ls -ld*<code>cal - </code> displays a calendar of the current month**<code>cal 1995 - </code> displays calendar for specified year**<code>cal 3 1995 - </code> displays calendar for specified month of specified year*<code>date - </code> gives date and time*<code>who</code>, <code>w - </code> information about users logged on to system**<code>who am i</code>, <code>whoami - </code> information about your session*here is a list of most of the commands we'll be seeing in this course: [http://czegel.com/seneca/uli101/lectures/Lecture1a.html Command Summary]