Uploaded by mitsidd07

SodaPDF-converted-practical 6 kalpesh patil roll 42

advertisement
XIII. Exercise:

Display all files names that starts with ‘a’ and ends with ‘y’

Enlist all the files beginning with ‘m’ and ending with any range of 1 to 5.

Show the contents of the files whose file names contains exactly two characters.

Create a file ABCD.txt, create a copy with XXX.txt. Rename the original file with
AACD.txt. Delete the file XXX.txt.

Display the inodes of any two files at the same time.

Create two files chapter1 and chapter2 and perform the following operations
Copy contents of chapter1 to chapter2 by asking user before overwrite.
Display inodes of two files.
Rename the file ‘chapter1’ to ‘Lesson1’

Execute the following commands:
$ls a*n
$ls s?
$cat abc>>xz
Download