Ques:- What command should you type to see all the files with an extension of 'mem' listed in reverse alphabetical order in the /home/ben/memos directory.
Ques:- You have three files in the /home/ben/memos directory called letters, tom, betty. How could you determine each file's type by issuing only one command?
Ques:- Which of the following commands will show a list of the files in your home directory including hidden files and the contents of all subdirectories?Choose one:a. ls -c homeb. ls -aR /home/usernamec. ls -aF /home/usernamed. ls -l /home/username
Ques:- What does the apropos command do?Choose one:a. It is the same as the man -f command.b. It is the same as the man -K command.c. It searches the short descriptions from the man pages.d. It uses the locatedb database to answer your query.
Ques:- Which of the following would improve your ability to provide user support?Choose one:a. Create a directory containing instructions for using all installed applications.b. Email your user's your office hours.c. Whenever a user has a problem, fix it and leave.d. Use as much technical language as possible when explaining what went wrong.
Ques:- You have created special configuration files that you want copied to each user's home directories when creating new user accounts. You copy the files to /etc/skel. Which of the following commands will make this happen?Choose one:a. useradd -m usernameb. useradd -mk usernamec. useradd -k usernamed. useradd -Dk username
Ques:- You issue the following command useradd -m bobm But the user cannot logon. What is the problem?Choose one:a. You need to assign a password to bobm's account using the passwd command.b. You need to create bobm's home directory and set the appropriate permissions.c. You need to edit the /etc/passwd file and assign a shell for bobm's account.d. The username must be at least five characters long.
Ques:- You attempt to use shadow passwords but are unsuccessful. What characteristic of the /etc/passwd file may cause this?Choose one:a. The login command is missing.b. The username is too long.c. The password field is blank.d. The password field is prefaced by an asterick.
Ques:- Which of the following tasks is not necessary when creating a new user by editing the /etc/passwd file?Choose one:a. Create a link from the user's home directory to the shell the user will use.b. Create the user's home directoryc. Use the passwd command to assign a password to the account.d. Add the user to the specified group.
Right Answer: To install Windows XP after Solaris for dual booting, follow these steps:
1. **Backup Data**: Ensure all important data is backed up.
2. **Partition the Disk**: Use a partitioning tool (like GParted) to create a new partition for Windows XP. Make sure to leave enough space for Windows.
3. **Install Windows XP**: Boot from the Windows XP installation CD and install it on the newly created partition. Follow the installation prompts.
4. **Repair the Bootloader**: After Windows installation, it will overwrite the bootloader. To restore access to Solaris, boot from a Solaris installation CD or live CD and use the following command to reinstall the GRUB bootloader:
```
installgrub /usr/platform/`uname -i`/lib/grub/grub.conf
```
5. **Update GRUB Configuration**: Ensure that the GRUB configuration file includes entries for both Solaris and Windows XP.
6. **Reboot**
Ques:- What command must you run to update the database used by the whatis command?Choose one:a. makewhatisb. updatedbc. make whatisdbd. The database is updated automatically.
Right Answer: An XIR (External Interrupt Request) signal would cause a server to stop its current operations and handle an interrupt, allowing it to respond to urgent tasks or events. It is used for managing hardware interrupts and ensuring timely processing of critical events.