CS246 Lecture Notes - Standard Streams, Unix Shell, Root Directory

132 views3 pages

Document Summary

Linux kdw, grome ! adv: easy to use! dis: cant handle complex tasks! Type commands on a prompt! adv: can easily handle complex tasks! dis: steep learning curve! windows: dos! bash: boume again shell! C shell (csh) -> tenex c shell (tcsh)! Absolute path: path to a le in the le system starting at the root directory! Current directory: directory you are currently sitting in (start with /)! To nd your current looking directory:! pwd - present working directory! Prints the absolute path of the current directory! Relative path: start from the current directory (don"t start with /)! Parent of the current directory! cd ! grandparent: cd /! ~ - your home directory! cd ~! cd >! ~userid - that user"s home directory! cd ~userid! To see the contents of the directory, use :! ls: lists contents of a directory (does not show any les starting with a . (hidden les))! ls -a: all les!

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions