If you have a string "one two three", which shell command
would you use to extract the strings?

Answer Posted / rachana

Cut command

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I edit a .sh file?

720


Which shell is the best?

650


What is the way to do multilevel if-else's in shell scripting?

774


Is shell scripting easy to learn?

650


Explain about return code?

708






How do we create command aliases in a shell?

621


What is shell and shell script?

647


What can scripts do?

733


What is a batch file used for?

649


write a shell script to emulate the Id command of PRIMOS which lists files and directories. It list files first with a header FILES and then directories with a header DIRECTORIES. This command has several options. The main ones are. -file select files only -dir select directories only -reverse sort in reverse order -no_header put no header on the output -brief output the header only -size display the size of each file -help display Id´s syntax and options.

2316


How do scripts work?

692


How will you connect to a database server from linux?

628


What is a shell script in windows?

656


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

4798


How does shell scripting work?

711