CMPSC 16 Lecture 2: 10.02.18: Basic Command Line and File System

43 views2 pages
5 Oct 2018
School
Course
Professor

Document Summary

Filesystem: contains the entire hierarchy of directories, subdirectories, and files. $ is the command prompt and appears when the terminal is ready to accept commands. The pwd command: shows the path to the folder you are currently in. Starts from the root to where you are currently. The ls command: lists all the files and directories. Option -al: lists more specific details such as permissions and file sizes. Directoryname is the directory you want to move to. Can specify either an absolute or relative path. Absolute path: starts from the root directory and goes to a specified location. Relative path: relative to the current location in the filesystem. Diba directory: the home directory of the user (dot) means the current directory) (dot dot) means the parent directory or the directory that the current directory is. Source includes the name of the file you want to copy. Renames the file if you specify a filename in the destination path.

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