Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cantubas
  • Content: Threads
  • Order by date
  1. cantubas

    how can i do a boot cd with all my settings (red hat)

    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
  2. cantubas

    difference between "CR"+"LF" and "CR"+"esc&qu

    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???
  3. cantubas

    how can i have the full pathname with C function

    in shell script unix I do echo $(cd $(dirname "$name");pwd)/$(basename "$name") is it possible in C?? escuse me for my bad english, I'm french
  4. cantubas

    open vs fopen

    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
  5. cantubas

    write binary datas in a pipe

    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
  6. cantubas

    creation date of a UNIX file

    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....
  7. cantubas

    how can we limit "find" to the current directory

    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????
  8. cantubas

    i can't use at with ftp command line

    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...
  9. cantubas

    lpstat - printers disable or enable

    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...
  10. cantubas

    how to change the shell of cron

    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
  11. cantubas

    test if a variable exist

    i want to know if a variable exist. i do if [[ -z $no_pex08 ]] then /gv1/gvr/bin/pex08 fi but if someone do "no_pex08=" that is not ok.
  12. cantubas

    could we use $? with ftp

    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
  13. cantubas

    can we send window font????

    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
  14. cantubas

    unix don't want to do 0 + 0, why?

    $ let somme=0+0 $ echo $? 1 $ let somme=1+0 $ echo $? 0 $let somme=1-1 $ echo $? 1 $ let somme=1-0 $ echo $? 0 $ let somme=1-2 $ echo $? 0
  15. cantubas

    is there a function to know if a variable is a number

    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?
  16. cantubas

    modify a string (queuedefs)

    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"...
  17. cantubas

    modify a string (queuedefs)

    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"...
  18. cantubas

    timex of a job

    how can i have the report process data and system activity (timex) of a job lauched by AT
  19. cantubas

    how can i have the absolute name ?

    how can i have the absolute name of a file i want to find a function that transforms ../name in /home/etc/name
  20. cantubas

    send the number of page

    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....

Part and Inventory Search

Back
Top