0% found this document useful (0 votes)
21 views6 pages

File Management Commands Guide

The document outlines a series of commands and tasks related to file and directory management in a computer system. It includes creating files, displaying and renaming them, managing permissions, and extracting specific information from files. The tasks also involve counting lines, words, and characters in files, as well as redirecting outputs to new files.

Uploaded by

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

File Management Commands Guide

The document outlines a series of commands and tasks related to file and directory management in a computer system. It includes creating files, displaying and renaming them, managing permissions, and extracting specific information from files. The tasks also involve counting lines, words, and characters in files, as well as redirecting outputs to new files.

Uploaded by

mkpriyu2005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd

1.

Creating directory structure

2.Create file under cse with extensions like *.txt, *.c

3.Display all files

4.Rename

5.Copy
6.Delete

7.Display all files with 2 character filename and extension “.txt”

8.Create

9.List the contents

10.Create a file named INDIA


11.Create a file with 15 lines of data.

12.Create a file containing 10 lines of information. Count the number of lines,words and character.

13.Redirect the contents of ls -p to a file called LISTING

14.Change the modes of file


15.Create a file called mark which contain sample data

16.Create a file called EMP

17. Display the permission of the group for the files whose names begin with “p”
18. Give the command to extract logins of the peoplewhose login name starts with “CSE”.

19.Display the entire textof the file in uppercase.


20. Give the command to extract the links, the file owner and the file name only in the current
directory.

You might also like