comp.unix.shell
  Home FAQ Contact Sign in
comp.unix.shell only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.unix.shell Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  increase process priority         


Author: PengYu.UT
Date: Jul 14, 2008 20:56

Hi,

It seems that I can only reduce the priority or increase the nice
value as a nonroot. For certain applications, I want to decrease its
priority for a period of time and later increase its priority to the
original one. I'm wondering if there is any way to do this?

Thanks,
Peng
4 Comments
  how to check exit statuses of commands in pipes         


Author: PRC
Date: Jul 14, 2008 18:44

Hi All,

I want to excute a series of commands by pipes.
cmd1 | cmd2 | ... | cmdn

To be safe, the exit status of each command should be check to ensure
whether the command is successful.

So, is there some easy way to do this?

Best Regards,
PRC
Jul 15, 2008
3 Comments
  see unixz information         


Author: pavan
Date: Jul 14, 2008 16:48

Show full article (2.06Kb)
no comments
  How to copy file in a Unix server to an instrument with cpu         


Author: Huajie
Date: Jul 14, 2008 12:59

Dear all:

I have a question on how to copy file in a unix server to an
instrument which has a cpu and hard disk. For example, I have an
account in a remote Unix server, and I can ssh to that server which
will ask...
Show full article (0.92Kb)
16 Comments
  script help         


Author: rickm
Date: Jul 14, 2008 12:49

I have a file that I need to fix with many entries that look like
this:

NEW (nu) 0 ( 429186 275982 ) via2$column_2

bu need to look like this depend whats on the first 4 characters of
the last field:

NEW MET2 0 ( 429186 275982 ) via2$column_2

Heres are the details:

NEW MET2 0 ( 429186 275982 ) via2$column_2
^^^ ^^^^^^
A B

The value of A will change depending whats on the first 4
characters of B

heres a few examples:
if B is via1 then (nu) will need to be changed to MET1
if B is via3$row_2 then (nu) will need to be changed to MET3

Hope this makes sense. Is there a one-liner for this type of
substitution?

THANKS
4 Comments
  how to get double grep         


Author: Patrick
Date: Jul 14, 2008 07:32

hi all,
how can i do to get double grep?
for example(in bash shell)

more filename | grep "hello" or grep "world"

?

thanks
15 Comments