10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi all,
I am trying to paste thousands of files together into a matrix. Each file has only 1 column and all the files have the same number of rows (~27k rows). I tried
paste * > output as well as some other for loops
but the output only contains the columns from the 1st and last files. The... (8 Replies)
Discussion started by: notimenocall
8 Replies
2. Shell Programming and Scripting
Hi everyone.
I have a list of files like:
file001
file002
file003
.
.
.
.
file385
file386
file387
There are more files than above, but I hope you understand what I'm trying to do here.
Is there a way I can create a loop to compare:
file001 with file385
file002 with file386 (9 Replies)
Discussion started by: craigsky
9 Replies
3. Shell Programming and Scripting
Hi,
The below commands will be inside a KSH script and SOLARIS machine.
Command-1 //Executes in 10s,5s,..5mins,etc
TIMER = Look for Command-1 execution status - IF finished in 25secs move to next command in the script IF NOT kill above command and move to next command.
Command-2
Any... (9 Replies)
Discussion started by: penqueen
9 Replies
4. Shell Programming and Scripting
Following is the requirement
In FileA I have the content as follows.
1,2,3
111,222,333
1000,2000,3000
In FileB I have the content as follows.
4,5,6
444,555,666
4000,5000,6000
I need to read FileA and FileB parallely and create the FileC as follows.
1,2,3,4,5,6... (1 Reply)
Discussion started by: kmanivan82
1 Replies
5. Programming
Hey Guys ,
iam trying to match to string in TCL scripts but it not working .
Its only working true condition to print yes.. When condtion fail then even it prints YES
Any suggestion this ??
if {} {
puts"yes" ... (3 Replies)
Discussion started by: hackerdilli
3 Replies
6. Linux
Hi
Code:
nohup sar -u 10 $COUNT | awk 'NR>2 {$2=$4=$7="";}1' | tr -s ' ' '\t' 2>/dev/null >sar.out &
i have execute above line from shell script .. but sar.out is created with ZERO bite size..
Help on that what is the problem here (1 Reply)
Discussion started by: Mani_apr08
1 Replies
7. Shell Programming and Scripting
Dear Friends,
I need to transfer few files from a Windows 2000 server to Sun Solaris system, connected in the same network. This copy should be done as a batch job without asking for password to be entered every time. How to make this possible ???
At present I am using cygwin in my laptop... (4 Replies)
Discussion started by: ks_reddy
4 Replies
8. UNIX for Dummies Questions & Answers
Is there any out of box Command in Unix
or is it possible through shell scripting to
copy all the files in a directory in Parallel.
Example. I am doing a COLD database backup. I have the data/dbx directory which has around 1000 data files.
I was thinking is there a way to spawn the copy... (10 Replies)
Discussion started by: simonsimon
10 Replies
9. UNIX for Advanced & Expert Users
Hi experts,
It would be grateful if you can guide me on the following,
1.How to find the time of excution of a particular unix command.
2. How to find the terminal (IP Address) from where that particular unix command was excuted.
3. How to find the user who executed that particular unix... (1 Reply)
Discussion started by: apsprabhu
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a commands in a file called commands.file, I am using this file with the following commnad
xterm -e "commands.file"
After executing this file in the new xterm, it is closing automatically.
I want to use that xterm after that.
Please help me regarding this?
:)
... (4 Replies)
Discussion started by: chaitubek
4 Replies