Question

In: Computer Science

How this command used for and provide examples for each one. Commands: 1-file 2-find 3-pwd 4-ln...

How this command used for and provide examples for each one.

Commands:

1-file

2-find

3-pwd

4-ln

5-stat

6- cmp, comm, and diff

7-md5sum

8-du

9-gzip

10-gunzip

11-bzip2, and bunzip

12-cpio

13-tar

14-wc

15-vi editor

Solutions

Expert Solution

I have covered all the commands below with example and explanation of command.

1. file
It determines what is the type of the file is for example


2. find
This command is useful for finding the file amoung the hierarchy.


3. pwd
This command is used to know the current working directory.


4. ln
This command is used create the link between the files.


5. stat
stat command provides the details about the files like file ,size, access, blocks, etc.


6. cmp, comm and diff
cmp is compare , comm is common , diff is diffrance between two files.

7.md5sum
The md5sum verify data integrity using MD5

example
command: md5sum /home/krunal/test/test.cpp > checkmd5.md5

it will store MD5 checksum in test.cpp

command: md5sum -c checkmd5.md5
output: /home/krunal/test/test.cpp: OK
if you have changed the file then it will give output
output: /home/krunal/test/test.cpp: FAILED

8.du 
du command is used for knowing the file space usage in disk
9.gzip
It compress the file and create the file with extansion .gz and have the header of GNU zip header. 
10. gunzip
It expands the compressed file it accept the extensip of file like  .gz , -z, .Z, tar or .tgz.
11. bzip2, and bunzip
bzip is used to compress the files. It usage less storage but uses higher memory.
bunzip is used for de-compress file.
we can de-compress using the bzip also by providing the flag -d
 
12. cpio
cpio stands for copy in, copy out 
this is used to copy file from and into the archived files

13. tar 
tar command is used to create the archive files and extract the archive files.

14. wc
it is used to count the word in file
15. vi editor
its editor where we can edit the files 
vi editor looks like: 

Related Solutions

Questions: Explain the following Linux commands Show your work examples/outcome. 1. command used to locate /Home/...
Questions: Explain the following Linux commands Show your work examples/outcome. 1. command used to locate /Home/ Directory…show the outcome 2. command used for October 2020 3. mv command and cat command 4. commands used- move to parent directory? 5. Explain why command is used ls -R?   What is the meaning of -R ? 6. Explain and describe two examples of how the touch command. 7. Explain what is the outcome of the commands ls -C ? 8. Explain command echo....
a) Observe the following Linux commands and work out what each command does: 1) $ ls...
a) Observe the following Linux commands and work out what each command does: 1) $ ls –al 2) $ /etc/profile 3) $ chmod 200 final_assignment.txt b) Consider a scenario where Bob has downloaded his messages to the local machine with an access of POP3, he can create mail folders and move the downloaded messages into the folders. Bob can then delete messages, move messages across folders, and search for messages (by sender name or subject). But this paradigm—namely, folders and...
Use two functions below for parts a and b.  ?(?)=??−?  ?(?)=ln(?)+ln(1−?)+3 a) Find the...
Use two functions below for parts a and b.  ?(?)=??−?  ?(?)=ln(?)+ln(1−?)+3 a) Find the stationary points, if any, of the following functions and label them accordingly (local or global minima/maxima or inflection point). b) Characterize the above functions as convex, concave or neither convex nor concave
Linux Ubuntu 1. Use the appropriate commands to locate the device file used by the device,...
Linux Ubuntu 1. Use the appropriate commands to locate the device file used by the device, mount the filesystem to a directory of your choice, and check the filesystem for errors. 2. Finally, add a line to /etc/fstab to ensure that the filesystem can be easily mounted in the future (this line should not automount the filesystem at boot time). You have to document all your steps and provide the screenshot of your work process.
Find the inverse of the matrix [ 1 1 4 ] [ 3 2 4 ]...
Find the inverse of the matrix [ 1 1 4 ] [ 3 2 4 ] [ 1 1 6 ] It is a 3*3 matrix
Can someone also tell me how to write the commands in excel for 1/T and ln(tgel)....
Can someone also tell me how to write the commands in excel for 1/T and ln(tgel). I have to plot 1/T versus ln(tgel). Cure temp. Gel time Linearized Forms T (K) tgel (h) 1/T (K-1) ln(tgel) 373.15 9.007 383.15 6.200 393.15 4.016 403.15 2.533 413.15 1.711 423.15 1.549 433.15 0.780 443.15 0.619 453.15 0.635 463.15 0.708 473.15 0.549
Provide a SWOT analysis for Comcast/Xfinity. Provide at least 3-4 examples for each section. You may...
Provide a SWOT analysis for Comcast/Xfinity. Provide at least 3-4 examples for each section. You may list them out or you can draw a pretty graph.
1-: ?(?) = ln (3 − √2? + 1)   ? ′(0) =? 2-Passing through the point...
1-: ?(?) = ln (3 − √2? + 1)   ? ′(0) =? 2-Passing through the point x = 1 and ? = 2? Perpendicular to the straight line tangent to 3 + 5? - 2 parabola what is the equation of the normal?
Give 4 examples of each with a definition 1- financial anomalies 2- momentum 3- reversal solve...
Give 4 examples of each with a definition 1- financial anomalies 2- momentum 3- reversal solve it as soon as Thank's
Give 5 examples each of the following: 1. Inspection 2. Palpation 3. Percussion 4. Auscultation For...
Give 5 examples each of the following: 1. Inspection 2. Palpation 3. Percussion 4. Auscultation For health assessment class. Thank you
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT