Shell Script Code Interview Questions
Questions Answers Views Company eMail

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.

1922

What are PIDs?

1 2111

How do you write a while loop in shell?

1 1807

How do you remove a file?

1 1900

How do you remove recursively?

1 2017

How do you find out your own username?

1 1948

How do you count words, lines and characters in a file?

1 1907

How do you search for a string inside a given file?

1 1895

How do you search for a string inside a directory?

1 1874

How do you search for a string in a directory with the subdirectories recursed?

1 1771

How do you list currently running process?

1 1877

How do you find out what’s your shell?

1 2085

How do you fire a process in the background?

1 1808

How do you refer to the arguments passed to a shell script?

1 1814

What’s the conditional statement in shell scripting?

1 2272


Post New Shell Script Code Questions

Un-Answered Questions { Shell Script Code }

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.

1922


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

1397