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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.