0% found this document useful (0 votes)
2 views2 pages

Linux Operating System

This document outlines a practical assignment for the Linux Operating System for the year 2025-26. It includes various tasks such as deleting special characters from files, removing duplicates, counting occurrences, and displaying specific lines or files based on certain criteria. The assignment covers file manipulation, process display, and user management commands in Linux.

Uploaded by

vaishnavbhavna17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Linux Operating System

This document outlines a practical assignment for the Linux Operating System for the year 2025-26. It includes various tasks such as deleting special characters from files, removing duplicates, counting occurrences, and displaying specific lines or files based on certain criteria. The assignment covers file manipulation, process display, and user management commands in Linux.

Uploaded by

vaishnavbhavna17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Linux Operating System

Assignment-1 Practical Year 2025-26

1. To delete all special character from file f1.txt.

2. Remove duplicate lines from file x1.

3. To print first 10 lines from file f1.

4. To display line 1 to 5 from x1.

5. To display line 1 to 5 from x1 and sort a line of file and also remove repeated lines.

6. Replace all occurrences of 'SYBCA' with 'TYBCA' in 5th line of file f1.txt.

7. Count the occurrences of 'TYBCA' in studentlist file.

8. To run a utility x1 at 11:00 AM.

9. Display Number of process. [display process of user]

10. Display lines starting from 10th line to the end of file x1.

11. Display all files in current directory where the 1st character is numeric and last character
isnot alphabet.

12. Display content of last modified file.

13. Display content of top 3 largest file in a working directory.

14. Display all files in current directory whose 1st character is is not digit.

15. To display inode of all files of current directory.

16. Count the number of character in 1st 3 lines of file f1.

17. Remove a file forcibly which do not have write permission.

18. To concatenate two files f1 and f2 including some text to be inserted from keyboard after
content of f1.

19. Remove directory tree dir/dir2/dir3 using single command.

20. Display number of words in 40 to 60 of file f1.txt.

21. Display all lines that stats with 'let' from a file x1. And the letter l, e or t may be in any
case.

22. List the user from etc/passwd in alphabetically sorted order.

23. Count the frequency of users who are logged in from more than one terminal.

24. Display starting in upper case of the file in f1.txt.

You might also like