Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Perform the following on Linux instance

Perform the following on Linux instance

Computer Science

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.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE