Search Results

Search: Posts Made By: Deimos
Forum: UNIX and Linux Applications 04-23-2014
1,880
Posted By Deimos
If serverA can ssh into serverB you can, in...
If serverA can ssh into serverB you can, in serverA's script do this:
ssh root@serverB '/path/to/script/def.msh'
you can substitute root with the actual user you have login for and access to the...
5,737
Posted By Deimos
Try puting the sed expression in single quotes...
Try puting the sed expression in single quotes instead of double quotes.
77,406
Posted By Deimos
glad to hear that...no problem, you're welcome
glad to hear that...no problem, you're welcome
77,406
Posted By Deimos
try: sed 's/\(\.1\.p2ps: Info:\|<END>\)//g' ...
try:
sed 's/\(\.1\.p2ps: Info:\|<END>\)//g'
LMK how it works out
77,406
Posted By Deimos
cat file | sed 's/\(Name is\|type is\|<END>\)//g'...
cat file | sed 's/\(Name is\|type is\|<END>\)//g'
this should do what you want.
EDIT:
cat file | sed 's/\(Name is\s*\|type is\s*\|<END>\)//g
this one should remove the trailing spaces as well, if...
18,426
Posted By Deimos
Try: date --date='90 days ago'
Try:
date --date='90 days ago'
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy