Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you were to type the following commands at the command line (from any location in your directory) 1 >mkdir expansions 3 >$ touch a{b,c,d)e

image text in transcribedimage text in transcribed

Suppose you were to type the following commands at the command line (from any location in your directory) 1 >mkdir expansions 3 >$ touch a{b,c,d)e z{a,)(p,t) 4 unalias lsh 5 > alias lsh 'ls-a 6 > alias lhl-'lsh-l' 9 >echo "*[td]*> list 10 cp ../testFiles/test 11 >$ rm *e* What follows are three commands. For each one, you may assume they were entered as command # 12, A partial list of expansions has been provided for the first 2 problems. Your job is to fill in the missing expansion types and results of applying the expansions. Sometimes you will have to fill one or the other sometimes you'll have to fill in both. For problem 3 you will have to fill in every step lhl cat ? Result lsh -l cat ???? ls -a - cat ???? (Applies expansions within command) Expansion Command 12: Expansion Alias Command Result ls -a -1 (Runs the command) ls -a -1 Final Command !1 :0 sfiles1 Result Command 12: Expansion rm $filesl FINAL COMMAND: Filename ETm You should list each expansion step as shown in the previous examples. You "may not. need every line that has been provided (but you might). PLEASE INDICATE YOUR FINAL COMMAND Command 12:!4:$ 'echo $files2 >!10:1:t Expansion Result History BONUS POINT. After the command in the third exercise, what is the result of running more test? Include your answer below: Suppose you were to type the following commands at the command line (from any location in your directory) 1 >mkdir expansions 3 >$ touch a{b,c,d)e z{a,)(p,t) 4 unalias lsh 5 > alias lsh 'ls-a 6 > alias lhl-'lsh-l' 9 >echo "*[td]*> list 10 cp ../testFiles/test 11 >$ rm *e* What follows are three commands. For each one, you may assume they were entered as command # 12, A partial list of expansions has been provided for the first 2 problems. Your job is to fill in the missing expansion types and results of applying the expansions. Sometimes you will have to fill one or the other sometimes you'll have to fill in both. For problem 3 you will have to fill in every step lhl cat ? Result lsh -l cat ???? ls -a - cat ???? (Applies expansions within command) Expansion Command 12: Expansion Alias Command Result ls -a -1 (Runs the command) ls -a -1 Final Command !1 :0 sfiles1 Result Command 12: Expansion rm $filesl FINAL COMMAND: Filename ETm You should list each expansion step as shown in the previous examples. You "may not. need every line that has been provided (but you might). PLEASE INDICATE YOUR FINAL COMMAND Command 12:!4:$ 'echo $files2 >!10:1:t Expansion Result History BONUS POINT. After the command in the third exercise, what is the result of running more test? Include your answer below

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

erch Question 4 of 7 Answered: 1 week ago

Answered: 1 week ago

Question

4. Are there any disadvantages?

Answered: 1 week ago

Question

3. What are the main benefits of using more information technology?

Answered: 1 week ago

Question

start to review and develop your employability skills

Answered: 1 week ago