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

    How can multiple users access Win2003 server simultaneously

    I've got Windows 2003 servers setup in my data center on a different network. I need a way for 3-10 users to access/read log files on the servers at the same time. The boxes have to be secure from unauthorized intrusion. It would be ok if users can only download the log files like in ftp. They...
  2. fixengineer

    Define each line of data in a file as it updates

    I need to be able to determine the purpose of each line of a file. And track any future references to any past lines. Here are conditions: if line has "ObjectName", then line is "Object" if file has "TOP" and "Bottom" in it, line is "locater". If line has + and * then line is "math" if...
  3. fixengineer

    sed/awk: If you find string1 in line, take string2+ from line move

    I want to display a log file in a more readable format. The core thing is to look for one string in a line then when found take certain data from that line and insert it above the line. If you found a line with CarType=Race, find out what the tire size is in that line and then copy and insert...
  4. fixengineer

    Display/print only fields that contain string?

    Everything I read seems to deal with fixed amount of fields, but what if the amount of fields change? How can I search for a string in ALL fields(not a specific one like $1 $3) and display only that field? If awk can't do it I'm thinking that maybe I can transfer the fields to positionals and...
  5. fixengineer

    How do take user to remote box and change directory and stay there

    Here is the code: ssh -l login $userserver "cd $userpath; $mycommands" At my company we have many Linux/UNIX servers and my script is supposed to automate navigation between the boxes. My script will reside on a single server and should be capable of taking user to another box, changes the...
  6. fixengineer

    How can I run multiple commands remotetly

    Korn-Shell on Sun/GNU Linux I need to be able to run multiple commands romotetly. For example, from box1 run ls and pwd commands on box2. This is what I tried: ssh -l login boxname ls; pwd With the above command grouping this is the result: Command1=run ls on remote box Command2=run...

Part and Inventory Search

Back
Top