Question

At the command prompt, type cd /etc and press Enter. At the command prompt, type pwd...

At the command prompt, type cd /etc and press Enter. At the command prompt, type pwd and press Enter to view the current working directory. Did your current working directory change? Did you specify a relative or absolute pathname to the /etc directory when you used the cd /etc command?

Homework Answers

Answer #1

1.Yes, current directory changed. because initially it was ~ but after entering cd /etc the current directory is /etc see the blue text in the image below

2.We specified absolute pathname because when we have used cd /etc  

/ is in the starting which makes it absolute.

absolute path means which is not related to current directory

relative path means which is in the current directory.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
At the command prompt, change to your home folder. Enter the following command and press enter....
At the command prompt, change to your home folder. Enter the following command and press enter. tree This command displays a graphical "tree view" of the folders in your home folder. Copy and paste the entire output of your tree command into the space provided below. Be sure you have executed the command from your home folder.
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and the output in a word document and submit it. Part1: 1. Log in to Linux using your user account name and password. 2. If you logged in using a graphical login screen, open a terminal window by clicking on the icon in the lower left corner of the desktop to open the main menu, then selecting System Tools, then Terminal. A terminal window opens....
Linux commands, the answer only about writing commands 1. What is the cd command that will...
Linux commands, the answer only about writing commands 1. What is the cd command that will change the current directory (which is “bob”) to the alice directory using a relative pathname (use the simplest possible relative pathname). Be sure to return to the “bob” directory 2. What is the cd command that will change the current directory (which is “bob”) to the etc directory using a relative pathname (use the simplest possible relative pathname). Be sure to return to the...
Project 10-3 In this hands-on project, you view the configuration of the System Log Daemon and...
Project 10-3 In this hands-on project, you view the configuration of the System Log Daemon and the logrotate utility on Ubuntu Server Linux. 1. Boot your Ubuntu Server Linux virtual machine. After your Linux system has been loaded, log into tty1 using the user name of root and the password of LNXrocks!. 2. At the command prompt, type ls –l /dev/log and press Enter. What is the file type? Which daemon on Ubuntu Server Linux uses this file and what...
Open a new terminal window a) At the command prompt type the “top “command b) Screenshot...
Open a new terminal window a) At the command prompt type the “top “command b) Screenshot and post the number of running processes. c) How many sleeping processes do you have? d) How much total memory is shown? e) How much swap memory is shown? f) Describe what swap memory is and why it is important. g) While using the top command, Press the “h” key. What happens? Press “h” again to return. h) What is the PID of the...
When we type in the name of a batch file in Command Prompt, Command Prompt will...
When we type in the name of a batch file in Command Prompt, Command Prompt will look for variables called: Group of answer choices Preset Variables Replacement Variables Permanent Variables Batch Variables We can use this character to pass the output from one command to the next: Group of answer choices | (Pipe) , (Comma) > (Angled Bracket) & (Ampersand) The following is utility tool we can use that are resided in the directory C:\Windows\System32: Group of answer choices IPCONFIG...
1. Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal...
1. Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!. 2. At the command prompt, type vi diskconfig.sh and press Enter to open a new file for editing called diskconfig.sh in your home directory. Why is it good form to use a .sh extension for shell scripts? 3. Enter the following text into the diskconfig.sh file. As you are typing the contents, ensure...
Type the following command, and then press ENTER to view all the running services that begin...
Type the following command, and then press ENTER to view all the running services that begin with letter t. import-csv c:\pswork\contact.csv | where-Object username –eq JefferyH Questions and testing: How to figure out the entries of username with letter “J”? _________________________ . How to figure out the entries of City “London”? _________________________ . How to figure out the entry of CTO? _________________________
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /  ...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /   command to review the contents of the / directory Review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents / ------- |--bin |--boot               |--dev               |--etc |--home               |--lib               |--mnt               |--opt               |--root               |--sbin               |--tmp               |--usr               |--var 3. use the cd etc  OR cd /etc  to change your default directory to the etc directory 4. use the...
When we open Command Prompt with elevated rights (as an Administrator), except if we use the...
When we open Command Prompt with elevated rights (as an Administrator), except if we use the File Explorer in a particular directory, we are normally at this directory. Group of answer choices C:\Windows\System32 C:\Users\Username\Desktop C:\Windows C:\Users\Username The following commands are some of the ways to view the username of the current users, except: SET ECHO whoami WHOAMI ECHO %username% We can find out the BIOS version, OS Name, System Type, and other system related information with this tool: Group of...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT