Recent IT Questions

1 - 6 of 6
<<PREVIOUS 1 NEXT>>

BASH: matching a directory in the middle of a path

How can I do this in bash? find . -name '*\!{*}*' -ls Cf. UNIX Power Tools, page 175. This works in tcsh, but no in bash. In bash I get this message: ff CH18 find: paths must precede expression Usage: find [-H] [-L] [-P] [expression]

View Answer   |  Jun 6 2009  2:39 AM GMT
Bash, TCSH, Bourne Again SHell
asked by Landocalvinian

  25 pts.

Command restrictions

A Linux question: Can you restrict a certain command to a specific time range. I don't want to be able to run command x between 7 and 8 ? Any assistance would be appreciated. Regards

View Answer   |  Jun 19 2008  2:16 PM GMT
Linux, Bash
asked by Renier

  15 pts.

Auto Load USB Printer Firmware When Printer Turned On - Linux

I am using a derivative of Puppy Linux. I compiled the driver for the HP Laserjet 1020 printer. For the printer to work the firmware has to be loaded every time the printer is turned on. I have added the following command to the rc.local file in Puppy Linux which runs every time Puppy Linux boots...

Answer Question   |  Mar 9 2008  8:02 PM GMT
Linux, Printing, Bash
asked by Bdika

  5 pts.

Obtaining an elapsed-time sorted list of Unix processes from a shell

I would like to obtain a sorted list of processes, sorted by elapsed time. I am aware of ps -o etime etc, but how exactly do i sort by a field with format [[dd]:[hh]]mm:ss ? Or is there a different way altogether to ask the OS to return a sorted list of processes, sorted by elapsed time? Thanks.

Answer Question   |  Oct 28 2007  1:57 PM GMT
Bash, KSH, Unix
asked by Nagendra.gd

  0 pts.

KILLING OLD UNIX PROCESSES

# I want to be able to extract all the oracleprod processes which are 3 days old and kill them. Are there other date functions or methods can I use? I can make a list of processes but how do I compare the date to kill those processes more than 3 days old. This problem is occurring even though I...

View Answer   |  Aug 4 2004  10:39 AM GMT
Unix tools, Solaris, Bash
asked by geoffreyhalleds

  0 pts.

How to modify external environment variable from 2nd shell script

There are two shell scripts. First one creates variable as: "export VAR1=init_value;" OR "declare -x; VAR1=init_value;" Second script can read this variable and modifies the variable's value but after exiting the variable still keep original value. What is wrong?

View Answer   |  May 12 2004  11:18 PM GMT
Bash, Bourne, KSH
asked by smooth

  0 pts.

1 - 6 of 6
<<PREVIOUS 1 NEXT>>