Can we echo something for "down key"
I know echo -e "\n" is Enter, but how about "down key" or "up key" in bash
View ArticleInsert script result into Oracle Table
Hi All, I want to insert STAT and ENDTIME values for each job in joblist into TBL_DAILY_STATUS table. Eg: insert into tbl_daily_status values(STAT,ENDTIME); Please help me on this. Code: #!/bin/ksh...
View ArticleExtract common data out of multiple files
I am trying to extract common list of Organisms from different files For example I took 3 files and showed expected result. In real I have more than 1000 files. I am aware about the useful use of awk...
View ArticleYum repository linking to ftp site of Redhat
I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has –...
View ArticleHelp With SFTP using shell script
Hi All, Scenario : How to securely FTP the text file from a particular location(in unix system) to the windows ftp server (my PL is suggesting to use SCP command to accomplish this). Detailed...
View ArticleHelp me grep.....
Hi unix geeks, I am a newbie to shell scripting. I want to know how to match a particular string in a file and extract the matched string(s) into another file. The input file say file1 is as shown,...
View ArticleAwk/sed to play on calender
Hello Awk'inas/Sed'ers; This is keep ringing on my mind for a while, onto play in calender with awk or sed :cool:. Given a date, month and Year would like to find out the day corresponding to it. Am...
View ArticleConsolidate 2 file in 1 file
Hi I have to file in with 1 similar colomn. from both files i want similar values from column1 and col2 from file1 and col2 from file2 in file 3 file1 Code: colomn 1Â Â Â Â Â colomn2Â Â Â Â 8017172R...
View ArticlePlease help me days to a date string in PERL
Please help me n days to a date string in PERL. Date is of the format YYYYMMDD ---------- Post updated at 08:56 AM ---------- Previous update was at 08:54 AM ---------- Add n days
View ArticleLooping advice
Hello guys i am generating files in while loop and i want add value in every file start from 10 to 55 and repeat that so the value never exceed 55 and always start from 10 can you advice how this can...
View Article0403-057 Syntax error at line : `}' is not expected.
i dont know where m i mistaking.. please help me out with this issue :( thanks in advance:rolleyes: Code: one_main() { a=100 while [ $a -ne 0 ]; do clear echo...
View ArticleUNIX variable to SQL statement
The following is my script : Code: #!/bin/bash echo "please give app_instance_id" read app_instance_id echo "id is $app_instance_id" export app_id=app_instance_id sqlplus -s...
View ArticleFinding implementation code in UNIX for FAT16/32
So we know that Unix is free source software. And we know that Unix have support for FAT 16 and FAT 32. Does anyone know where can I found that implementation in code ? Thank you.
View ArticleLicensing for RHEL
I wanted to know about licensing for RHEL. We have 3 RHELs as virtual machines using Vmware in our company. A 4th instance is required now but there is talk of not having the 4th license as we have...
View Article$(basename $0)
what is the meaning of "script_name=$(basename $0)", can someone please explain?
View ArticleUnable to connect to localhost in Debian 6?
Hello Everyone, I have unable to run the default server with localhost in my Debian machine. While trying to run Django I get: Code: Error: That IP address can't be assigned-to. error While trying to...
View ArticleHow secure using Nagios?
Hello Experts, I have my windows servers located at different data-centers across US and I am monitoring all of them using Nagios server configured on a CentOS. All communications are done via public...
View ArticleTime outputs of wget command
Hello friends, I've been working on a solaris server, I need to test responses of a web service using WGET command, if the response is successful, how quick it is etc. I have scirpt like this, I...
View ArticleDelete first 6 lines and last two lines
hello all, i have a text file and i want to remove the first 6 lines and last two lines of it thanks for your help
View Article