comments in linux 1

comments in linux

###run ls command to get all the files available  in the current dir

Here is what the above code is Doing:
1. We are creating a variable called “cmd” and assigning it the value of the command we want to run.
2. We are creating a variable called “output” and assigning it the value of the output of the command we want to run.
3. We are printing the output of the command.

Similar Posts