How to rename all the files in a folder having specific extension? Example: I have some files with extension (.txt) in a folder name 'Test'. I have to rename all the .txt files in a test and its subdirectories to .my extension.
15 24033What is the command for " how many shell is running in your system or how many shell supported by your system " ?.
3 6364The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on
2 5538A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is also a lookup file,LOOK_UP.dat.Now, we need to consider only the last ten digits of field1 and lookup the file LOOK_UP.dat. If there a match then field2 and field3 should replaced with corresponding data from the lookup file. otherwise that particular record,for which there is no match, should be stored in a seperate file.
2 4864There are three departments A,B and C.Write a query to display the names of all the persons( in departments other than A) who are paid higher than the person receiving the lowest salary in DEPT A
1 4429There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.
1 5756how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example
4 24814what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly
4 16572write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?
6 17788Post New Shell Script Questions
shell script for reverse the string
What does $0 mean in shell script?
What does sh mean?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
Which shell is the best?
Can you write a script to portray how set –x works?
Why do we use shell scripting?
is this growing field and what is average package in this?
What does the sh command do?
How do you debug a script?
What is the use of .sh file?
What lives in a shell?
Explain about "s" permission bit in a file?
How are shells born?