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 strongm 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: iribach
  • Order by date
  1. iribach

    directory " go basic"

    bravo, you got it :)
  2. iribach

    directory " go basic"

    1) man man 2) man ls
  3. iribach

    Sorting alphanumeric

    Rieekan thank you expecially for TIMTOWTDI, willy sure appreciate it. sure in unix 20 ways conduces to the same goal the Q was: why a 20 line code to do a sort? but sure you are right. why use a sort when i can do it in a 20 line script. AGAIN: thhhanks 4 expl of TIMTOWTDI. DBDGAIK
  4. iribach

    directory " go basic"

    man ls
  5. iribach

    Sorting alphanumeric

    why people insist solving solved probls ? to do it easy, put your data in a file, say abc then enter a sort abc do you need numerical sort, enter sort -n abc a reversed num sort ? sort -nr abc an unique reversed numerical? sort -nru abc the best unix tool is called 'man' to use it try: man...
  6. iribach

    cookie read problem

    mlewelling you write the code light blue on dark blue your probl is 'light' to solve it write the code 'dark' blue on dark blue :)
  7. iribach

    MailX Question

    don't confound mailx and sendmail mailx -s "subject" user@domeain < texfile or cat textfile | mailx -s "subject" user@domeain
  8. iribach

    Sorting alphanumeric

    if you want to sort why don't you use sort ?
  9. iribach

    Inserting into multiple files

    ygor, interesting. ... s'amuser tout seul ...
  10. iribach

    hidden file on CD is not shown in Redhat9

    i suppose your redhat is unix, who cares about size ? mkdir /where-you-have-space cd /mounted-cdrom tar cfb - 126k . |(cd /where-you-have-space; tar xfvp -)
  11. iribach

    Can I backup a Raw Device - Application Data

    format and iostat could not see the disk you have probls, check the hw connections (cables) last chance: probe-scsi[-all]
  12. iribach

    Doesn't remove ALL the blank lines....

    RVSachin: they are simply NOT blanc as phv said, a line with blancs is NOT a blanc line. Ygor: elegant :) my preferred ( == phv's grep ) sed '/^[SpaceTab]*$/d' in >out
  13. iribach

    DATE::MANIP

    #!/usr/bin/perl ### this is unix so if you are not an obstinate perl fanatic and accept to use the properly tool for this job... [i]in your exemple, you make string substitions, no computing, no conditional stats, so why use perl?[/b] you could call the easy, old, fantastic sed. ASSUMED the...
  14. iribach

    Cron job not running

    - ssh is your friend as thedaver says.
  15. iribach

    automating ftp session

    .netrc is good, i prefer ssh your probl is the newline between $user and $passwd try: ftp -inv $HOST << EOF user $USER $PASSWD ls bye EOF
  16. iribach

    Cronjob to run password protected scripts

    1) check the user, is it 'secure' give him access else 2) ask 4 pwd 3) let the 'secure' user do the cronjob. Can I give access to cronjob to run the script? Maybe embedding the password in the cronjob? no ways(in a standard *nix)
  17. iribach

    DATE::MANIP

    hello99hello are you on unix ?
  18. iribach

    Inserting into multiple files

    this will not leave cadaver in your dir #!/bin/sh # not assuming [k|ba]sh is used for file in `ls` do [ -w $file ] || continue ( echo blabla blabla cat $file ) >temp.file mv temp.file $file done note: a sed or an here-vi are eleganter.
  19. iribach

    Find out when a userid was created

    who cares 'when a userid was created' ? you want exclude users not active since x-time! on a s5r4 sys look for inactive flag in: man shadow BUT delete users it's not really a good idea. tomorrow, my be you have to read a backup && would like to identify the (deleted) user :) AND why delete users...
  20. iribach

    Simple problem with global variables

    please note that globals are allowed, i used them twice in the past 25 years.

Part and Inventory Search

Back
Top