similar to: find - text

Displaying 20 results from an estimated 10000 matches similar to: "find - text"

2008 Oct 09
2
find cont'd 3
Another question about find. I looked at the gnome tool and tried to simulate what it is doing. I can't use it directly because it won't do sed. Basically I want to find all files with a string (except binary) and change it. let STR be the string I am looking for. NEW is new string. I am doing TFIL=/usr/tmp/dummy$$.txt find . -type f | while read fil do grep "$STR"
2007 Jan 02
5
--link-dest
Has anyone else had problems using the --link-dest flag? I do what it says in the example rsync -a --delete --link-dest=/home/chamberl/oldbk/ /home/chamberl/source/ /home/chamberl/backup/ I make sure that /home/chamberl/source has some files exactly the same as in /home/chamberl/oldbk/ but evertything gets copiued, and no hard links are done (though they should be). Anyone know the problem?
2008 Oct 03
7
find
I am looking for something similar to the windows SEARCH FILES comman with the option "files containing ..." (that is where I can specify a string and it will find all files containing that string -- not just having the string as part of the name but actually containing it in the text). Is there some way to do this?
2010 Apr 14
2
timeout problem
I found the response below today online to a question I had. For some reason I never got the mail. I am not quite clear on what "DHCP + DFG + 2DNS entries" means when calculating the IP to set for the router: Thanks Re: [CentOS] Yum/WGET/HTTP sourceforge etc. new April 12, 2010 08:10AM On Sun, 2010-04-11 at 22:57 +0000, tony.chamberlain at lemko.com wrote: > Here is what I
2007 Jan 17
1
rsnapshot
Hi I got rsnapshot working, but I am still unclear about a few things. Say I have intervals daily 7 weekly 4 monthly 12 so running "rsnapshot daily" for seven days will create files daily.0, daily.1, daily.2, daily3, daily.4, daily.5, daily.6 If at the end of the week I do "rsnapshot weekly", then daily.6 gets moved to weekly.0 The next time daily runs, 5 will move to 6,
2009 Oct 12
2
scp with tty
Hello I need to know a way to have scp allocate a tty on a remote machine so I can have it run sudo and activate a vpn which it will need to activate. scp with "-S" does not work. I can't chmod +s the cisco vpn client because when I try to run it it says it can not have setuser. I could have the user scp via root but I do not want to do that. Any way to have scp allocate a tty?
2008 Sep 11
2
/etc/rc5.d
I have a shell script, /usr/bin/joevpn, which does a quick VPN connect. Basically (HOST and DOFIL are defined above and are correct. I just did not list them here) case "$1" in start) date > $DOFIL while [ -f $DOFIL ] do echo y | /usr/local/bin/vpnclient connect $HOST sleep 10 done ;; #
2010 Jun 18
3
Upgrade
I am currently running CentOS 4.5 (which, through many Yum updates) now appears to be CentOD 4.8. 4.8 is still rather old, but I havbe lots of stuff (files and stuff installed). I would like to install Fedora but I am worried about losing all the stuff I have. I would have to back everything up, uninstall/reinstall things, etc. I am wondering whether there is some way to upgrade to Fedora from
2009 Mar 13
4
Save the elements of an atomic vector to a text fil
Hii, I will save the elements of the vector median<-with(x, tapply(V3, grup, median)). The output of this vector is: 25 50 75 100 125 150 175 200 225 250 275 300 325 350 375 400 425 450 475 500 17.8 17.8 17.5 17.8 17.7 17.6 17.7 17.6 17.8 17.7 17.6 17.7 17.8 17.7 17.8 17.8 17.8 17.8 17.7 17.7 Can anybody help me how to do it. I will save it to a text file...
2008 Aug 13
3
ks
I made a file partition-ks.cfg and put it in our machine 192.168.5.17 under /var/www/html. When I install a new machine I just do a linux ks=http://192.168.5.17/partition-ks.cfg I have a couple questions though: 1) I have the following in it: clearpart --all part /boot --fstype ext3 --size=100 part /var --fstype ext3 --size=10000 part / --fstype ext3 --size=10000
2010 Jul 30
2
DHCPD
Not sure if there is a DHCPD/PXE forum so I will ask here. I have been trying to get netboot to work (i.e. a machine with nothing on it but a NIC card, no linux, no operating system, whatever) boots up and receives a file from a dhcp server. This dhcp server gives it all the Linux stuff it needs so a full install can be done over the network. I actually got this working by turning my desktop
2010 Nov 24
5
Optimal VPN
I am looking for the optimal VPN. Well it doens't have to be that elaborate. Just the best VPN. We currently have some customers using PPTP, some using openvpn, some using Cisco Any Connect and there are a few others. So my question is, if you have control of both ends (client and server) what is the best VPN to use? There are not too many requirements, but a big one is The VPN must return
2018 Sep 29
1
Improvement to documentation in dput.Rd
If the "Matrix" package is attached, 'example(dget)' fails: > library(Matrix) > example(dget) dget> fil <- tempfile() dget> ## Write an ASCII version of function mean to our temp file dget> dput(mean, fil) dget> ## And read it back into 'bar' dget> bar <- dget(fil) Error in initialize(value, ...) : '...' used in
2010 Apr 11
2
Yum/WGET/HTTP sourceforge etc.
I am having a problem with 5.4 that I did not have with 4.5. The problem happens only sometimes but in specific instances. Basically a summary of the problem is that certain network transactions timeout. The specfic instances are with wget, rpm, http. The problem usually, but not always, occurs with pptp stuff. (NOT running pptp but getting pptp stuff). For instance, the following command, which
2007 Jul 06
8
interop with strongswan / ipsec
I see support in shorewall for the KAME-tools, how about strongswan ? I have setup shorewall 3.4.4 and strongswan 4.1.3, making this my vpn-gateway for the subnet behind it. # Shorewall version 3.4 - Zones File #ZONE TYPE OPTIONS IN OUT # OPTIONS OPTIONS fw firewall fil ipsec mode=tunnel mss=1400 net ipv4
2004 Jul 16
3
Email eller vedhæftet fil blokeret
Email eller vedhæftet fil afsendt fra din adresse (eller med din adresse som afsender) er blevet afvist fra Allerød Kommune. Spam og virus bliver typisk sendt under dække af andre afsendere og den blokerede email behøver derfor ikke oprinde direkte fra dig. (Husk dog altid at have et opdateret antivirusprogram på din computer.) Du kan evt. scanne din computer med det gratis' værktøj
2004 Aug 08
2
manipulating strings
Hi I have a called fil consisting of the following strings. > fil [1] " 102.2 639" " 104.2 224" " 105.1 1159" " 107.1 1148" " 108.1 1376" [6] " 109.2 1092" " 111.2 1238" " 112.2 349" " 113.1 1204" " 114.1 537" [11] " 115.0 303" " 116.1 490"
2013 Feb 15
1
Errors when running 'puppet agent --test' command
Hello, First of all I am new to the Puppet technology. I am trying to get my puppet agent (windows) to reach my puppet master (Linux) server. In this tutorial: http://docs.puppetlabs.com/learning/agent_master_basic.html It claims to test your puppet agent you need to use the ''puppet agent --test'' command. My result when I tried this is: C:\Program Files (x86)\Puppet
2011 Apr 06
3
Calculated mean value based on another column bin from dataframe.
Dear list, I have a dataframe with two column as fellow. > head(dat) V1 V2 0.15624 0.94567 0.26039 0.66442 0.16629 0.97822 0.23474 0.72079 0.11037 0.83760 0.14969 0.91312 I want to get the column V2 mean value based on the bin of column of V1. I write the code as fellow. It works, but I think this is not the elegant way. Any suggestions?
2005 Apr 29
1
newbie questions...
just started using r. a few questions I can't figure out. first, when loading in a text file, I can do it from the web but not from hard drive. Fil<- 'http://www.test.com/file.txt' -- works Fil<- 'c:\program files\file.txt' --does not. what am i doing wrong?? also, how do you plot a graph of a time series that is lagged? i.e., plot(sp,type='l') but say