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 Wanet Telecoms Ltd 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: *

  1. RajendraSingh

    trouble with ssh command not ending from cron

    I can't remember the exact arguments, but you need to specify that SSH is running batch mode. I don't think this is covered in the man page (if you're running F-Secure's SSH), so do some Googling and you'll find the correct way of doing it.
  2. RajendraSingh

    attach a file

    uuencode file file | mailx -S "subject" dest_adr@x.y.z
  3. RajendraSingh

    Can I change login shell environment from a script?

    When you execute the script, do it as follows: . scriptName This will execute the script within the current shell instead of forking a new shell to execute the script.
  4. RajendraSingh

    combine lines

    If you have Perl: cat x | perl -e 'while (<>) { chomp; printf "%s", $_; print "\n" if (/}/); }'

Part and Inventory Search

Back
Top