You are on page 1of 1

Practice Exercise-1

1) Display the directory & contents of directory.


2) Create and verify the new files.
3) To delete directory and file.
4) Display the name of current directory.
5) To change the directory to etc.
6) To change the directory to home directory.
7) To list the contents of root directory
8) To list the contents in current directory.
9) List all files and directories in home directory along with home directory.
10) Create a directory named as text in home directory.
11) Create the file named as file1 and display the contents of file.
12) copy the file1 to file 2
13) Make two files and combine them in 1 file & display the contents of new file.
14) Remove the directory.

You might also like