What is the absolute path of the ls command? Use the which command to find... 1 answer below »

  • 24 + Users Viewed

  • 11 + Downloaded Solutions

  • New Jersey, US Mostly Asked From

What is the absolute path of the ls command? Use the which command to find it.

/bin/ls

(2) What is the real path of /sys/dev/block/7:0? Use the realpath command to find out.

/sys/devices/virtual/block/loop0

3 What is the name of the file starting with the letter z in the /sbin directory?

Is z?

4 If you are in your home directory (pwd prints /home/user) what cd command should you write using a relative path to go to /sys? (don't put a / at the end of your answer).

cd .././sys

just need the answer to the 3rd question please

Description: student submitted image, transcription available

Try Solving it with these steps:

These are AI-generated tips. For the verified answer, click “Solution.pdf.”

To find the file starting with 'z' in the /sbin directory, consider the following tips:

  • Use the ls command: List files in the directory.
  • Filter results: Use grep to search for files starting with 'z'.
  • Check permissions: Ensure you have access to the /sbin directory.
  • Consider case sensitivity: Remember that file names are case-sensitive in Linux.
View More

1 Approved Answer

Expert Verified

KANAMPALLI D
4 Ratings (3 Votes)
Understanding the Command: The command you're trying to use is ls , which lists files in a directory. The pattern z?* is meant to filter results to only those files that start with the...

Recent Questions in Programming Languages

Plagiarism Checker

Submit your documents and get free Plagiarism report

Free Plagiarism Checker