similar to: Get only script name with shell script

Displaying 20 results from an estimated 500 matches similar to: "Get only script name with shell script"

2008 Oct 18
2
-bash: /bin/grep: cannot execute binary file
Hi all,I have problem on CentOS 5.2 while everything is working great,suddenly i have this error when i login my server, sudo su - -bash: /bin/egrep: cannot execute binary file -bash: /bin/egrep: cannot execute binary file -bash: /bin/egrep: cannot execute binary file -bash: /bin/hostname: cannot execute binary file -bash: /bin/grep: cannot execute binary file -bash: /bin/grep: cannot execute
2010 Aug 18
3
Wrong disk size problem.
Hi,we have Centos 5.4 server and according to me we have strange problem. Disk size and other indormation like below.Normally,md2 partition should have 46GB free disk size but available value is zero.Why it show zero ? If you help me,I will be happy. df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 19G 2.1G 16G 12% / /dev/md2 880G 834G 0
2011 Mar 22
2
Changing daylight saving time for Turkey.
Hi, Normally daylight date change last sunday march for Turkey but this year daylight saving time will change for Turkey at 28 March 2011 at 03.00 AM so how can i change daylight save time setting for this year on CentOS servers ? I wrote rule file like below and compile it with zic but when I compile rule file,it has changed date immediately but it should be change at 28 March 2011 03.00 AM.
2008 Oct 24
1
Interesting faillog files.
Hi all CentOS users, I looked /var/log/messages log file and i realize something in "messages" files like below; --- Oct 24 04:02:42 cube2 kernel: Buffer I/O error on device sdc, logical block 1545 --- "sdc" is my storage and i switched off storage at 6 PM. and when i checked messages log file,I saw faillog under /var/log directory like below: -rw------- 1 root root
2009 May 04
1
How to determine connection time between two node ?
Hi all CentOS users, How can i determine connection time during the package walking between two nodes ? But not in my network ! only any two network nodes in world ? For example: Get report time value betwwen www.abc.com and www.cde.com Thanks for all advice. -- Iyi calismalar.Basarilar... Semih Gokalp Istanbul/Turkiye
2009 Jul 24
1
About NIDS software or hardware.
Hi all CentOS users. I have used the Snort on server for NIDS.It is connected to switch's SPAN port and server ethernet mode is promiscuous and it is analysing all network traffic and alert me all status. But i am searching other alternative for NIDS that it connectable to network area like Snort server.I found some hardware machine such as SonicWall,Barracuda etc.. but at the same time this
2008 Oct 27
0
system-auth on CentOS 5.2
Hi al.I have a problem with pam.d authentication rules. I searched on google and modified my system-auth file.Bu some rules does not works properly my system-auth like below: -------------------------- auth required pam_env.so auth required pam_tally.so onerr=fail per_user deny=3 auth sufficient pam_unix.so md5 nullok try_first_pass auth requisite
2009 Jan 30
5
Question about Shell Script.
Hi all CentOS users, I have writing shell script for check oracle processes in real time and alert with e-mail. I read script like below NUMBEROFPRO=/oracle/10.2.0/db_1/bin/sqlplus / as sysdba <<EOF1 |grep processes|awk '{print $2}' SELECT resource_name,current_utilization,limit_value FROM V\$RESOURCE_LIMIT WHERE RESOURCE_NAME IN ('processes','sessions'); quit EOF1
2019 Jul 14
2
New improved version of nut-report script
Hi Roger and thanks! I have attached my nut report from the new script (sans journal). I saw nothing that looked like a problem with the report save the sections <scriptname> "Cannot access <scriptname>. Perhaps this is from the missing journal? On 7/14/2019 7:52 AM, Roger Price wrote: > On Tue, 9 Jul 2019, Charles Lepple wrote: > >> Can you please run this script
2019 Jul 14
4
New improved version of nut-report script
Roger, I get 4.3.8(1)-release There was good reason, BTW, for the script to NOT fine the journal script on my machine. I had not downloaded it yet. On 7/14/2019 9:06 AM, Roger Price wrote: > On Sun, 14 Jul 2019, David White wrote: > >> ... I saw nothing that looked like a problem with the report save the >> sections <scriptname> "Cannot access <scriptname>.
2008 Jul 29
1
Removing script file
Colleagues, (Running R 2.7.0) I have a script that I want to delete as it completes execution. The penultimate line of the script (before the quit command) is: file.remove("Scriptname") The script is executed as: R --no-save < Scriptname In OS X and Linux this is successful and returns: > > file.remove("x") > [1] TRUE and the file is deleted In Windows XP,
2010 Jan 09
2
problem with mailing (nut 2.4.1 and a powermust650 -> megatec_usb)
Hello guys Yesterday i started do configure my Mustek Powermust650 with nut using the megatec_usb driver. Everything works fine except for the mailing when something happens. My upsmon looks like this: MONITOR powermust650 at localhost 1 local controller master MINSUPPLIES 1 SHUTDOWNCMD "/sbin/shutdown -h +0" NOTIFYCMD /root/upsmailer POLLFREQ 10 POLLFREQALERT 5 HOSTSYNC 15
2018 Dec 14
2
Re: [PATCH nbdkit 1/3] sh: Implement inline scripts.
On 12/14/18 4:16 PM, Richard W.M. Jones wrote: > This implements something like a readonly 1MB disk reading as zeroes: > > nbdkit sh script=- <<'EOF' > case "$1" in > get_size) echo 1M ;; > pread) dd if=/dev/zero count=$3 iflag=count_bytes ;; > *) exit 2 ;; > esac > EOF > > Use of "-" is analogous to reading
2008 Nov 28
2
ManageSieve and invalid scriptname
Hello there, I have been using pysieved and avelsieve and it has been working great. I decided to do test with the ManageSieve patch and got this problem: Nov 27 17:21:29 cambui dovecot: MANAGESIEVE(miguel): sieve-storage: using active sieve script path: ~/.dovecot.sieve Nov 27 17:21:29 cambui dovecot: MANAGESIEVE(miguel): sieve-storage: using sieve script storage directory: ~/.sieve Nov 27
2010 Nov 02
2
get the scripname within the executed myscript.r
Dear R-users! Is there a way to obtain the name of the executed myscript.r, i.e. when cmd> rscript myscript.r is executed? (The name of the script in this case is "myscript.r") Here is the explanation of why I would like to get that: Why: I have prepared a set of scripts (decompose_data.r, plot_with_higher_resolution.r, plot_3D.r, etc.) placed in a root directory at one place. I
2016 Nov 23
2
Active sieve script symbolic link doesn't update when changed.
While setting up sieve on my email server I mistakenly setup a symlink (~/sieve/myfilter.svbin > ~/.dovecot.sieve) but I think that that should have been (~/sieve/myfilter.sieve > ~/.dovecot.sieve). I have fixed the mistake but dovecot/sieve still throws an error saying that the symlink still links to the wrong file. I have made sure the symlink is fixed (it links to
2002 Mar 11
4
svm in e1071 package segment fault in redhat 7.2
Hi, Guys I run one simple R script like this library(e1071) data(iris) attach(iris) model <- svm (Species~., data=iris) The R version is 1.4.1. The OS is standard redhat 7.2. Then I got a segmentation fault like this (run through R CMD BATCH scriptName) /usr/local/R/lib/R/bin/BATCH: line 54: 28513 Done ( echo "invisible(options(echo = TRUE))"; cat
2012 Apr 11
1
quickly setting /etc/rc levels
Hi all, I vaguely recall being able to auto set various /etc/rc levels based on /etc/init.d/scriptname. I am about to create the sym links by hand but wondering if any one has a shortcut to auto set the links? Thanks in advance, - aurf
2006 Jan 10
2
Is there a best practice in dealing with javascript dependencies?
As I''ve begun to work with several javascript libraries out there, I''ve run in to some dependency issues that must have been solved by others before. For example, I''m trying to implement the jstree library from Laurie Harper in to BundledResource. Breaking the ''jstree'' javascript from the sample html out in to its own file caused it to fail
2006 Nov 21
1
MGE Nova 1100 AVR + upssched
Hi, I'm having problems to configure upssched in order to notify me only when the disconnection exceeds the 30 seconds. Now, I'm getting a mail if it is disconnected just for a second, or even worse, when I got low tension. So, mail notifications are well configured, I guess... I think the problem is in upssched. I'm new to this, so it could be a stupid thing that I'm missing...