9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
hello all
im new to unix and when i use below script i get an error :
#! /bin/bash
Echo -e "enter the name of the file : \c"
read file_name
if
then
echo "$file_name found"
else
echo "$file_name not found"
fi
running the script i get below error :
$ ./hello (26 Replies)
Discussion started by: Ibrahims1
26 Replies
2. UNIX for Beginners Questions & Answers
If run the below code today its creating all directory and getting output files,I f run same code tomorrow I am getting error.
can any one give suggestion to sortout this error.
OSError: no such file or directory : '062518'My code looks like this
import paramiko
import sys
import os ... (8 Replies)
Discussion started by: haribabu2229
8 Replies
3. Shell Programming and Scripting
Hello Everyone,
I have written a file validation script in unix to compare the data and trigger file.My requirement is if the file validation fails,I need to upate the error details in a table
ex:Below is the one of many validation checks i am doing
if
then
echo "Actual count between... (3 Replies)
Discussion started by: karthik adiga
3 Replies
4. Shell Programming and Scripting
hey guys..........i am currently working on shell script that resolves status code 58 in netbackuptool .............this error is actually coz when server cannot communicate to the client so i am trying to write a shell script to do this automatically instead of series of steps... (0 Replies)
Discussion started by: Pawan Ramnani
0 Replies
5. Programming
INFIX TO POSTFIX CONVERSION :
//Convert an infix expression to postfix expression...
#include<iostream>
#include<cstring>
#include<cstdlib>
using namespace std;
char ifx,pfx,stk;
int top=-1,n;
void push(char ch)
{
if(top!=n-1)
{
top++;
stk=ch;
}
... (3 Replies)
Discussion started by: poonam.gaigole
3 Replies
6. Shell Programming and Scripting
if `egrep -c "safe_mode" /usr/local/lib/php.ini` - gt 0 && " `egrep -c "safe_mode" /usr/local/lib/php.ini` = "On" "
then
echo " Good "
exit
else
echo " Not Good ";
fi
and (4 Replies)
Discussion started by: x-zer0
4 Replies
7. Shell Programming and Scripting
Hi
while trying to run few scripts
/afs/ae.ge.com/informatica/ardw/dev/bin/cdw_ar_update_recvbal.sh
this script contains the below data
load_dir=/afs/ae.ge.com/informatica/ardw/dev/data
prog_dir=/afs/ae.ge.com/informatica/ardw/dev/bin
ctl_dir=/afs/ae.ge.com/informatica/ardw/dev/ctl... (1 Reply)
Discussion started by: laxmi131
1 Replies
8. Shell Programming and Scripting
Hi Guys,
I have a script which is inserting records in the table. The insert query has 0 rows to be inserted. because of that a warning is being thrown. But the return code of the insert query is showing as 1.
Is it like when a warning comes, the return code will be 1?
However, the same... (1 Reply)
Discussion started by: mac4rfree
1 Replies
9. IP Networking
Hi,
I'm looking for detailed http error codes.
I want to know what means :
HTTP/1.1" 302 330
and
HTTP/1.1" 302 265
Many thanks. (1 Reply)
Discussion started by: big123456
1 Replies