Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Linux OpenSuse OS I need to find these command lines for these questions in Linu

ID: 3718190 • Letter: L

Question

Linux OpenSuse OS

I need to find these command lines for these questions in Linux OpenSuse OS.

1. What command would you use for retrieving the local loopback IPV4 address on your Linux operating system?

2. Show the process of pinging a computer for 10 seconds. The IPV4 address of the computer is 192.168.1.1 which you will ping for 10 seconds.

3. Create a user account with the following specifications.

- The username is Linux

- Add this comment “practice” in the GECOS field

- The user account will be disabled on May 12, 2018

- The UID should be set to 1010

- The primary group should be set to “root”

4. What command line that delete the “Linux” user account created in question 3 and also requested you to not delete the user home directory. Use a command line to complete this task.

5. What command line to make a backup of all file stored on the Desktop of his Linux operating system. You need to complete this task using the tar command line. The backup name should be backup0.tar and backup should be saved in Documents folder.

6. What command line to make a backup of all files stored in Desktop folder of his Linux operating system. You need to complete this task using the cpio command line. The backup name should be backup0.cpio and backup should be saved in Download folder.

Explanation / Answer

Hi, let me reply your question one by one.:

1. you can use. $ ifconfig -a, it would give you minimum one info of ip address and all. that imnfo would be of loopback address.

2. $ ping -i 1 -c 10 192.168.1.1
i- how many ping, and c how many time ping.

3. $ sudo useradd USER
$ sudo useradd -d /home/USER -e 2018-05-12 USER
$ sudo useradd -u 1010 USER
$ sudo useradd -g root USER

4. $ userdel USER

5. $ tar -cvf %/Documents/backup0.tar %/Desktop/*

6. $ cpio %/Documents/backup0.tar %/Desktop/*

Thanks. feel free to clear any quesry regarding this question.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote