8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Members,
I have the following situation I do not understand:
I have a large json encoded file which I need to grep and afterwards want to extract specific information.
I use this command to to that:
cat /tmp/file | awk -F '"fields":' '{print $2}' | awk -F '"description":' '{print $4}'... (6 Replies)
Discussion started by: crumble
6 Replies
2. Shell Programming and Scripting
Hi,
To Archive files, I try to move files from one directory to another directory . So i used the below logic,
#!/bin/ksh
****Archive*****
mv ${DATA_DIR}/ABC_.dat ${ARCHIVE}
So if i give the complete file name its working fine. But if i use '*', im getting the below error,
mv:... (18 Replies)
Discussion started by: Bopty
18 Replies
3. Shell Programming and Scripting
I am new in shell script i want to convert .txt file
in the format axsjdijdjjdk to
a
x
s
j
d
i
j
d
j
j
d
k (5 Replies)
Discussion started by: sreejithalokkan
5 Replies
4. Shell Programming and Scripting
hi all,
i need the shell script for he below requirement
i had the input file as
a_20121217_035120( frmat is a_date_hhmmss)
a_20121217_035128
a_20121217_035456
a_20121217_035767
a_20121217_035178
a_20121217_035189
a_20121217_035220
my output should be
a_20121217_035456... (0 Replies)
Discussion started by: hemanthsaikumar
0 Replies
5. Post Here to Contact Site Administrators and Moderators
can any one advice on this..
create archive backup -yyyymmdd.tr.gzin the directory "backup" that includes the following directory " product/dev","product/uat"and product/maintain", yymmdd, stand for current date This archive needs to be perpared at 9PM every day
Thanks advance (1 Reply)
Discussion started by: ksakil
1 Replies
6. Shell Programming and Scripting
Hello. I am a novince at writing shell scripts but here is the question. I have to write a shell script that does the following:
Once executed via crontab, the script should do the following:
a. get date/time stamp in for format 10-MAR-05 and
b. execute shell script my_script.sh (which... (2 Replies)
Discussion started by: jigarlakhani
2 Replies
7. UNIX for Advanced & Expert Users
hI,
Pls consider the following shell script
#!/bin/csh -f
sqlplus tkyte/tkyte <<"EOF" > tmp.csh
set serveroutput on
declare
a number:=5;
begin
dbms_output.put_line( 'a:='||a );
end;
/
spool off
"EOF"
The above script does the followin
1)it connects... (1 Reply)
Discussion started by: ravi raj kumar
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm new in Unix an ShellScripting and I need a programm that create a sequence diagramm graphically from a shell script.
I am just working for 2 weeks in Unix and the Shell. And it would help to understand the whole shellsscripts.
Is there a freeware tool, that can create such a thing?... (1 Reply)
Discussion started by: roessrob
1 Replies