Search Results

Search: Posts Made By: Chr15
6,763
Posted By Chr15
Unix under Windows
Hi,
try MobaXvt
MobaXterm - The free multitab Unix browser for Windows (http://mobaxvt.mobatek.net/en/)
its a pre compiled cygwin binary which works well on XP and ok under Vista. I have found...
18,397
Posted By Chr15
You need to grab the PID of the tail proc and...
You need to grab the PID of the tail proc and kill it

if string_found
get PID && kill $PID

and then loop round

Sorry no code but hope that points you in a direction that helps.
5,748
Posted By Chr15
try this
You need to quote out stuff, also run the script as a bourne shell script

#! /bin/sh
aa=`ps -o user | grep -v USER | uniq`
if [ ${aa} = "cool" ] ; then
echo "${aa} is cool"
...

Try looking...
4,322
Posted By Chr15
#!/bin/ksh hour=$(date | cut -c12-13) echo...
#!/bin/ksh
hour=$(date | cut -c12-13)
echo $hour


Odd it works fine on my Slackware box under sh and ksh and on OSX under
sh/bash and zsh.

Try
hour=`date | cut -c12-13`
echo ${hour}
4,020
Posted By Chr15
Google for RUTE its is very very good, it's free...
Google for RUTE its is very very good, it's free and in HTML or PDF format.

Have fun.
Showing results 1 to 5 of 5

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