How do you refer to the arguments passed to a shell script?
Answer / chaitanya
, and so on. {xtypo_info}$1, $2 and so on. $0 is your script name.{/xtypo_info} is your script name.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you find out what’s your shell?
i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance
How do you list currently running process?
How does a case statement look in shell scripts?
How do you search for a string in a directory with the subdirectories recursed?
I am configuring my anaconda file in linux, i want to use as kickstart file, in post installation how can i edit file or change the content of file and save it.
How do you remove a file?
How do you do Boolean logic operators in shell scripting?
How do you write a for loop in shell?
How do you find out the number of arguments passed to the shell script?
How do you test for file properties in shell scripts?
How do you count words, lines and characters in a file?