Create a soft link in progs called mylink

Assignment Help Computer Engineering
Reference no: EM131984979

Linuxzoo Wildcard Questions

Question 1: Update demo account

If you have just completed all the previous questions you need not use this setup button. However, if you have skipped part or all of the previous questions, or when you ran your virtual machine the demo account was missing, then the button below will create the demo account and create the files which the previous questions would have had you create.

By pressing the button below a new account is created called "demo", password is also "demo". Log in using this account and you cannot do any damage. If you mess the account up and want to start again, just press the button again.

Once created, you can log into this account using telnet or ssh, logging into the hostname linuxzoo.net. Remember the username is demo and the password is demo. And remember, you cannot break anything using this account! The account begins with an empty directory, so dont be shocked that "ls" shows nothing...

Question 2: Wild copy

In the demo account, cd to the home directory (/home/demo). From there copy all files using the * wildcard that contain the word file in the filename into the work directory. Confirm this using ls.

Question 3: Duplicate thismonth

Copy the file thismonth to the letters directory and rename it let1.doc. Change the current working directory to the letters directory and copy let1.doc to let2.doc. Copy once more let1.doc to let3.doc. Confirm this yourself using the ls command.

Question 4: Copy and rename

Copy using the ? wildcard the three files let1.doc, let2.doc, and let3.doc from the letters directory to the work/misc directory. Once copied, rename the new files (the ones in the misc directory) into rpt1.doc, rpt2.doc, and rpt3.doc. When renaming, you have to do this explicitly and not try to use a wildcard. It would appear at first that a wildcard could make the renaming easier, but it turns out to be ridiculously hard to use a wildcard in this case.

Question 5: Square Brackets

Using square brackets, move all the files from the misc directory that contain the numbers 2 or 3 into the scripts directory.

Question 6: rm

Remove all files beginning with the letter "r" from the scripts directory. Use the -i option to see what you are about to delete before then agreeing to delete the files involved.

Question 7: Hard link

Create a hard link in progs called biglink, which is a hard link to the bigfile file in your home directory.

In "ls -l bigfile" the hard link count should be 2. If you make mistakes and create links with the wrong name or in the wrong place you will be marked wrong until you fix the problem.

Question 8: Soft link

Create a soft link in progs called mylink, which is a relative soft link to the thismonth file in your home directory.

Question 9: Soft link - absolute

Create a soft link in progs called mylink2, which is a absolute soft link to the thismonth file in your home directory.

Reference no: EM131984979

Questions Cloud

Find all the files and directories in the demo directory : Find all the files and directories in the demo directory that are newer than s1. Send the output of the command to /var/tmp/t1 (dont send it to demo directory).
Calculate and rank the country portfolios by sharpe measure : Calculate and rank the country portfolios by Treynor Measure . Calculate and rank the country portfolios by Sharpe Measure.
How many months will it be before he pays off the card : If Simon makes the minimum monthly payment and makes no other charges, how many months will it be before he pays off the card?
Identify incorrectly placed dependent clauses : Identify Incorrectly Placed Dependent Clauses. If a dependent clause is placed correctly next to the word it modifies, write Correct on the line.
Create a soft link in progs called mylink : Create a soft link in progs called mylink, which is a relative soft link to the thismonth file in your home directory.
How you would find that bring it back to foreground again : Explain how you would find that process and bring it back to the foreground again. If you have an out-of-control process running in the background.
Compute the eps for each plan : Plan II would result in 12,000 shares of stock and $280,000 in debt. The interest rate on the debt is 11 percent.
Determine the new number of shares outstanding in parts : Simmons Mineral Operations, Inc., (SMO) currently has 435,000 shares of stock outstanding that sell for $60 per share.
The pied piper of hamelin-a child story : What happens in this story? Is it weird or any more weird than other, children's literature?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd