10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I`m having a strange problem with my data set. Whenever there is a transition to another value is col1, the corresponding 3rd col goes to the next line. This is a huge file, so need to fix in a script. The file is tab delimited.
Here is what is happening when transitioning from... (4 Replies)
Discussion started by: gina.lizar
4 Replies
2. AIX
Hi Gurus,
Here is a requirement from my side, i have a script root password expiary, means this script will examine if root password has been expired or not,
if it's expired then it will write into a file and mail to certain mail id till here everything is fine. But i want it to write to errpt,... (3 Replies)
Discussion started by: linux.amrit
3 Replies
3. Shell Programming and Scripting
Can you help me to fix my error please?! I checked the code and I think there is no mistake, but when I run it gives me error such
line 1: /Users/Manu/trials/hosts: is a directory
sort: open failed: /Users/Manu/trials/hosts/*: No such file or directory
Help me please...
mycode NAME value.... (9 Replies)
Discussion started by: Manu1234567
9 Replies
4. Windows & DOS: Issues & Discussions
Hi,
I'm currently tinkering with a script that uses the for command to process all *.gif files in the current folder.
I marked the spot where it exits out with an error by adding a "pause"
The error message given is:
convert.exe: unable to open image `%x': No such file or directory @... (2 Replies)
Discussion started by: pasc
2 Replies
5. Shell Programming and Scripting
Pls help me with the below script.
Its returning an error No such file or Directory.
#!/bin/ksh
cd /enip/enipapp/cbp/AOC2511201
for file in `cat filename.txt | head -1 | tr -d '\r'`
do
for i in `cat '$file' | tr -d '\r'`
do
echo "-----script start `date`... (9 Replies)
Discussion started by: Naga06
9 Replies
6. UNIX for Dummies Questions & Answers
For anyone have work in bash shell scripting before know the if and then statement
it work like this
if (condition); then
I have create a mini shell in C, and I want to make it a bit more tolerable than the normal bash shell where you do not need the ';' between if and then if they are in the... (2 Replies)
Discussion started by: snow2462
2 Replies
7. AIX
I am getting this temporary error on my errpt:
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
0873CF9F 0623104510 T S pts/0 TTYHOG OVER-RUN
LABEL: TTY_TTYHOG
IDENTIFIER: 0873CF9F
Date/Time: Tue Jun 22 02:00:53 GMT+08:00 2010
Sequence Number: 76... (3 Replies)
Discussion started by: famasutika
3 Replies
8. UNIX for Dummies Questions & Answers
I am getting a :; then
echo "Enter zero or one file"
echo "You must use a valid directory"
echo "Current directory is:" pwd
exit 0
fi
#Flag Variable
flag=1
#Code for no arguments
if ; then
for filename in *
do
if ; then
... (2 Replies)
Discussion started by: Brewer27
2 Replies
9. Solaris
I have a Sun Sparc machine with Solaris 9 on it. I changed one file system (also mount point) name from /home to /u01. Then I updated /etc/vfstab. After that, I did df -k, system told me that df: cannot statvfs /home: No such file or directory/.
Please tell me how and where to fix this error?... (2 Replies)
Discussion started by: duke0001
2 Replies
10. AIX
Hi All,
Can anyone explain me the meanning of the following errors:
LABEL: SC_DISK_ERR2
IDENTIFIER: B6267342
Description
DISK OPERATION ERROR
Probable Causes
DASD DEVICE
Failure Causes
DISK DRIVE
DISK DRIVE ELECTRONICS
Recommended Actions
PERFORM PROBLEM DETERMINATION... (1 Reply)
Discussion started by: gianlu
1 Replies