Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Shell Script Code Interview Questions
Questions Answers Views Company eMail

How do you do number comparison in shell scripts?

1 1473

How do you test for file properties in shell scripts?

1 1884

How do you do Boolean logic operators in shell scripting?

1 1627

How do you find out the number of arguments passed to the shell script?

1 1673

What’s a way to do multilevel if-else’s in shell scripting?

1 1607

How do you write a for loop in shell?

1 1456

How do you find out the current directory you’re in?

1 1422

What’s the command to find out users on the system?

1 1463

What’s the command to find out today’s date?

1 1436

How do you stop a process?

1 1498

How do you find out about all running processes?

1 1575

How do you stop all the processes, except the shell window?

1 1774

How do you define a function in a shell script?

1 1380

How do you read keyboard input in shell scripts?

1 1894

How does a case statement look in shell scripts?

1 1575


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.

1658


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

1120