Search Results

Search: Posts Made By: mikelking
50,516
Posted By mikelking
I've tried to delete but for whatever reason I am...
I've tried to delete but for whatever reason I am not able to. I didn't want to post this here but I can not even send a pm about this... kind of annoying...

m
50,516
Posted By mikelking
carldamon general use sed for only search...
carldamon

general use sed for only search and destroy missions. So I would not want to steer you in the wrong direction. But I believe you can through multiple pipings, or in combination with cut....
50,516
Posted By mikelking
You can pipe the line into awk like this... ...
You can pipe the line into awk like this...

script.sh | awk -F "until: " '{print $2}'

It's crude but works. I'm sure there are a dozen other ways but that's the first that comes to mind.
...
50,516
Posted By mikelking
There's a nice trimString() function in blib ...
There's a nice trimString() function in blib (the bash library link-> //bit.ly/i7tZWH) that does this. Of course it's still under development so your mileage may vary.

Essentially you can use...
19,118
Posted By mikelking
For logging I recommend using logger which will...
For logging I recommend using logger which will pipe you log message directly to syslog. The main advantage is that you can offload normal log maintenance. Honestly there's no sense reinventing the...
3
4,408
Posted By mikelking
dev/fd
Most simply.
dev means device
fd means floppy drive

/dev/fd0 mean the first floppy drive device
Showing results 1 to 6 of 6

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