Adding data to files b. Appending data to the file c. Checking data of a file
assume a user has two files F1 and F2 , explain how the following activities can be done by taking your own data in the files:
a. Adding data to files
b. Appending data to the file
c. Checking data of a file
d. Copying F1 data to F2
e. Creating directory and moving both files in the directory
f. Renaming the files
g. Sorting the data of a file
h. Deleting the file and directory
i. Knowing the date and time of creating file
j. Displaying 4th and 5th line of F1
k. Listing the inode numbers of the files
l. Displaying the first column of file F1
m. Opening File F2 for editing
n. Searching and replacing the word NIZ to NIZWA in file F1 from line number 2 to 6.
Step by step
Solved in 2 steps