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 Mike Lewis 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. dtanner

    Tar file: extracting files

    Never used it my self but here is a note I saw on this.. There is an easy way to do this using the "pax" command. Note: Not available on all flavors. Firstly, copy the archive to the relative location in which you wish to untar it. Then, execute the following command: pax -r -s...
  2. dtanner

    sed question

    Thanx!! I will change it again. DT In order to prevent possible injury to yourself, or your computer, and to ensure readability, please do not smoke, eat, drink, spindle, bend, fold, staple, or mutilate this message.
  3. dtanner

    sed question

    Never mind. I just needed double quotes instead of single quotes. In order to prevent possible injury to yourself, or your computer, and to ensure readability, please do not smoke, eat, drink, spindle, bend, fold, staple, or mutilate this message.
  4. dtanner

    sed question

    Hi all, I am attempting to remove a random line in a file. I am thinking that sed should do it something like this: cat access | sed '/$choice/d' > access.new Where $choice is a variable filled in by the user, but alas, it does not work. Thanx in advance! DT In order to prevent possible injury...
  5. dtanner

    Adding quotes

    Well that solved getting them all on one line but not the single quote. I get \047 instead of the '. thanx DT In order to prevent possible injury to yourself, or your computer, and to ensure readability, please do not smoke, eat, drink, spindle, bend, fold, staple, or mutilate this message.
  6. dtanner

    Adding quotes

    I have a list of equipment numbers like MO531 MO532 ....etc etc Would like to convert them to read 'MO521','MO532', and so on. Thanx in advance. DT In order to prevent possible injury to yourself, or your computer, and to ensure readability, please do not smoke, eat, drink, spindle, bend...
  7. dtanner

    grep for date

    Hi, Try this. #!/bin/sh # # datevar=`date +"%a %b %d"` grep "$datevar" whateveryourlogfile.is Later! DT
  8. dtanner

    Saving an export log

    Joe, Try this from dos prompt; a: ftp <server> login to the oracle account cd /u02/oracle/export bin hash get export.log Later! DT
  9. dtanner

    password

    Hi there, I did some experimenting with my Solaris box and came up with the following. Set up a user in the NT domain something like lp with a password of printer. Then on the Solaris box, issue the following; smbclient //printserver/printer -U lp%printer -P -c &quot;print filename.txt&quot...
  10. dtanner

    how to set paths for good

    If you are using csh for your shell, add your paths to your $HOME/.cshrc line that says 'set path = (whatever). If using bourne or korn shell the path variable is set in the $HOME/.profile DT

Part and Inventory Search

Back
Top