1 Write Unix Command Line Uses Cat Command Make Exact Copy File Data Call Datacopy 2 Write Q37237817

1. Write a Unix command line that uses the cat command to makean exact copy of the file data and call it data.copy.

2. Write a command that will print the number of lines in thefile shortlist that contain the stringclinton.

3. Write a Unix command to display, byte by byte, the contentsof the file named datafile. Make sure that foreach byte the character and its numerical representation aredisplayed.

4. Write the command that moves the file data1into the directory testdata.


Answer


Answer to1:

Command: cat data > data.copy

Output:

File Edit View Search Terminal Help bhaswanth@jaywanth /commands i Hi How are you This is a sample file Content of this file

Answer

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.