Mod2, Milestone 2

What exactly does this mean, can someone give an example?

2) Start the expression to populate the variable with “cat $1” which is the command line filename input. Check the Usage above.

Hi @irfan
Looks like you are facing challenges in the current module.

Below is a link to all the FAQ’s for the current module

Below are a few similar topics raised by other users which you might find usefull

Note - This is a BETA Feature,if you find this helpful, kindly let us know.
Feedback link - https://forms.gle/cmxN5pdTXgnwgC986

Kindly mark this as a solution if this has helped you solve your query

Hi @irfan

Let assume you excuted

./cpu_usuage.sh File_A File_B

Then inside script

$1 refers to File_A
$2 refers to File_B

So cat $1 inside a script is cat File_A

cat is the command to output file on standard output (terminal)

Thank you @ved-prakash-CrioTA

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.

Re-opening this topic as the previously accepted solution was just Un-marked.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.