Search Results

Search: Posts Made By: viktor1985
3,145
Posted By 3bumbs plumming
i goto it suse
all i had to do is in boot opt is type
vga=normal then enter
and res was wacked but i latter got it up running the res i like thank you for all your help
18,448
Posted By Scrutinizer
It is not a csh script, but a sh script, so the...
It is not a csh script, but a sh script, so the shebang is wrong. My guess is, it has always been executed as sh /path/to/script, in which case the shebang is treated as comment and is disregarded.....
49,287
Posted By mskzned
well sendmail is an MTA(Mail Transfering Agent)....
well sendmail is an MTA(Mail Transfering Agent). It's basically a deamon that we use if we want to configure a Mail Server. It has certain configuration files located at /etc/mail folder. You have to...
8,825
Posted By jim mcnamara
try something like this: #!/usr/ksh ...
try something like this:

#!/usr/ksh
email_it()
{
echo "This script had an error on line $1" | /usr/bin/mailx -s 'script error' me@mycomputer.com
exit 1
}

moveFiles.sh || email_t...
8,825
Posted By TonyFullerMalv
The "||" means only run what is after the "||" if...
The "||" means only run what is after the "||" if the code before the "||" fails, the opposite is "&&" which means only run what is after the "&&" if the code before the "&&" has succeeded, e.g.:
...
5,576
Posted By joeyg
Since it looks like you want this sorted as a...
Since it looks like you want this sorted as a zero rather than a blank...
why not replace all lines that begin with with ??
5,576
Posted By donadarsh
total_rec=`wc -l $file` #subtract 1 for header...
total_rec=`wc -l $file`
#subtract 1 for header record
total_rec=`expr $total_rec - 1`
#put the header record first in output file
head -1 $file > somefile
#sort based on first filed except...
5,576
Posted By shamrock
Try this... sort -t\; -k1,1n -r file
Try this...
sort -t\; -k1,1n -r file
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 05:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy