LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
5th Edition
ISBN: 9781337569798
Author: ECKERT
Publisher: CENGAGE L
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
error_outline
This textbook solution is under construction.
Students have asked these similar questions
When adding several user accounts, you might want to use the newusers utility, whichcan process a text file full of entries to add user accounts. Use the man or info page tofind out how to use this utility, and use it to add three users. When finished, view the/etc/passwd, /etc/shadow, and /etc/group files to verify that the users were addedsuccessfully.
Below is a list of different access right settings. We want to implement shared update of certain files between Bob and Alice, but with no one else. Which of the following settings achieve this? Select all that apply.
A. Assign Bob ownership to Alice's files, and Alice ownership to Bob's files.
B. Put Bob and Alice is a user group, and give the group RWX access to the shared files.
C. Use Windows basic file sharing and make Bob and Alice co-owners of the files.
D. Set world access of the shared files to RWX.
How is it possible to have two files in your account with the same filename?
Take it for granted that your home directory serves as your current directory. When a file called Florence is moved to a directory titled Proposals, which is a subfolder of the home directory, what command is used to do this?
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Learn the syntax of the tar command using the man command and the link referred to in To Practice and Explore: Text File Utilities #9. Use tar"to stuff" three files and then "unstuff" them into a new directory. Include the -v option. Turn in the following commands (with no errors) and any output from the commands.1) ll to show the original 3 files2) run the tar command to stuff three files3) ll to show the 'tar archive'4) mkdir newdir to create a new directory to unstuff the 'tar archive'5) mv the 'tar archive' to the new directory newdir6) from newdir, run the tar command to unstuff the three files into the newdir directory7) ll the new directory newdir to show the extracted filesarrow_forwardYou need to send a backup copy of the /etc directory across the network. To create the file, use the tar command with the -cf switches to create a new archive file. Use -z as the preceding option to compress the file. In this lab, your task is to: Create a compressed archive of the /sales directory and all its contents Name the file /salesbkp.tar.gz and save it in the root directory (/).arrow_forwardIn Linux code: Write one cmd-line for each of the following using chmod.a. to set the permissions of the directory $HOME/ctmp to read only for user, read and write for group and no perms for other. Do not use permission numbers. Assume that ctmp exists in your home directory, or you can create the dir to help test your answer.b. to change permissions of $HOME/project from 755 to 441.arrow_forward
- It copies only files that have been modified since the date specified in the command's arguments. Why is it so powerful?arrow_forwardj) Find the number of lines in the password file, on the server. /etc/passwd k) Create a directory called PROJECT1 and copy all the hidden files from your home directory into the PROJECT1 directory. IMPORTANT: Do NOT use the -r switch on the cp command when copying the hidden files. It is NOT required and will cause other directory structures to be copied and then they can not be removed! l) Show the directory listing for the PROJECT1 directory in reverse alphabetical order. m) Remove the PROJECT1 directory and all files in that directory. n) Print the calendar for June 2000 and November 2005. You must show the calendar entries side-by-side.arrow_forwardWrite the command taht will locate all files that have the suffix/extension of ".py". For each file that is located, the command should append the suffix/extension of ".backup" to the file. So, if a file had the name "one.py", its new name would be"one.py.backup".arrow_forward
- Following the execution of the command umask 731, the permissions of all newly created files and folders will be altered.What will the permissions be on all new files in this case? a. rw-rw-rw b.rwxrw-r--c. -- -r--rw d.-- --wx--xarrow_forwardWrite the command that can be used to perform the following: Back up the contents of the /var directory (which contains symbolically linked files) to the second nonrewinding SCSI tape device on the system using the tar utility. Append the file /etc/inittab to the archive created in Exercise 2a. Create a tarball called /stuff.tar.gz that contains all files in the /root/stuff directory. Use the cpio utility to back up all files in the /var directory (which contains symbolically linked files) to the first rewinding IDE tape device that has a block size of 5KB. Perform a full filesystem backup of the /var filesystem using the dump utility and record the event in the /etc/dumpdates file. Create an image of the /dev/sdb4 filesystem to the /sdb4.img file. View the contents of the archives created in Exercises 2a, 2c, 2d, and 2e. Extract the contents of the archives created in Exercises 2a and 2c to the /root directory. Extract the contents of the archives created in…arrow_forwardWrite ONE code that does all three things; count the number of files in each of your sub-directories using the for loop, read two numbers and display all the odd numbers between those two numbers, search for no password entries in /etc/passwd and lock all accounts.arrow_forward
- After typing the ls –F command, you see the following line in the output: -rw-r-xr- - 1 user1 root 0 Apr 29 15:40 file1What does this mean?* a. User1 has read and write, members of the root group have read and execute, and all others have read permissions to the file. b. Members of the root group have read and write, user1 has read and execute, and all others have read permissions to the file. c. All users have read and write, members of the root group have read and execute, and user1 has read permissions to the file. d. User1 has read and write, all others have read and execute, and members of the root group have read permissions to the file.arrow_forwardAfter typing the ls –F command, you see the following line in the output:-rw-r-xr- - 1 user1 root 0 Apr 29 15:40 file1What does this mean?a. User1 has read and write, members of the root group have read and execute, and allothers have read permissions to the file.b. Members of the root group have read and write, user1 has read and execute, and allothers have read permissions to the file.c. All users have read and write, members of the root group have read and execute,and user1 has read permissions to the file.d. User1 has read and write, all others have read and execute, and members of theroot group have read permissions to the file.arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.Computer ScienceISBN:9781337569798Author:ECKERTPublisher:CENGAGE L
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:9781337569798
Author:ECKERT
Publisher:CENGAGE L
Linux - Tutorial for Beginners in 13 MINUTES! [ UPDATED ]; Author: bai;https://www.youtube.com/watch?v=BMGixkvJ-6w;License: Standard YouTube License, CC-BY
What is Linux?; Author: Techquickie;https://www.youtube.com/watch?v=zA3vmx0GaO8;License: Standard YouTube License, CC-BY
Introduction to Linux and Basic Linux Commands for Beginners; Author: sakitech;https://www.youtube.com/watch?v=IVquJh3DXUA;License: Standard Youtube License