i have installed red hat and i have configured several settings. how can i do to having a boot cd with all my settings if i have fatal error (like disk crash...).
have you a solutions for me ? thanks
there is a difference between "CR"+"LF" and "CR"+"esc"+"&a+01R".
when i write my file with "CR"+"esc"+"&a+01R", i can put more ligne on the page than i write with CR/LF. why???
which are the differences between fopen and open?
i 've not the same result if i use open-read-close or if i use fopen-fread-fclose in order to read on a terminal
i want to write binary data in a gz file.
i can create file.gz with the popen but i can't write my datas.
printf does't like binary datas like null char
thanks
how can i know the creation date of a UNIX file?
i've found st_ctime of fstat class but t isn't ok because all time i change the access mod of the file, the st_ctime is varying
excuse for my bad english....
I have
A/B/ea
A/B/eb
A/B/ed
A/B/ef
A/B/eg/ea
And when i m doing
Find /A/B –type f –name "e*" i have
A/B/ea
A/B/eb
A/B/ed
A/B/ef
A/B/eg/ea (i don't want this file!!!!)
But i don't want to find search in sub-directories of A/B/
How could i do????
ftp> open d
002) ready.
Name (d:loic): xxxxxx
331 Password required for xxxxx
Password:xxxxx
ftp> site exec echo "try.sh" | at now
200-echo try.sh | at now
200 (end of 'echo try.sh | at now')
ftp> ...
but when i'm doing "at -l" i have noting...
i want to do a script that return me the status (disable or enable only) of my printers.
when i do "lpstat -p" i have:
printer th55_307 is idle. enabled since Apr 2 12:16
fence priority : 0
printer dj55_25 disabled since Jun 21 14:12 -
c'est pour essayer
fence priority...
when i do "at now prog" i have the fallowing warning:
warning: commands will be executed using /usr/bin/sh
i have this warning because users have /usr/bin/ksh as default shell and it was different.
do you know how to modify the default shell of cron.
thanks
when I'm doing
ftp -in 192.168.xx.xx <<END
user $userString $pswdString
binary
send $1
bye
END
how can i know if some command of my script "ftp" isn't succesfull by example:
$userString is false
$1 don't be sent
etc...
escuse me for my bad english, I'm french
some windows fonts are not installed in my network-printers (hp 5si, hp2100, hp8100....).
is there anyway to send these fonts to the printer in order to avoid buying a barsimm
is there a function to know if a variable is a number or no ???
to know if a variable is a number I do:
if (( parametres = $parametres + 0 ))
then
echo "it's a number"
else
echo "it is not a number"
fi
... does another solution exist?
I want to modify the file queuedefs by a script
The string is by example:
"a.8j30n45w"
a: name of the queue
j: max number of jobs (8)
n: nice of jobs (30)
w: max wait for jobs (45)
how can I remplace "8" by "10", "30" by "5"...
I want to modify the file queuedefs by a script
The string is by example:
"a.8j30n45w"
a: name of the queue
j: max number of jobs (8)
n: nice of jobs (30)
w: max wait for jobs (45)
how can I remplace "8" by "10", "30" by "5"...
i use a HP8100 and I want to send the number of page to the printer.
when we use WORD, we can read it on the screen of the printer.
do you know the command....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.