Docsity

Linux practical record, Lab Reports of Linux skills

Partial preview of the text

Download Linux practical record and more Lab Reports Linux skills in PDF only on Docsity!

2313711058013

1. Files and directories โ€“ basic commands

2313711058013

2313711058013

  1. Create a file โ€œfile17โ€ in directory
  2. Remove file15 without request
  3. Remove file4 with request
  4. Display the last 2 lines in file
  5. Display hidden files in directory

2313711058013

  1. List the files in directory
  2. Display the contents of file7 with line numbers
  3. Count the number of words, lines and characters in file
  4. List the filenames (in Home directory) with file permission
    1. From directory17 move to directory14 and open file
    1. (i) Display the number of lines, words and character bytes in file
    • (ii) Display the number of lines in file
    • (iii) Display the number of words in file
    • (iv) Display the number of character (bytes) in file

2313711058013

  1. Give the Unix command to clear the screen
  2. Display the content of file
  3. (i) Remove file (ii) Remove file11 with confirmation

2313711058013

2. Utility Commands

2.1 Calendar Commands

2313711058013

2313711058013

2313711058013

2.2 Date Commands

Date (BASH)

2313711058013

2.3 Calculator Commands

2313711058013

3. Vi editor โ€“ command mode, insert mode

2313711058013

ii) To insert the text or content (using i key)

iii) To Save the file and exit iv) To Check file content

2313711058013

3. Head, Tail โ€“ commands