This document provides instructions for an assignment in an Operating Systems course. It lists the deadline as March 30th, 2023 and provides the student's name and student ID number. It then lists and provides brief descriptions of various Linux commands that were covered in the assignment, such as cat, chmod, cd, date, cp, echo, grep, head, ls, more, mkdir, mv, pwd, rm, rmdir, sort, tail, and wc.
This document provides instructions for an assignment in an Operating Systems course. It lists the deadline as March 30th, 2023 and provides the student's name and student ID number. It then lists and provides brief descriptions of various Linux commands that were covered in the assignment, such as cat, chmod, cd, date, cp, echo, grep, head, ls, more, mkdir, mv, pwd, rm, rmdir, sort, tail, and wc.
Cat - this command reads data from the file and gives their content as output.
To view single file
To view multiple files
Create a new file
Chmod - this command is used to change the access mode of a file/ change permissions cd- it is used to change current working directory
Date - it is used to display and set date and time of
system Cp- stands for copy. Used to copy files or directories Echo- used to display line of text/string that are passed as argument Grep- filter searches a file for a particular pattern of characters; and displays all lines that contain that pattern Head- It prints the top N number ofdata in given input. By default it prints top 10 lines. ls- command that list directory contents and directories
One file per line
Display all information using ls-l
More- used to view text files in command prompt
Mkdir- allows user to create directories Mv-mv stands for more. Used to move one or more files or directories from one place to another in a file system
Pwd-stands for print working directory
rm - used to remove objects such as files or directories
Rmdir - remove directory
Executed successfully Sort - sort file
Tail- display last part of file. By default it is 10 lines.
wc - stands for word count. Mainly used for counting purpose.