10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I want to know the working of & here step by step using sed command. (1 Reply)
Discussion started by: Preeti07
1 Replies
2. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
3. Shell Programming and Scripting
This is the script:
#!/bin/sh
if ; then rm -rf /usr/share/WallpaperChanger; fi
if ; then rm -rf /usr/bin/wallch; fi;
if ; then rm -rf /usr/share/applications/wallch.desktop; fi
if ; then rm -rf /usr/share/doc/wallch; fi
if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi
echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies
4. Shell Programming and Scripting
$file1
haha
hello i'm lei
i'm abc
you are right
yes it is
I want to get
file2
haha
i'm abc
yes it is
del line before and after the line contains abc I want to know the two steps 1,del the line before line "abc' ,2 del the line after the "abc
question 2 (4 Replies)
Discussion started by: yanglei_fage
4 Replies
5. Shell Programming and Scripting
I am trying to write a if statement in KSH that if a string is start with abc then print something, I have written some code as below but it doesn't work.
Could someone please help me
if ]
then
print success
fi (5 Replies)
Discussion started by: yhever
5 Replies
6. Shell Programming and Scripting
Hi Friends
I have one shell script abc.sh
If I run it ./abc.sh and . abc.sh , then what is the difference..
Thanks
Joy:confused: (1 Reply)
Discussion started by: itsjoy2u
1 Replies
7. Shell Programming and Scripting
Hi Guys,
while executing the following command : print "-ABC" is giving following error :
ksh: print: bad option(s)
I cannot use echo for some other reasons, so any other option ? (2 Replies)
Discussion started by: sagarjani
2 Replies
8. Linux
Regular expression to extract "y" from "abc/x.y.z" (2 Replies)
Discussion started by: rag84dec
2 Replies
9. UNIX for Dummies Questions & Answers
Hi Guru's,
I need to create 3 files with the contents "ABC" using single command.
Iam using:
echo "ABC" > file1.txt file2.txt file3.txt
the above command is not working. pls help me...
With Regards / Ganapati (4 Replies)
Discussion started by: ganapati
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to check the file not empty, if its not empty then i try to send other system by ftp, the following codes doesnt work
if ]
then
echo "File ${OUTBOUNDFILE} have data"
ftp -i -n -v 204.104.22.33 >> ${FTP_LOGFILE} << EOF
user abc def
ascii
put ${OUTBOUNDFILE}
quit
EOF... (1 Reply)
Discussion started by: Imran_Chennai
1 Replies