10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
i am getting below error while executing mkfs after creating a new partition in linux
/dev/sda2 is apparently in use by the system ; will not make a filesystem here.
Anyone having any idea , how to solve this problem
thanks (2 Replies)
Discussion started by: Jcpratap
2 Replies
2. Shell Programming and Scripting
Hi i am getting stuck while executing the script in the below line .Please help me out
if ;then
Name=`grep -i $Size $FILE|awk '{print $(NF-1),$NF}' |head -1`
else
Name="$Nam"
fi (3 Replies)
Discussion started by: soumyamishra
3 Replies
3. Shell Programming and Scripting
Hi frnds
I trying to execute the following ksh,
#!/bin/ksh
file=$OBS_APP_PATH/config/com/uhg/obs/inbound/configs/ServiceFeeDetail.xml
inputFileDir=$OBS_APP_PATH/config/com/uhg/obs/inbound/configs/
echo $file
echo $cntWrd
if
then
echo "Inside IF"
for i in 'ls -t1... (7 Replies)
Discussion started by: balesh
7 Replies
4. Programming
Hello
im geting error here:
#include <stdlib.h>
#include <stdio.h>
using namespace std;
int main (int argc, char *argv)
{
char user;
string command;
cin << user;
command = printf ("grep '%s' /etc/shadow", user);
system (command.c_str());
}
return 0;
}
it should search shadow... (6 Replies)
Discussion started by: velniaszs
6 Replies
5. Shell Programming and Scripting
Hi Friends,
When I try to execute one of my script script1.shl, I am getting the error message as "/tmp/sh1871978.13: cannot create" .
I could not find the specified sh* file in the /tmp directory and I also checked the disk space of /tmp and it is only 60% filled.
Please help me on... (5 Replies)
Discussion started by: mr_manii
5 Replies
6. UNIX for Dummies Questions & Answers
When trying to find a list of files with specific text in them using
find . -type f -exec grep -l "DataStage Job 4263" {}\;
I get error
find: missing argument to 'exec'
How can I correct this ? I'm on Linux Red Hat.
Cheers
PS I'm a DataStage programmer not a systems support... (4 Replies)
Discussion started by: jackdaw_at_work
4 Replies
7. Shell Programming and Scripting
Hey fellows,
i've got a probkem while executing a command through a scheduled at-job;
Somehow my script starts looping, when triggered throug at;
It doesnt do so if started manually.
Any ideas?
#!/bin/sh
# atrun uid=33 gid=33
# mail www-data 0
umask 22
cd /var/django/webripper/ripper... (2 Replies)
Discussion started by: viktor4124
2 Replies
8. Shell Programming and Scripting
The script startserver.sh has permissions to execute.
Still the nohup command returns error with 'No such file or directory'
Any sugggestions:
$ nohup ./startserver.sh &
Error
$ nohup: appending output to `nohup.out'
nohup: cannot run command `./startserver.sh': No such file or... (4 Replies)
Discussion started by: hemangjani
4 Replies
9. Shell Programming and Scripting
I am trying to submit background jobs using the nohup command on a client system where my session is running under a "master shell" (BASH). If I try to nohup the actual job (ie: nohup MYJOB.BAT > MYJOB.LOG 2>&1 &) the command will fail with a return code of 126 and a "permission denied" message.... (0 Replies)
Discussion started by: christyw
0 Replies
10. UNIX for Advanced & Expert Users
All,
I've a script that I'm trying to execute with crontab. But it was not working. Then when i checked executing the script manually, I've found a strange thing. the script executes only with
sh <SCRIPTNAME> and not with ./<SCRIPTNAME>
I'm using Red hat 7.3, and the error that i'm getting... (2 Replies)
Discussion started by: i2admin
2 Replies