Please wrap code lines in "code" tags (not "ICODE" tags)!
You can replace cat j| by the more efficient <j (not supported by C-shells).
You can replace grep -v "ar" j2|grep -v "bi" by the more efficient egrep -v "ar|bi" j2.
The
works for me.
Do you get an error?
Hi Friends,
Is it possible in Unix ?
The requirement is
=============
Create a unix shellscript that combines multiple excel files into one.
Note : it is possible for data files.but the requirement is for excel file (4 Replies)
Hi there,
I was wondering if someone can help me with this.
I am trying the combine multiple columns from multiple files into one file.
Example file 1:
c0t0d0 c0t2d0 # hostname vgname
c0t0d1 c0t2d1 # hostname vgname
c0t0d2 c0t2d2 # hostname vgname
c0t1d0 c0t3d0 # hostname vgname1... (5 Replies)
Below are the list of files I have
I want to consolidate the monthly log in the one file
Eg : all the july log to be moved to log_july_full.txt inside the script
Path : /home/user/data/log/
Jun 6 04:08 data_log-2010.05.30-10:04:08.txt
Jun 13 01:38 data_log-2010.06.06-10:04:08.txt... (3 Replies)
Hi Ppl,
I have a requirement like i will be getting files of huge size daily and if the file size is so huge ,the files will be split into many parts and sent.The first file will have the header details followed by detail records and the consecutive files will have detail records and the last... (11 Replies)
Hey everyone,
I am working in an environment where the different users can use ksh or csh. My situation is that I need the same result with one single command line.
I am searching for the real path the file is in.
My ksh input and output
ts2:ts2adm> cd $(dirname $(which sapcontrol)); pwd -P... (2 Replies)
I have the following sh-script:
konsole -T todo -e vi todo.txt &
konsole -T window1 -e ssh user@server &
konsole -T window2 -e ssh user@server2 -e cd directory &
The first two lines are working fine. The first opens a txt-file, the second opens a ssh-connection.
The third line... (6 Replies)
Hi All,
I am having a log file
ERROR 2016-12-08 10:22:23.542 some data
**** some data******
**** some data******
**** some data******
DEBUG 2016-12-08 10:23:23.542 some data
**** some data******
**** some data******
**** some data******
when i grep the log file with ERROR am getting... (3 Replies)