10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi All,
I want to split the file after size gets above 100kb.
So I am using below command.
split -b 100kb File.txt Test
But after first file, my record is breaking as in middle of the record, size of file is getting above 100kb. So after splitting half record is in one file and half... (1 Reply)
Discussion started by: Amey Dixit
1 Replies
2. Emergency UNIX and Linux Support
#!/bin/sh
INPUT () {
echo "Please enter line number: "
read LINE
echo "Please enter column number that you want to modify: "
read COLUMN
head -$LINE dataf > line1;
LINE=`expr $LINE + 1`
head -$LINE dataf > line2;
diff line1 line2 > tmp;
sed -e... (18 Replies)
Discussion started by: beginner1988
18 Replies
3. UNIX for Advanced & Expert Users
Hi All,
I need a script that invokes the sql query every 14 days and send email
Very Very urgent this one to me.... (6 Replies)
Discussion started by: bujjisveeru
6 Replies
4. Shell Programming and Scripting
Hi all,
Actually i want to delete the .ps extension from package1.ps string by using sed.
Can any body tell me that how shell i do it?????????
It is very urgent. Can anybody help me. I am trying to do this in the following way.
ps_file="package1.ps"
echo $ps_file
sed s/.ps//g $ps_file... (9 Replies)
Discussion started by: sunitachoudhury
9 Replies
5. HP-UX
Hi,
I'm new to unix and i'm using HP Unix
I tried the following and getting error like
1. $sam
sh:sam not found
2.Also i want to monitor/trace other user's command what they are using when am in to the same server
Appreciate if any one help on this (4 Replies)
Discussion started by: msgobinathan
4 Replies
6. HP-UX
Hi,
I have a tape fbackup done (fbackup -f /dev/rmt/0m -i / -I index.fullfbackup) and I need to restore 3 filesystems, I would like to know the correct command and options:
example:
I want to restore the filesystem /data1 under /data1
and /data2 under another filesystem /datatest
I tried... (4 Replies)
Discussion started by: touny
4 Replies
7. Shell Programming and Scripting
hi experts,
i'm new in scripting unix i have some problem with my script below is shown my script :
#!/bin/sh
BASEDIR=/export/home/mapadm
BINDIR=$BASEDIR/bin
LOGDIR=$BASEDIR/log
TDRDIR=$LOGDIR/TDR
BACKUPDIR=/data/log
export BASEDIR BINDIR LOGDIR TDRDIR BACKUPDIR
YEAR=`date '+%Y'`... (21 Replies)
Discussion started by: bucci
21 Replies
8. Shell Programming and Scripting
I am getting data like this in a flat file
seg No
Test A4 0000002595, A2, test ,Datatest
Test, A1 0000002595, A1,SELF , Employed,1,2,3,400.50
Test, A2 0000002595, A2, test ,Data,eurp
Test, A3 0000002595, A2, test ,Data
I need to produce a flat file so that output file... (0 Replies)
Discussion started by: nikeng
0 Replies
9. UNIX for Dummies Questions & Answers
hi all. thanks for looking
i am doing some homework.
one question is that when type
wc
and then how to tell the program that we have finished entering data?
also
why do some operating systems report 22 as the number of bytes in the file above, while others only 20?
thanks so much,... (1 Reply)
Discussion started by: dashi2k
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
could anybody name all the different UNIX versions, producer, historie, etc?
need a short briefing...
THX a lot in advance...
Greetings,
PatrickXXO (2 Replies)
Discussion started by: PatrickXXO
2 Replies