Search Results

Search: Posts Made By: sendhil
27,434
Posted By sendhil
Regarding sorting files
hi,

In ls -l | sort -n -k5,5 what is -k5,5. I have to list all the files in the directory in ascending or descending order depending on their size.

Thanx in advance
27,434
Posted By sendhil
Sorting files
Hi,

What is the command for sorting files according to their size

Thanx in advance
8,143
Posted By sendhil
Sql with shell scripting
Hi,

I want to extract data from database table to a flat file using shell scripting. For loading data from file to a table, I had used SQL Loader. How can I do the vice versa using shell...
5,645
Posted By sendhil
Single Instance
Hi,

I have a script. I want only one instance of the script to be running at any point of the time. How can I do it.
what would be the exact format of the ps command for doing this. For example...
1,924
Posted By sendhil
Shell scripting
Hi,

I have a C structure like this
{
Name;
Roll No;
Age;
}

I have to write a shell script to populate this structure.For that matter How can populate a C structure with a shell...
84,889
Posted By sendhil
Output
Hi,
The format of the output should be:
1
2
3

Mani
San
Tom

23
24
25
84,889
Posted By sendhil
Regarding AWK
Hi,

Since my file that has got input values in the format "1,Mani,23" and I dont know how many such inputs are going to be there.I wrote the following script to print How many however values were...
84,889
Posted By sendhil
Use of "CUT" command.
Hi,

I have 3 fields in a file. For example I have them like this:
1,Santosh, 24

I want to have these 3 values in 3 different variables. How can I do it.

Thanks in advance
5,256
Posted By sendhil
SQL in shell script
Hi,

I am able to insert the values into a database table from a flat file using SQL loader. Now can I do the same using only shell script.Can this be done without using sql loader and only with...
2,636
Posted By sendhil
I have my values in a file called 'val'. when I...
I have my values in a file called 'val'. when I followed the same procedure It tells me that "unable to open val.dat : No such file or directory." I'm trying to do this from the same directory where...
2,636
Posted By sendhil
Shell script and sql
Hi,

I have an issue. There is a file that has got some values seperated by commas. I have to write a shell script that would extrct these values and insert them into a table. How can this be done...
3,242
Posted By sendhil
Thanks a lot
Thanks a lot
3,242
Posted By sendhil
Inputs from a file
Hi,
I have a shell script that has to taken inputs from a file say "Inputs". Now I take 2 inputs at a time. Suppose the Inputs file contains numbers like
2
3
4
5
Now I have a written a script...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 09:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy