search for: shellscripts

Displaying 20 results from an estimated 33 matches for "shellscripts".

Did you mean: shellscript
2008 Aug 19
variables in dtrace scripts
Greetings, is there a way to specify probes and other dtrace operations via command line parameters, like " BEGIN { usr_exec=$$1; usr_syscall=$$2; } syscall::usr_syscall:entry /execname == usr_exec && guard++ == 0/ { ... " [this does not work] This would make it possible to create "generic" dtrace scripts. Otherwise, some shellscript with
2003 Sep 29
Fsck (presumably e2fsck) returns exit code 127 on an ext3 file sy stem
fsck (Red Hat Enterprise Linux AS 2.1) returns an exit code 127 on an ext3 file system when run from a shellscript started by cron. Here is the pertinent part of the script: ... fsck -p /dev/${BK_SLICE} 1>/dev/null 2>&1 STATUS=$? if [ ${STATUS} -ne "0" ] then echo "${MIR_PID}: file system check of /dev/${BK_SLICE} failed, status =
2013 Mar 04
Google Earth on EL6.x x86_64
Has anyone gotten 64-bit google earth to run on el6 x86_64? It dies almost immediately, complaining for lack of Perusing user forums at google I see a few others with the problem, but no (working) solutions. Thanks in advance! -- ---- Fred Smith -- fredex at ----------------------------- "For the word of God is living and active. Sharper than any
2008 Oct 14
To all TextMate users that wants to run tests with cmd + r in Rails 2.1 and above.
Because the require ''test_helper'' at the top of all the tests is relative now (it used to be something like require ''../test_helper''), you can''t just run the file with ruby anymore. And running the file with ruby is exactly what command + r does. Which means you can''t easily run your tests from textmate. The solution:
2007 Jan 19
Newbee-Question General Syntax
Hi there! I´ve started looking into puppet for about one week now, I have to say that I am NOT a developer, i occasionally write a shellscript or another but thats about it, so maybe my problem is that i dont see the whole picture yet.. I kind of know what i want to do, but at the moment i don´t realy see how i can accomplish that.. :/ thing is, I have (for now "just") about
2013 Apr 15
[PATCH] btrfs-progs: No-op when called as fsck.btrfsck
Hi, I thought that I would attempt a quick little patch that will make btrfsck into a No-op when called as fsck.btrfsck. The reasoning is that the FAQ states that it is recommended and safe to do so, and the current 12.04 version of Ubuntu just symlinks fsck.btrfsck to btrfsck instead of /bin/true. PS - Apologies if I mess this git send-email up! Dan McGrath (1): btrfs-progs: No-op
2006 May 08
Cron Scheduling Problem
Hello, The following cron job is failing to run: 00 16 * * * root ruby /home/nathan/rails/notifications/script/runner -e production Notifier.deliver_summary My understanding from the Rails Wiki is that this should do it. Can anyone shed some light on what I may have setup wrong? Thanks! Nathan Mealey Operations Director Northeast Region Pilgrim IT, LLC
2003 Sep 08
Can I execute a shell script from Wine ?
I need to be able to trigger a Linux procedure (shell script, or PERL for example) from Wine. Is it possible to do ? Please help ! Thanks. Boris Kirshteyn K-B Toys, Software Architect (413) 496-3249
2011 Jan 27
Static assignment of SCSI device names?
Hello list members, In CentOS-5.5 I''m trying to achieve static assignment of SCSI device names for a bunch of RAID-60 drives on a Supermicro motherboard. The "scsi_id" command identifies all drives ok. The board has one SATA controller and three SAS/SATA controllers ... standard on-board ICH-10 ATA channels, an on-board LSI SAS/SATA controller, and two add-on
2005 Jun 14
ADSL Calculator
Hi, I''ve written a small javascript ADSL throughput calculator: Feel free to submit alternative presets (I currently have presets for three german telecom speed variants: T-DSL (1000|2000|3000), derived from
2005 Jul 15
openoffice(linux) can`t open files from a wineapplication
Hallo my Problem is, that I use software called gs-verein from sage. in this software i can create documents an the i can sent this documents to word or staroffice. when i change the path to staroffice to /usr/bin/ooffice, then openoffice starts, but the file wouldn`t load and the programm gs-verein tell me that he didn?t found staroffice. I have heared abot solutions for this
2002 Jan 27
Beta Brain-deadness
--------------Boundary-00=_0ISLLHMP6MR2D0LS3C6S Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Attached is an updated firewall script that gets the order of things corr= ect=20 (I hope) in the stop_firewall() function. -Tom --=20 Tom Eastep \ A Firewall for Linux 2.4.* AIM: tmeastep \ ICQ: #60745924
2010 Nov 25
PXELINUX: Menu + Machine dependent default kernels?
Hello, up to now I have been using plain pxelinux with symbolic links (IP or MAC-Address) to the machine dependent defaults. This has been working fine with minimal differences in the configuration files: --default-lenny-- DEFAULT lenny INCLUDE pxelinux.cfg/include-options INCLUDE pxelinux.cfg/include-kernels ----------------- --default-squeeze-- DEFAULT squeeze INCLUDE
2006 Aug 13
learing to make shell scripts
Is there a good book out there that a newbie can understand to learn how to make shell scripts professionally and properly? Mr. X
2007 Jul 22
timer kernelpatch for xen-enabled kernels
Hi pkg-xen members, Hi Bastian, I had a lot of trouble with xen on my quite new notebook. It's a sony notebook with core 2 duo processor. In xen (dom0 & domU) I got a lot of "time went backwards" error messages. I think at least 100 msgs/10sec, which renders the system more or less unusable on the console. With "noapic" as boot option there are even more
2009 Nov 06
Bug#554805: patch to enable routed networking in HVM+ioemu
tag 554805 + patch thanks The problem to solve is that qemu-ifup assumes the world is always bridged, and vif-routed does not know of the concept of TAP devices, and even if it did, it has at this point no way to get at qemu's TAP device anyway. The following set of patches help run in the ioemu-HVM situation: * : modifies the HVM loader so that when running in
2007 Oct 05
Cron job
Dear All Salam, Is there a possibility that we can run MRTG command in seconds???? The only thing is know is we can run MRTG in one minute other than standard 5 minutes.... Like */1 * * * * root env LANG=C /usr/bin/mrtg /etc/mrtg/test.cfg what if, i want to monitor traffic in seconds??? Regards, Umair Shakil ETD -------------- next part -------------- An HTML
1998 Mar 14
Vunerable shell scripts
I made a list of /usr/bin scripts which allows /tmp races. Following ones creates /tmp/something.$$, then, with no permission/ownership checking, /tmp/something.$$.x (x may vary ;), or even performs suitable checks, but gives enough time to alter /tmp contents: glibcbug, bashbug, znew, mailstat, autoupdate, x11perfcomp, gccmakedep, pnmindex, xcopy, autoheader,
1996 Dec 24
Linux Redhat 4.0/3.0.3 makewhatis cron job
There is a serious problem with the makewhatis cronjob under Redhat Linux 4.0/3.0.3. You can use it to overwrite any file on the system. Redhat is aware of the problem, and said they would have some kind of fix by next week which should be plenty of time before this bug is exploitable again. #!/bin/sh # # blowitawaysam # # makewhatis is a shellscript that stores a tmp copy of the
2013 Feb 04
VoIPGMap: Graphing active Asterisk calls on Google Maps
Hi list, I''ve always wanted to graph my active SIP calls on a map somehow, and now I''ve finally taken the time to do it. My script is called VoIPGMap and it displays active calls on Google Maps. Logic-wise it''s designed for a callthrough or calling card scenario, where calls will be displayed to originate from a single location, but you can surely adjust it to