CompTIA Linux+ Guide to Linux Certification (4th Edition)(Please do not do it in a mac and add pictures of the machine.)
Project 2-4 In this hands-on project, you use and protect shell metacharacters.
1. Switch to a command-line terminal (tty2) by pressing CtrlþAltþF2 and log in to the terminal using the user name of root and the password of LNXrocks!.
2. At the command prompt, type date;who and press Enter to run the date command immediately followed by the who command. Use the information in Table 2-7 to describe the purpose of the ; metacharacter.
3. At the command prompt, type echo This is OK and press Enter to display a message on the terminal screen.
4. At the command prompt, type echo Don’t do this and press Enter. Which character needs to be protected in the previous command? Press the Ctrl and c keys together to cancel your command and return to a BASH shell prompt.
5. At the command prompt, type echo “Don’t do this” and press Enter. What is displayed on the terminal screen?
6. At the command prompt, type echo Don\’t do this and press Enter. What is displayed on the terminal screen?
7. At the command prompt, type echo $SHELL and press Enter to view the expansion of a variable using a shell metacharacter. What is displayed on the terminal screen? Next, type echo $TEST and press Enter to find out what happens when a variable that does not exist is used in a command. What is displayed?
8. At the command prompt, type echo You have $4.50 and press Enter. What is displayed? Why? Which character needs to be protected in the previous command? What are two different ways that you can protect this character from interpretation by the shell?
9. At the command prompt, type echo ‘You have $4.50’ and press Enter. What is displayed on the terminal screen? Did the single quotation marks protect this metacharacter from shell interpretation?
10. At the command prompt, type echo “You have $4.50” and press Enter. What is displayed on the terminal screen? Did the double quotation marks protect this metacharacter from shell interpretation?
11. At the command prompt, type echo You have \$4.50 and press Enter. What is displayed on the terminal screen? Did the backslash protect this metacharacter from shell interpretation?
12. At the command prompt, type echo My name is ‘whoami‘ and press Enter. What function do back quotes perform?
13. Type exit and press Enter to log out of your shell.
In: Computer Science
What is the difference between optimizing a press release for search versus optimizing a press release for social media?
In: Operations Management
An 11-year-old boy presents to the emergency room (ER) with a 4-inch laceration on his right arm. He was with his friends doing bicycle stunts when he fell off his bike and cut his arm on a rusty nail from the ramp. In addition, his wrist is swollen, bruised, tender to touch, and warm, with limited mobility. He will most likely need stitches to close the laceration and a splint for the sprain. a. After treatment, as he prepares to leave, you give him last-minute care instructions for laceration and sprain. What would be important for this boy to know to prevent further health concerns with his injuries? b. The boy concernedly asks you, “My uncle lost his foot because he got gangrene in it. Am I going to lose my arm if I get an infection in this cut?” How would you respond? c. How would you respond if this was an elderly man rather than an 11 year old boy? need answer in 300-500 words.
In: Nursing
Company A purchases a stamping press on July 1, 2020. The press cost $53,000 and management estimates its salvage value and useful life to be $3,000 and 5 years, respectively. TC recognizes depreciation on a straight-line basis and sells the equipment on January 1, 2023 for $11,000. Instructions Compute the following amounts:
1. Total depreciation expense - 2020 $
2. Total depreciation expense - 2021 $
3. Accumulated depreciation - 12/31/2022 $
4. Net book value of the stamping press - 12/31/2022 $
5. Gain (loss) on sale - 1/1/2023 $
6. Gain (loss) on sale assuming a sales price of $0 $
In: Accounting
Orgler Label Company is thinking about replacing an existing press. The existing press was purchased 6 years ago for $155,000 with a salvage value of $8,000. It will last for four more years and it is expected to be worthless at that time. It can be sold today for $50,000.
A new high-speed press can be purchased for $195,000 with an expected salvage value of $30,000 at the end of its four-year life.
Orgler current revenue is $2,000,000 and is expected grow 6% per annum. The new machine would have increased current revenue to $2,200,000. Firm revenue will continue to grow by 6% per annum if they acquire the new machine. Orgler average collection period is 55 days and pays it bills after 25 days. Orgler has a gross profit margin of 28%. The new press will increase labor costs by $9,000 per year. Orgler uses 9% for its cost of capital and has an ordinary income tax rate of 30%. The project will be 50% financed with a 7% 3-year loan. The firm uses straight line depreciation. Calculate the project’s NPV.
In: Finance
CompTIA Linux+ Guide to Linux Certification (4th Edition)(Please do not do it on mac and please add photos of the virtual machine.)
Project 4-11 In this hands-on project, you configure and research filesystem attributes.
1. Switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the terminal using the user name of root and the password of LNXrocks!.
2. At the command prompt, type touch toughfile and press Enter. Next, type lsattr toughfile at the command prompt and press Enter. What filesystem attributes are set on toughfile by default?
3. At the command prompt, type chattr +i toughfile and press Enter. Next, type lsattr toughfile at the command prompt and press Enter. Is the immutable attribute set on toughfile?
4. At the command prompt, type vi toughfile and press Enter. Does the vi editor warn you that the file is read-only? Add a line of text of your choice in the vi editor and attempt to save your changes using w! at the : prompt. Were you successful? Quit the vi editor using q! at the : prompt.
5. At the command prompt, type rm –f file1 and press Enter. Were you successful? Why?
6. At the command prompt, type chattr –i file1 and press Enter. Next, type rm –f file1 and press Enter. Were you successful this time? Why?
7. At the command prompt, type man chattr and press Enter. Search the manual page for other filesystem attributes. Which attribute tells the Linux kernel to automatically compress/decompress the file as it is written and read from the filesystem? Which attribute causes the data blocks of a file to be immediately overwritten once the file has been deleted? Type q and press Enter to quit out of the manual page when finished.
8. Type exit and press Enter to log out of your shell.
In: Computer Science
Derive the aggregate demand curve using both the expenditure function and the MP curve (show these graphic derivations separately). These two derivations give slightly different representations of the AD curve. Explain the difference.
In: Economics
Explain the advantages and disadvantages of the following four methods when calculating the harmonic response.
1. method of undetermined coefficients
2. a graphic method
3. complex number method
4. Laplace transformation
In: Mechanical Engineering
Choose a possible environmental hazard in your area or in the community you choose for your project. Research the hazard, make a graphic of the issue with possible effects and to whom. Make sure to cite your sources.
In: Nursing
In: Economics