10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have comma delimited file with over 20 fileds that i need to do some validations on. I have to check if certain fields are null and then write the line containing the null field into a new file and then delete the line from the current file.
Can someone tell me how i could go... (2 Replies)
Discussion started by: goddevil
2. Shell Programming and Scripting
while writing a script m not able to convert string into a number therefore it is not picking the write if condition
echo "this game is about selecting number and getting lucky"
echo " the number are 1 2 3 4 5 and 0 to exit"
if ; then
echo "NUMBER... (7 Replies)
Discussion started by: ripudaman.singh
I have already posted a thread regarding ddi_regs_map_setup solaris system call guidance.
I am writing a standalone to use this system call.
Below is my partial standalone... (6 Replies)
Discussion started by: vijayrajen
4. Shell Programming and Scripting
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
Discussion started by: mlpathir
Hello, when I executed this command:
root@server:/opt/ignite/lbinia> growisofs -Z /dev/rdsk/c1t2d0=/PA.iso
I get the following output and error:
Executing 'builtin_dd if=/PA.iso of=/dev/rscsi/c1t2l0 obs=32k seek=0'
:-: I/O error
Anyone have any idea what is happeneing?
Here is... (1 Reply)
Discussion started by: LinuxRacr
6. UNIX for Advanced & Expert Users
I am trying to run a shell script using the crontab scheduler, and I am redirecting the log of the script output to some temp log file using the following command.
sh somescript.sh 1> /location/somefile.log
Evrytime the cronjob triggers this script, It creates a zero byte file in the... (4 Replies)
Discussion started by: DSDexter
7. Shell Programming and Scripting
I want to redirect the standard output to standard error whenever an error occurs for ex
I want to redirect the wrong to stderror .Adding a line 1>&2 will do that or is additional code to be added.How can i verify whether the output... (2 Replies)
Discussion started by: padmisri
8. Shell Programming and Scripting
I can run the script okay when I log in with root. Then I add this script to crontab and when crontab run i got this message error.
I has installed DBD for Oracle already. I set ORACLE_HOME, ORACLE_BASE to root profile already.
Please help me to fix it. It urgent. Thank so much.
... (2 Replies)
Discussion started by: raccsdl
9. Shell Programming and Scripting
Anyone can help me ?
I try to using crontab with a simple shell script as echo it run okay but now i have more command in script. when I set entry to crontab and whe it run i get mail with error cannot execute binary file.
it urgent so please help me the soutions. Thank so much for your help.... (5 Replies)
Discussion started by: raccsdl
10. UNIX for Dummies Questions & Answers
I'm working on a project for a class, and there's one part of the project that is confusing me.
It's a compression and decompression project, and after we write our code for compression, we need to write to standard error.
(1) Size of original file (number of characters read... (1 Reply)
Discussion started by: sjung10