CMPSC 122 Lecture Notes - Lecture 2: Chmod, Octal, Superuser

96 views3 pages
10 Nov 2017
School
Course
Professor

Document Summary

Naming files: maximum of 255 words, not i(cid:373)porta(cid:374)t topic . Creating files: we create files with unix text editor not important, direct output to file not important, touch command - important, create a file using a touch command touch (file name). txt. Reading files: cat: short for concatenate use this command to read long files, and join files together. Important: more: let"s (cid:455)ou read o(cid:374)e li(cid:374)e of a te(cid:454)t each ti(cid:373)e. you click space to co(cid:374)ti(cid:374)ue. Does(cid:374)"t let you go back one page: less: use this command to entire files rather than one line at a time. Less -m (file name). txt shows progress of page number with percentages. Less -n (file name). txt shows line numbers. Creating directories: mkdir use this command to make a directory important. Renaming files: mv use this command, mv options: I: interactive overwriting gives user a warning or option. Copying files: cp: use this command to copy files - important.

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