Displaying 20 results from an estimated 600 matches similar to: "-bash: /bin/grep: cannot execute binary file"
2009 Apr 24
7
Get only script name with shell script
Hi all,
I wrote shell script and put it under the /usr/local/bin/ directory.
I use echo $0 for get script name but it has printed
"/usr/local/bin/<scriptname>" but i want to only print <scriptname>
How can i do this ?
Thanks all for help.
--
Iyi calismalar.Basarilar...
Semih Gokalp
Istanbul/Turkiye
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
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
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
2008 Sep 29
0
Adding markers with info bubbles
Hi All,
I am following an example of adding markers on a openlayers interface.
Having difficulties when trying to add markers into a custom tiled map. Is
there anyone that can help me?
If you need more info, I can provide the code.
Thanks,
Gokalp Selcuk
gselcuk at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Aug 12
0
Question about custom images in map
Hi,
While browsing the internet for a solution, I found mapstraction and checked
out some examples. I wonder if anyone in this group can help me with
something.
I have created a web page where a custom floor plan is loaded into a Google
Maps interface using Gmaps Image Cutter. I am not using the map at all,
instead I am using a custom image of mine. I use the Gmaps api functions of
adding markers
2012 Apr 14
0
Call for Participation: Cloud Futures 2012, Berkeley, CA (May 7-8)
*//*
*//*
*/Cloud Futures: Hot Topics in Research and Education/*
Berkeley, CA | May 7-8, 2012
http://research.microsoft.com/cloudfutures2012/
The Cloud Futures Workshop series brings together thought leaders from
academia, industry, and government to discuss the role of cloud
computing across a variety of research and educational areas---including
computer science, engineering, Earth
2012 Apr 14
0
Call for Participation: Cloud Futures 2012, Berkeley, CA (May 7-8)
*//*
*//*
*/Cloud Futures: Hot Topics in Research and Education/*
Berkeley, CA | May 7-8, 2012
http://research.microsoft.com/cloudfutures2012/
The Cloud Futures Workshop series brings together thought leaders from
academia, industry, and government to discuss the role of cloud
computing across a variety of research and educational areas---including
computer science, engineering, Earth
2004 Apr 28
0
Join NT Domain and Samba Netbios Name problem
Hi,
I'm using Mandrake 10 CE, Samba 3.02a, Winbind. I have got a strange problem.
My linux machines can not join to our NT 4.0 domain when I define a netbios name which includes "I" or "i".
How can I solve this problem.
Any answers ....
Thanks a lot.
Domain Name = DOMAIN1
Netbios Name = LINUX1
2007 Oct 10
1
question on grep
Is there a command line option on grep that says
count ALL occurances on a line not just the first one???
echo "jerry jerry" | grep -c jerry
only returns 1 and not 2.
Looking at the man page I did not see anything like that.
Thanks,
Jerry
2006 Mar 07
2
grep page source
hi all, any one know how to grep page source by rails?
i.e.
i wanna grep html source from http://www.ruby-forum.com/ by ruby code.
regards
--
Posted via http://www.ruby-forum.com/.
2004 Jan 29
1
Variable substitution in grep pattern
Hi everibody.
I'm working with a dataframe with many character vector in which each
observation is made of one or more unique values.
Example:
> Licenza[56:58]
[1] BSD License, GNU Library or Lesser General Public License (LGPL)
[2] Qt Public License (QPL)
[3] GNU General Public License (GPL)
66 Levels: ... Zope Public License
As you can see, the observation can have one or more Licenses
2008 Aug 06
1
Matching a period in grep...
Hi folks,
Can anyone enlighten me as to why I get the following when I search for
".csv" at the end of a string?
> grep("\.csv$","Blah.csv",value=TRUE)
[1] "Blah.csv"
Warning messages:
1: '\.' is an unrecognized escape in a character string
2: unrecognized escape removed from "[\.]csv$"
R reference for regular expressions says
2005 Mar 16
1
Bug#299810: logcheck: grep errors after latest update
Package: logcheck
Version: 1.2.35
Severity: normal
I'm getting the following on two different Unstable boxen:
------------------------------------------------------------------------------
Subject: Cron <logcheck at bandit-hall> if [ -x /usr/sbin/logcheck ]; then
nice -n10 /usr/sbin/logcheck; fi
2013 Nov 28
1
Create email and grep the recieved emails.
I want to implememt auto mated email generation for every transaction.
And then we will sent any uplods through our own emails. i wnat grep
those email with attachments.
This is very urgent for me. if any one know this please let me know.
Thankyou for advance.
Actually in paperlesspipeline they are did same functionslity. if you
want check this url http://paperlesspipeline.com/
I
2010 Oct 15
1
grep pattern x, but not pattern y on the same line
Hi folks
I have the command "find . | xargs grep 'mailx'", to search all files
with "mailx" in contents. I wish to add a second condition that NOT
contains string sven.aluoor at ubs.com on the same line.
Every file which contains "mailx", but not the string
sven.aluoor at ubs.com in the same line.
cheers Sven