Question

What do the following Unix/Linux commands do? Is: rm: man: ifconfig:

What do the following Unix/Linux commands do?

Is:

rm:

man:

ifconfig:

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

Answer:

1)

ls: This command lists the contents of directory in which we run this command. A directory may contain files or sub-directories, ls command will list all the files and sub-directories present inside current directory.

2)

rm: This command removes a file if we run it as "rm filename" . rm command can also be used to remove a directory as follows "rm -r directory_name"

3)

man: man command is used to see manual of a particular command. For example, if you run "man rm" this will display manual of rm command .i.e following Information about rm command

a) NAME b) SYNOPSIS c) DESCRIPTION d) OPTIONS e) AUTHOR f) REPORTING BUGS g) COPYRIGHT

4)

ifconfig: This command is used to see the configurations of network interfaces currently active.

Output of this command is of the following form

Where eth0 is first ethernet interface active,lo is loopback interface and wlan0 is first wireless network interface which is active.

eth0 Link encap:Ethernet HWaddr 54:53:ed:29:1d:ee
inet addr:10.252.220.187 Bcast:10.252.221.255 Mask:255.255.254.0
inet6 addr: fe80::5653:edff:fe29:1dee/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10607726 errors:1 dropped:1 overruns:0 frame:1
TX packets:3247236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8163405878 (8.1 GB) TX bytes:372639801 (372.6 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4125 errors:0 dropped:0 overruns:0 frame:0
TX packets:4125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:464055 (464.0 KB) TX bytes:464055 (464.0 KB)

wlan0 Link encap:Ethernet HWaddr 84:4b:f5:da:24:7d
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Add a comment
Answer #2

1) ls: command lists the files and subdirectories of a directory in current directory. It takes differement parameters as well like ls -a means show all including hidden files

2) rm: command iss used to remov a file or directory and sub directories. e:g rm filename. To remove a directory

"rm -r directory"

3) man: this command shows manual of a particular command. For example, "man ls" will display manual of ls command .like how to use this command etc

4) ifconfig: This command shows the configurations of network interfaces currently active.

Add a comment
Know the answer?
Add Answer to:
What do the following Unix/Linux commands do? Is: rm: man: ifconfig:
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
ADVERTISEMENT