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..!!!
Describe what each of the following commands do rm /tmp/f mkfifo /tmp/f
What do the following Unix/Linux commands do? Is: rm: man: ifconfig:
what do the following shell commands do 1) rm Project* 2) ls File[0-9][0-9] 3) rm [A-Z]???
The Output of the following Commands: 1. Output of the cp -v /etc/host 2. Output of the mv -v /tmp/myfile ~ 3. Output of the rm -v file.txt 4. Output of the rmdir -v data 5. Output of the rm -v file.txt
Describe what these two commands do? $ echo cat $ cat echo
This is for a Unix class: Assume the following sequence of commands occurs in a program: if (mkdir("/tmp/foo", DIR_PERM) < 0) err_sys("mkdir failed"); if (chdir("/tmp/foo") < 0) err_sys("chdir failed"); if (rmdir("/tmp/foo") < 0) err_sys("rmdir failed"); Does rmdir(2) succeed? If so, what happens when the program tries to read the current directory? Write your own small program to demonstrate your answer.
Explain what the following Buffalo commands do: (a) LOAD , (b) CALL, (c) MM, (d) MD, (e) BR, (f) GO, (g) T
Enter these commands, and describe what happens: $ man bash | col -b > bashman $ cat bashman $ ^cat^more^
Task 2 Description and Example: Network DOS Tools For each of the DOS network commands listed, do the following: Describe what the command does Use the command and show the results. DOS Network Commands 1. arp 2. hostname 3. pathping 4. nslookup. Example: Finger Description - Displays information about a user or users on a specified remote computer typically a computer running UNIX) that is running the Finger service or daemon. The remote computer specifies the format and output of...
Revision Question 3 on Linux. Please explain the shell script commands in the context of post execution. You have just logged in and have a directory called "novel" in your home directory containing the following files: chapter1.docx chapter2.docx chapter3.docx draft.pdf save where "save" is itself a directory and contains the files Attributes.txt draft.pdf.1 draft.pdf.2 draft.pdf.3 indexA.txt indexB.txt list1.txt list2.txt a) Describe the results you would expect when executing the following shell commands: i) ls novel/save/*A* ii) ls novel/*r[23]* iii) rmdir...
Let U be an open subset of R". Let f: UCR" ->Rm. (a) Prove that f is continuously differentiable if and only if for each a e U, for eache > 0, there exists o > 0 such that for each xe U, if ||x - a| << ô, then |Df (x) Df(a)| < e.