|
Environment Files Hi, We have an environment file that gets included at the top of every script we have. At this time, we want to be able to pass a parameter to that environment file and create a variable based on it. Is this possible? The environment file is nothing but variable declarations. Can this be done so I can cre... 18 Apr 2008 12:38
how to get the hostnames and memory usage biger than 30M? I am trying to scan 100+ hosts for tecad process memory usage, there are maybe a few tecad processes on one host. see the result is a long list: ############################################################################ Task Name: task Task Endpoint: hostname1 Return Code: 0 ------Standard Output---... 16 Apr 2008 03:26
suspending cron job execution between certain period Hi, I have a scheduled cronjob that runs after every 15 minutes on 24 hrs basis. */15 * * * * /opt/bea/healve/scripts/monitoring/run.sh I want to suspend it between the hours of 2AM and 4:30AM. One option is that I create another job to take the execution permissions away from the run.sh script at 2AM and... 15 Apr 2008 10:44
Shell script to do like winmerge.... :) On Apr 14, 11:57 pm, Chris Mattern <sys...(a)sumire.gwu.edu> wrote: On 2008-04-14, hem...(a)gmail.com <hem...(a)gmail.com> wrote: Hi, I want to write a shell script to do like winmerge . can any one suggest a way? What's a "winmerge"? -- Christopher Mattern NOTICE Tha... 15 Apr 2008 00:59
Opening a File via Pipes, Redirection and direct access and its effect on Command Fox <fox(a)foxmail.in> writes: However, when I run time command (time command2 <filename) on all of the above I'm getting same output. I'm confused about the real differences among the above 3 commands. Do I need to consider time factor (command execution factor)? If not then what are the *real differenc... 14 Apr 2008 23:24
suppressing nohup.out file Hi, I'm using Fedora Core 6 Linux. When I run the below command nohup sh /opt/scripts/backup_web.sh & the file "nohup.out" is produced in the directory where the command is run. How can I set things up such that the nohup.out file is always written to /tmp/nohup.out ? Thanks, - Dave ... 15 Apr 2008 17:06
New shell service (Debian / non-profit) I would like to announce a non-profit debian linux shell service for the public. Here are some of the shell's features: Runs on the Debian distribution of Linux Has a 10Mbit connection to the internet Has a UPS and fuel powered generator Is accessible via SSH and SFTP 24/7 Has a 50MB disk quota Allo... 14 Apr 2008 21:49
script sorted list of logged in users Hi, I have a quick question about a script. I'm using the command "who" and "sort" to create a list of a sorted, logged-in users that belong to a certain group. Can anyone help me make a script that will show a list of ONLY the usernames of the logged in users? I've been trying for hours and can't get it to disp... 15 Apr 2008 15:39
Opening a File via Pipes, Redirection and direct access and its effect on Command Hi, After reading bash man page I came to following conclusion among three commands (they produces the same output): command1 filename | command2 command2 < filename command2 filename i) pipe - Command command1 executed by by opening filename and its output is given to command2 command. So the output of ea... 15 Apr 2008 04:10
grouping in awk Dear Group, it is a shame that I can't find the answer to such a simple question! I read in the awk man pages that awk supports grouping; but how do I use the parts of the mach? let's say I'd like to replace "<a,b>" with "<b,a>"; in sed I'd do: s/<\(.*\),\(.*\)>/<\2,\1>/ in awk I expected to do ... 17 Apr 2008 12:33 |