Share
Explore BrainMass

Linux Commands Machine using LINUX

Project Linux commands. Please record all commands on a MS Word Doc.

1.Log in to the Linux system as a user.
2.Open a Terminal emulation window.
3.Type who, and then record the output.
4.Type cal, and then record the output.
5.Type date, and then record the output
6.Type history, and then record the output.
7.Type !# where # is a number in the history list of a command you want to execute.
8.Record the command that was used.
9.Use the up and down arrow keys to scroll back and forth in the history list of recently executed commands, and press Enter to execute a command.
10.Record the command.
11.To exit the Terminal emulation program, type exit.
12.Log out.

Project 2

1.Log in to the Linux system as a user.
2.Open a Terminal emulation window.
3.Type date +%h, and then record the output.
4.Type date +%T, and then record the output.
5.Type date +%m, and then record the output.
6.Type who −q, and then record the output.
7.Type calmonth year where month is your two-digit birth month and year is your four-year birth year, and then record the day of the week you were born on.
8.To exit the Terminal emulation program, type exit.
9.Log out.

Solution Preview

Please find the solution in the attached file.

Please do let me know, if you have any query. I would be happy to assist you further with this posting.

Thanks

Project 1
Login into the system with correct user and password and open a terminal from accessories-> terminal.

Type who, and then record the output. Who command is used to display who is currently using the system. When we typed the who command in the terminal, following output came.
Mike tty1 2009-07-06 10:12
Mike tty7 2009-07-06 10:10 (:0)
Mike pts/0 2009-07-06 10:15 (:0.0)

Type cal, and then record the output.The cal command prints the calendar, here is the output
July 2009
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Type date, and then record the output. The date command prints the current date. Here is the output.
Mon Jul 6 10:19:46 IST 2009

Type history, and then record the output.
Here is the output
1 sudo apt-get update 2 ping 172.16.1.1
3 ping google.com 4 ping www.google.com 5 ifconfig 6 ping 172.16.1.1 7 ping 172.16.1.254 8 ping 172.16.6.32 9 ping www.google.com 10 ping www.yahoo.com
11 ping 172.16.1.1
12 ping www.yahoo.co 13 ping 172.16.1.1
14 ping ...

Solution Summary

The solution examines Linux Commands Machines using LINUX.

$2.19