Question

Describe what each of the following commands do rm /tmp/f mkfifo /tmp/f

Describe what each of the following commands do

rm /tmp/f

mkfifo /tmp/f

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Here I am explaining the both commands in LINUX/UNIX,see below

rm /tmp/f :-

rm is used for remove a directory or a file,And which deletes the all files or information in the directory or file.

In above command rm is used on the directories called /tmp/f

                tmp(directory) ---> f (directory)

So,it will deletes all the files in the tmp directory.

mkfifo /tmp/f :

FIFO: first in,first out FIFO is method of processing the data ,where the data first received is the first to be sent out after processed.And which one will come first ,that must be executed first.

mkfifo command is used for make a named pipes(FIFO's) with the given NAME's.

mkfifo /tmp/f   -> This command is creating a named pipe at /tmp/f (directory).

Thank you..!!

Please do upvote..!!!

Add a comment
Know the answer?
Add Answer to:
Describe what each of the following commands do rm /tmp/f mkfifo /tmp/f
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT