similar to: bash increment in a given way

Displaying 20 results from an estimated 10000 matches similar to: "bash increment in a given way"

2011 Jan 05
6
recursively find duplicate filenames
find duplicate filenames in a folder find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' find duplicate filenames in a folder recursively ? how?
2010 Dec 22
5
do i need a dedicated ip address for https?
http://help.godaddy.com/article/1054 "# Set up SSL protection on your website." is it an inescapable requirement to have a dedicated [not fix] ip address, when i want to use ssl on my domain? thank you happy Christmas! :)
2011 Jan 02
3
variable in loop
$ ASDF=hello; a=0; a=$(( 70 - $(echo $ASDF | awk '{print length}') )); echo "$a $ASDF"$(for i in {1..$a}; do printf "."; done) 65 hello. $ Why doesn't it print: 65 hello................................................................. What am i missing?
2011 Jan 22
5
Let's talk about compression rates
http://pastebin.com/raw.php?i=MwDnhknf $ ls -Sl total 461252 -rw-rw-r--. 1 g g 111709730 Jan 22 11:06 linux-2.6.37.zip -rw-rw-r--. 1 g g 93174605 Jan 22 11:03 linux-2.6.37.tar.gz -rw-rw-r--. 1 g g 73552510 Jan 22 11:10 linux-2.6.37.tar.bz2 -rw-rw-r--. 1 g g 66333786 Jan 22 11:16 linux-2.6.37.7z -rw-rw-r--. 1 g g 64035788 Jan 22 11:16 linux-2.6.37.tar.7z -rw-rw-r--. 1 g g 63480808 Jan 22
2011 Jan 19
7
Let's talk about HTTPS Everywhere
Ok. It's a Firefox Add-on: https://www.eff.org/https-everywhere Questions: 1) But: Why can't i find it on the offical Firefox Add-ons site?: https://addons.mozilla.org/en-US/firefox/ 2) Did anyone audited the "HTTPS Everywhere" code? 3) Can someone trust this Add-on? Is it safe to install/use? 4) If it's so great why isn't it more prevalent? What's youre
2010 Dec 29
5
Does anybody know a PeerGuardian like app?
Are there any programs blocking ip, and has frequently updated lists, like the peerguardian on windows? sorry for the question, but i looking for this kind of application :O Thank you, and a happy christmas!
2010 Dec 26
2
whats wrong with my internet connection checker script?
$ true && true || echo hi $ true && false || echo hi hi $ false && true || echo hi hi $ false && false || echo hi hi $ ping -W 1 -c 4 google.com >& /dev/null | grep -q "100% packet loss" && ping -W 1 -c 4 www.yahoo.com >& /dev/null | grep -q "100% packet loss" || echo "no internet connection" no internet connection
2010 Dec 27
2
what process is sending this packet?
I can see, that theres a program that keeps sending packets on port 25: Dec 27 14:11:46 a kernel: [ 6336.992320] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=61533 DF PROTO=TCP SPT=37263 DPT=25 WINDOW=32792 RES=0x00 SYN URGP=0 Dec 27 14:12:01 a kernel: [ 6352.635704] O_D_LOG: IN= OUT=lo SRC=127.0.0.1 DST=127.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=55853
2010 Dec 17
1
google chrome "big brother"
Google Chrome Terms of Service(Google Chrome executable),?BSD?(source code and Chromium executable except chromium 5 beta),BSD License?with proprietary parts (source code and chromium 5 beta executable, as it integrates?Adobe Flash Player?10.1[1])[2] http://en.wikipedia.org/wiki/Google_Chrome in my?interpretation, this means Google Chrome is fully open-source, only the flash player has proprietary
2011 Jan 01
1
set privoxy to rewrite http to https
I use the KB SSL Enforcer https://chrome.google.com/extensions/detail/flcpelgcagfhfoegekianiofphddckof?hl=en so i could browse the net safer [i mean webserver <-> me] with using https, if available. The problem is: e.g.: facebook... if i go to https://www.facebook.com/ that's ok, it's https. But all the links are "http" on the site.. if i click on a "http"
2011 Jan 04
1
why is this html looks like this?
soruce code of the html file: http://img443.imageshack.us/img443/6448/sourcey.png it looks like this in the realiy: http://img443.imageshack.us/img443/6448/sourcey.png WHY? if i put it in "< pre >", then it's good. but if it isn't in "< pre >" then the lines ends are random. why dont they end in the same vertical line? thank you, and sorry for askin
2010 Dec 25
4
2 Ethernet cabling question
Two questions that was not always clear for me [sorry for posting to this list :\]: ############################################################################################## Q1) when cabling, is the color order important? like: straight cabling: A side: white-orange, orange, white-green, blue, white-blue, green, white-brown, brown B side: white-orange, orange, white-green, blue,
2008 Aug 08
1
increment size in for loop
Hi everyone, Is there a way to vary the increment size in a for loop? For e.g. when incrementing in steps greater than unity. Thanks, rcoder -- View this message in context: http://www.nabble.com/increment-size-in-for-loop-tp18893893p18893893.html Sent from the R help mailing list archive at Nabble.com.
2015 Feb 14
3
C5 BASH IF
On 02/14/2015 12:03 PM, Les Mikesell wrote: > On Sat, Feb 14, 2015 at 11:36 AM, J Martin Rushton > <martinrushton56 at btinternet.com> wrote: >> <snip> >>> To understand it completely you need to know the order of >>> operations as the shell makes multiple passes over the line, >>> parsing, processing metacharacters, and expanding variables. And
2015 Feb 14
2
C5 BASH IF
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/02/15 16:53, Les Mikesell wrote: <snip> > To understand it completely you need to know the order of > operations as the shell makes multiple passes over the line, > parsing, processing metacharacters, and expanding variables. And > I don't know where to find a concise description of that any more. man bash, about 900
2020 Jul 23
4
Off Topic bash question
Thanks, when I change it do the following I get a syntax error #!/bin/bash # while read LINE do echo $LINE done < cat list.txt ./test_bash.sh ./test_bash.sh: line 6: syntax error near unexpected token `list.txt' ./test_bash.sh: line 6: ` done < cat list.txt'
2005 Mar 09
6
auto increment id
looking at the unit tests of activerecord leads me to think the db is completely responsible for auto-incrementing the id field and rails does no magic here. can someone confirm that this is a true statement? that being the case - what is the preferred way to write database agnostic sql for one''s schema since each of the dbs has slightly different syntax for this functionality... does
2010 Dec 11
4
"ultimate" backup choice
i have: "SERVER A" "SERVER B" with "full root permisson" [ssh, etc] each server has a folder. i want to backup a folder in "SERVER A". are there any backup methods, that meets these two requirements? : 1) running from e.g.: a cronjob 2) when running, it just checks the folder in "SERVER A" and "SERVER B". if a file/folder has been
2015 Apr 24
4
Real sh? Or other efficient shell for non-interactive scripts
On Fri, Apr 24, 2015 at 10:38:25AM -0400, m.roth at 5-cent.us wrote: > Fascinating. As I'd been in Sun OS, and started doing admin work when it > became Solaris, I'd missed that bit. A question: did the license agreement > include payment, or was it just restrictive on distribution? In 1990, when I started using ksh88, it was totally commercial. Binaries were $$$ and source was
2006 Jul 12
3
Most efficient way to "increment" a string?
I have members with usernames. In the event that a new member requests an already-existing username, I''d like to automatically "increment" a next-best string: johnny johnny1 johnny2 Knowing RoR, my gut tells me there''s some elegant, concise way to do this, but I can''t think of it. Any advice? -- Posted via http://www.ruby-forum.com/.