Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the second sheet is the one that needs too be answered Suppose you were to type the following commands at the command line (from any
the second sheet is the one that needs too be answered
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 Name Name: Graded By Graded By Suppose you were to type the following commands at the command line (from any location in your directory): 1 mkdir expansions 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 3 >$ touch a(b,c,dje z{a,i)(p,t) 4 >$ unalias 1sh 5 >$ alias Ish= 'ls -a. 6 >$ alias 1h1= 'Ish -1. Comman112 Expansion !4:$ $files2 . "echo Result >:10:1:t History 9 echo"*[td]*> list 10 cp./testFiles/test. 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. You may work in pairs/groups on this but everyone must turn in their own worksheet on the due date. Command12 hl cat 2277 Expansion Result Alias lsh l cat ?22 s -a cat ?222 (Applies expansions within command Expansion sult Command BONUS POINT After the command in the third exercise, what is the result of running "more test Include your answer below: 1s-a -1 (Runs the command) 1s-a-1 Final Command Command 120 Stiles1 Expansion Result rm $files1 FINAL COMMAND Filename 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 Name Name: Graded By Graded By Suppose you were to type the following commands at the command line (from any location in your directory): 1 mkdir expansions 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 3 >$ touch a(b,c,dje z{a,i)(p,t) 4 >$ unalias 1sh 5 >$ alias Ish= 'ls -a. 6 >$ alias 1h1= 'Ish -1. Comman112 Expansion !4:$ $files2 . "echo Result >:10:1:t History 9 echo"*[td]*> list 10 cp./testFiles/test. 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. You may work in pairs/groups on this but everyone must turn in their own worksheet on the due date. Command12 hl cat 2277 Expansion Result Alias lsh l cat ?22 s -a cat ?222 (Applies expansions within command Expansion sult Command BONUS POINT After the command in the third exercise, what is the result of running "more test Include your answer below: 1s-a -1 (Runs the command) 1s-a-1 Final Command Command 120 Stiles1 Expansion Result rm $files1 FINAL COMMAND FilenameStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started