Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

basically its asking if these were entered in a terminal what would the input and or results be Suppose you were to type the following

image text in transcribedbasically its asking if these were entered in a terminal what would the input and or results be

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 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

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

Students also viewed these Databases questions

Question

List behaviors to improve effective leadership in meetings

Answered: 1 week ago