The current working directory is /var/spool/Tom/lp. What does the command "cd ~" do?
A. Returns the user to the root directory.
B. Returns the user to their home directory.
C. Keeps the user in their current directory.
D. Returns the user to the parent directory of "lp".
Answer: B
Learn More :
CompTIA
- What command in vi quits without saving changes?
- A technician discovers that the route command is being used incorrectly. Which of the following resources is the quickest means of finding examples of correct usage?
- Which of the following commands is used to determine if network interfaces are up and running?
- An administrator needs to maintain a log of work performed on a Linux server. Which of following written records is the most important to maintain?
- Which of the following IDs should be avoided when assigning IDs to SCSI peripherals?
- Which of the following devices are hot-swappable?
- Which of the following commands will set the current system time to 3:00 PM, February 3, 2002?
- The following is an example of a ".forward" file found in user Audrey's home directory. /audrey,audrey@comptia.org Which of the following best describes what the mail handler will do when user "audrey" receives mail?
- What should be terminated on a SCSI bus with one internal hard drive and one external CDROM?
- A new video card is added to a Linux workstation. Which of the following files is used to configure X?
- Which of the following can a parity error indicate?
- The current BIOS version on two workstations does not support the processor that will be installed, but the same motherboard with new BIOS versions does. Which of the following is the best way to resolve the problem?
- An Internet Web server is being installed. No DHCP server is available. What is the proper method to obtain a valid Internet IP address?
- What command, when issued from a non-root user, will remove all files from the /tmp directory by prompting the user for the root password?
- What AT command is used to reset a modem?
- A user wants to set up his parallel port printer on the workstation's first parallel port. What device identifier needs to be used during configuration?
- After setting up a cron job to backup a system to tape, the first few backups on the tape cartridge are successful. They then fail, reporting the "device is full." What could be the cause of the problem?
- A customer wants to backup her entire Website into a file. Which of the following commands would best accomplish this?
- What Linux service is responsible for exporting and importing directories with another system on a network?
- Which of the following is LEAST affected by electromagnetic interferance (EMI)?
- tar automatically compresses and decompresses using which of the following options?
- Which of the following commands will list all rpm packages installed on the system?
- Users on a machine need to run the command run_file that requires superuser permissions in order to write to other files. Which of the following will allow that to happen?
- What is the quickest way to create a file that lists all the groups to which the user 'bob' belongs?
- Where are log files normally found?
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.