Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

Perform the following on Linux instance

Computer Science Oct 14, 2020

Perform the following on Linux instance.

  • Modify the PS1 variable to change your command prompt to 'UCID> ' (no quotes, include the space at the end) where UCID is your NJIT UCID.

  • Declare and export an environment variable named UCID with the value being your NJIT UCID.
  • There is a date command on the Linux instance. Using various help methods, find the arguments and/or options needed to print the epoch time using the date command. Epoch time is the number of seconds since 1970-01-01 00:00:00 UTC.
  • There is a wc command on the Linux instance. Using various help methods, find the arguments and/or options needed to print the number of characters within the /etc/os-release file using the wc command.
  • Make a directory named ${HOME}/courses/it340/module02 where ${HOME} is your regular user's home directory (i.e. NOT the root user). Inside of this ${HOME}/courses/it340/module02 directory perform the following.
  • Create a directory named it120.
  • Create a file named homework.
  • Create a file named quiz.
  • Create a file named midterm.
  • Create a file named final.
  • Rename the quiz file to quizzes.
  • Remove the file named homework.
  • Switch to the root user using sudo su - and execute the whoami command to confirm you are the root user.
  • As the root user, use the find command to find all directories named system within /etc.

For credit on this assignment, upload one or more screenshots showing the following.

  • The output of echo ${PS1}.
  • The output of printenv UCID. The UCID listed here should literally be UCID. Do not substitute it for your NJIT UCID.
  • The output of the date command (with all required arguments and options) that meets the above requirements.
  • The output of the wc command (with all required arguments and options) that meets the above requirements.
  • The output of ls -l ${HOME}/courses/it340/module02.
  • The output of the find command (with all required arguments and options) that meets the above requirements.

Expert Solution

For detailed step-by-step solution, place custom order now.
Need this Answer?

This solution is not in the archive yet. Hire an expert to solve it for you.

Get a Quote
Secure Payment