tag:blogger.com,1999:blog-8908007078853642865.comments2023-10-26T07:55:37.152-05:00system("rm -rf /");Richard Lihttp://www.blogger.com/profile/10372929728933063306noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-8908007078853642865.post-58562149992727281482022-10-18T00:55:24.592-05:002022-10-18T00:55:24.592-05:00Awessome blog you have hereAwessome blog you have hereGreeley Locksmithhttps://www.locksmith-repairs.com/us/key-cutting-colorado/greeley-locksmith.shtmlnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-47334510637056386062022-06-27T21:05:43.932-05:002022-06-27T21:05:43.932-05:00This was lovely tto readThis was lovely tto readStacyhttps://www.stacymorley.com/noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-75838057959669476402020-05-20T00:32:19.901-05:002020-05-20T00:32:19.901-05:00TouchTec is a leading company in region with more ...TouchTec is a leading company in region with more than 10 years of experience that provides Security, Safety and Surveillance Solutions with high assurance to improve security and efficiencies for identity management, access to critical facilities, intelligence analysis, guest worker programs, and national identity programs<br /><a href="https://touchtec.in/projects/" rel="nofollow">CCTV for School</a><br /><a href="https://touchtec.in/projects/" rel="nofollow">Cctv Camera for Office</a>Touch Techttps://www.blogger.com/profile/16148332533589455657noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-20275272583230800482018-08-02T20:55:25.626-05:002018-08-02T20:55:25.626-05:00find -print0 | while IFS= read -r -d $'\0'...find -print0 | while IFS= read -r -d $'\0' X<br /><br />avoids affecting $IFS outside the loopAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-23704767536261578322018-04-12T23:36:54.303-05:002018-04-12T23:36:54.303-05:00We are EW MOVERS Dubai
and Packers and does not h...We are <a href="https://www.ewmoversdubai.com/" rel="nofollow">EW MOVERS Dubai</a><br /> and Packers and does not hire contract or temporary labour.<br />EW Movers in Dubai, U.A.E. is a company that offers the best local Dubai Movers and international relocation, furniture installation and self-storage.<br /><br />Anonymoushttps://www.blogger.com/profile/12919634911179426489noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-67905657676922190742018-01-18T05:30:39.385-06:002018-01-18T05:30:39.385-06:00very nice post. It is so helpful to student's....very nice post. It is so helpful to student's.. you can also visit here <a href="http://www.ssdntech.com/linux-administrator-training.aspx" rel="nofollow">linux training in delhi</a>.. Thanks for sharing this nice post..!!Anuradha Singhaniya https://www.blogger.com/profile/04752670279738810101noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-41471676686537539502017-07-11T19:20:58.671-05:002017-07-11T19:20:58.671-05:00Thanks for the tip! I was playing around with this...Thanks for the tip! I was playing around with this some more and I have a slight possible improvement. In your example, the "while" command runs in a subshell. So if the commands try to set variables, the rest of the script won't see them. Instead, you can make the left hand side run in a subshell instead, like this:<br /><br />while IFS="" read -r -d $'\0' x ; do<br /> echo ">>$x<<"<br /> last_found="$x"<br />done < <( find -name \*.txt -print0 )<br />echo "last_found = $last_found"<br /><br />IFS="" stops the line being read being broken up into words.Anonymoushttps://www.blogger.com/profile/03151009140139478763noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-79649593555007422562017-07-11T19:16:41.925-05:002017-07-11T19:16:41.925-05:00However, being explicit about it, using -d $'\...However, being explicit about it, using -d $'\0' rather than '', makes it obvious what you're expecting the delimiter to be. Readability!Anonymoushttps://www.blogger.com/profile/03151009140139478763noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-32474685141511806172017-07-10T23:07:38.654-05:002017-07-10T23:07:38.654-05:00Hi, Very informative Article. There is so much in...Hi, Very informative Article. There is so much information about the Linux. Keep it up and thanks for the great content. Bookmarked your site.<br /><a href="%E2%80%9D" rel="nofollow">Linux Online Training</a><br /><a href="%E2%80%9D" rel="nofollow">Linux Training in Hyderabad</a><br /><a href="%E2%80%9D" rel="nofollow">Linux Online Training in India</a><br /><a href="%E2%80%9D" rel="nofollow">Linux Training</a><br /><a href="%E2%80%9D" rel="nofollow">Linux Certification</a><br /><a href="%E2%80%9D" rel="nofollow">Online Linux Training</a><br /><a href="%E2%80%9D" rel="nofollow">Linux Online Training in Hyderabad </a><br /><a href="%E2%80%9D" rel="nofollow">Linux Training in India </a>Linux Online Traininghttp://www.courseing.com/learn/linux-fundamental-online-trainingnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-65830719639122065192016-12-06T23:43:01.107-06:002016-12-06T23:43:01.107-06:00I am cheerful to see this you tube video at this w...I am cheerful to see this you tube video at this web site, so right now I am also going to add all my video clips at YouTube web site.<br /><br /><a href="https://www.trantechsecurity.com.au/products/intercoms/dorani" rel="nofollow">Dorani intercom</a>Allenbrayanhttps://www.blogger.com/profile/04593221252630918589noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-40956444610121336742015-10-19T19:51:48.096-05:002015-10-19T19:51:48.096-05:00tods outlet
prada shoes
north face rain jackets
ug...<a href="http://www.todsshoesoutlet-inc.com" rel="nofollow"><b>tods outlet</b></a><br /><a href="http://www.pradashoes-outlet.com" rel="nofollow"><b>prada shoes</b></a><br /><a href="http://www.thenorthface-rain-jackets.com" rel="nofollow"><b>north face rain jackets</b></a><br /><a href="http://www.uggboots.us.org" rel="nofollow"><b>ugg boots sale</b></a><br /><a href="http://www.coachfactoryoutletonline-site.com" rel="nofollow"><b>coach factory outlet</b></a><br /><a href="http://www.outlet-gucci.us.com" rel="nofollow"><b>gucci handbags</b></a><br /><a href="http://www.coachonlineoutlet-inc.com" rel="nofollow"><b>coach online outlet</b></a><br /><a href="http://www.coachoutletonlinestorewebsite.com" rel="nofollow"><b>coach outlet online</b></a><br /><a href="http://www.guccioutlet.lux-sale.com" rel="nofollow"><b>gucci bags</b></a><br /><a href="http://www.nikeoutletstoreonlineshopping.com" rel="nofollow"><b>nike outlet store online shopping</b></a><br /><a href="http://coachpurse.outlet-site.com" rel="nofollow"><b>coach purse</b></a><br /><a href="http://www.uggbootsonsale70off.net.co" rel="nofollow"><b>ugg boots sale</b></a><br /><a href="http://www.coachfactoryoutletonline.net.co" rel="nofollow"><b>coach factory outlet</b></a><br /><a href="http://www.hermesbeltoutletinc.com" rel="nofollow"><b>hermes belt</b></a><br /><a href="http://www.ghdhairstraighteners-inc.com" rel="nofollow"><b>ghd</b></a><br /><a href="http://www.cheap--jordanshoes.com" rel="nofollow"><b>cheap jordans</b></a><br /><a href="http://www.nikeoutletstoreonlineshopping.com" rel="nofollow"><b>nike outlet store online</b></a><br /><a href="http://www.jordan-11-shoes.com" rel="nofollow"><b>jordan 3</b></a><br /><a href="http://www.kevindurantshoes-inc.com" rel="nofollow"><b>kd shoes</b></a><br /><a href="http://www.coach-wallets.com" rel="nofollow"><b>coach wallets outlet</b></a><br /><a href="http://www.oakleyoutletwebsite.com" rel="nofollow"><b>oakley sunglasses outlet</b></a><br /><a href="http://burberryscarfoutlet.officialoutletstore.com" rel="nofollow"><b>burberry scarf</b></a><br /><a href="http://www.christian-louboutin-outlet.us.com" rel="nofollow"><b>christian louboutin shoes</b></a><br /><a href="http://www.cheapnorthfacejackets.in.net" rel="nofollow"><b>north face clearance</b></a><br /><a href="http://www.northface-outlet70off.com" rel="nofollow"><b>north face outlet 70% off</b></a><br /><a href="http://www.michaelkorsoutlet-onlinesale.in.net" rel="nofollow"><b>michael kors sale</b></a><br /><a href="http://www.tods--shoes.com" rel="nofollow"><b>tods</b></a><br /><a href="http://www.abercrombieandfitch-coupons.com" rel="nofollow"><b>abercrombie promo code</b></a><br /><a href="http://www.hollister--outlet.com" rel="nofollow"><b>hollister outlet store</b></a><br /><a href="http://www.tomsshoesoutlet-site.com" rel="nofollow"><b>toms outlet</b></a><br /><a href="http://www.thenorthface--clearance.com" rel="nofollow"><b>the north face clearance</b></a><br /><a href="http://www.northfacewomensjackets.com" rel="nofollow"><b>north face jackets</b></a><br /><a href="http://www.coachtotebags-sale.com" rel="nofollow"><b>coach tote</b></a><br /><a href="http://www.abercrombie-kids.com.co" rel="nofollow"><b>abercrombie</b></a><br /><a href="http://www.louboutinoutlet.eu.com" rel="nofollow"><b>louboutin shoes</b></a><br /><a href="http://www.joesnewbalance-outlet.com" rel="nofollow"><b>new balance outlet</b></a><br />20151020yxj-2Anonymoushttps://www.blogger.com/profile/15722128207412632041noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-21423998831892190902015-10-19T19:50:24.066-05:002015-10-19T19:50:24.066-05:00north face coats for women
north face outlet
cheap...<a href="http://www.northfacecoatsforwomensite.com" rel="nofollow"><b>north face coats for women</b></a><br /><a href="http://www.northfacecoatsforwomensite.com" rel="nofollow"><b>north face outlet</b></a><br /><a href="http://www.michael-kors-outlet.com.co" rel="nofollow"><b>cheap michael kors bags</b></a><br /><a href="http://www.canadagoose--coats.com" rel="nofollow"><b>canada goose outlet</b></a><br /><a href="http://www.vansshoesoutlet-store.com" rel="nofollow"><b>vans shoes outlet store</b></a><br /><a href="http://www.northfacejackets--clearance.com" rel="nofollow"><b>north face clearance</b></a><br /><a href="http://www.tomsoutletsite.com" rel="nofollow"><b>toms outlet</b></a><br /><a href="http://www.ferragamobelt.us.com" rel="nofollow"><b>salvatore ferragamo belt</b></a><br /><a href="http://www.ralphlaurenfactory-store.com" rel="nofollow"><b>ralph lauren factory store</b></a><br /><a href="http://www.kevindurantshoes-inc.com" rel="nofollow"><b>kevin durant shoes</b></a><br /><a href="http://www.cheapnorthfacejackets.in.net" rel="nofollow"><b>cheap north face</b></a><br /><a href="http://www.ralphlaurenshirtsforwomen.com" rel="nofollow"><b>polo shirts for women</b></a><br /><a href="http://www.fitflopfootwearoutlet.com" rel="nofollow"><b>fitflops sale</b></a><br /><a href="http://www.coachtotebags-sale.com" rel="nofollow"><b>coach sale</b></a><br /><a href="http://www.northfacesaleweb.com" rel="nofollow"><b>north face sale</b></a><br /><a href="http://www.underarmouroutlet-sale.com" rel="nofollow"><b>under armour outlet</b></a><br /><a href="http://www.fitflopoutletonline-inc.com" rel="nofollow"><b>fitflop outlet online</b></a><br /><a href="http://www.northfacebackpacksale.us.com" rel="nofollow"><b>kids north face jackets</b></a><br /><a href="http://www.fitflopoutletusa.com" rel="nofollow"><b>fitflop outlet store usa</b></a><br /><a href="http://www.fendihandbags-outlet.com" rel="nofollow"><b>fendi handbags</b></a><br /><a href="http://www.ralphlaurenshirtsforwomen.com" rel="nofollow"><b>polo shirts women</b></a><br /><a href="http://www.clarksshoesoutlet-sale.com" rel="nofollow"><b>clarks shoes sale</b></a><br /><a href="http://www.michael-kors-outlet.net.co" rel="nofollow"><b>michael kors outlet</b></a><br /><a href="http://www.fitflopssaleclearancesite.com" rel="nofollow"><b>fitflops sale</b></a><br /><a href="http://www.coachfactoryoutletonlinestore.us.com" rel="nofollow"><b>coach factory outlet</b></a><br /><a href="http://www.northfacewomensjackets.com" rel="nofollow"><b>north face women's jackets</b></a><br /><a href="http://www.northfacebackpacksale.us.com" rel="nofollow"><b>north face jackets clearance</b></a><br /><a href="http://www.hermes--outlet.us" rel="nofollow"><b>hermes outlet online</b></a><br /><a href="http://www.coachfactoryoutletonline-site.com" rel="nofollow"><b>coach factory</b></a><br /><a href="http://www.montblancpenssale-inc.com" rel="nofollow"><b>mont blanc pens sale</b></a><br /><a href="http://www.rolexwatchesoutlet-inc.com" rel="nofollow"><b>rolex watches for women</b></a><br /><a href="http://www.michaelkors-handbags.name" rel="nofollow"><b>michael kors sale</b></a><br /><a href="http://www.abercrombie-kids.com.co" rel="nofollow"><b>abercrombie and fitch</b></a><br /><a href="http://www.jordan-11-shoes.com" rel="nofollow"><b>jordan 11</b></a><br /><a href="http://www.poloralphlaurenfactorystoreusa.com" rel="nofollow"><b>polo ralph lauren factory store</b></a><br /><a href="http://www.tods--shoes.com" rel="nofollow"><b>tods outlet</b></a><br />20151020yxj-1Anonymoushttps://www.blogger.com/profile/15722128207412632041noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-59690308436591860842015-05-08T00:19:39.401-05:002015-05-08T00:19:39.401-05:00what are the bad effects of using compat31 options...what are the bad effects of using compat31 options as:<br />shopt -s compat31.<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-88103697490423365432015-02-19T19:49:04.698-06:002015-02-19T19:49:04.698-06:00Moi-même je ne sais pas non plus pourquoi
Vraiment...Moi-même je ne sais pas non plus pourquoi<br />Vraiment Merci !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-21445159693821477392014-08-28T17:23:29.688-05:002014-08-28T17:23:29.688-05:00if [[ -z $(read -r -p "Hi there null:" i...if [[ -z $(read -r -p "Hi there null:" imNULL) ]];then<br />echo "true"<br />else<br />echo "you are not nothing you are nothing not even null"<br />fiAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-79281568008615459592014-05-03T06:04:37.791-05:002014-05-03T06:04:37.791-05:00oups, just saw your last paragraph about this ! ;)...oups, just saw your last paragraph about this ! ;) A good lesson that I should read the entire post carefully before answering ;)vaabhttp://vaab.blog.kal.frnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-5450955142485545362014-05-03T06:01:19.515-05:002014-05-03T06:01:19.515-05:00Hi, you're misleaded: $'\0' won't ...Hi, you're misleaded: $'\0' won't ever be a valid command line argument as NUL character is not a valid character for command lines and variable in bash. What happens here is that \0 is silently removed, and what you are doing is:<br /><br />read -r -d '' X<br /><br />which happens to be understood by read as separating on the NUL character. You can try your example by removing $'\0' it'll work the same.<br /><br />Remember: variable and command line argument can't hold NUL characters: they are silently skipped (it's the only char they can't hold). Of course, pipes support all binary data: so you can write or read NUL characters.vaabhttp://vaab.blog.kal.frnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-17966408030769770002014-02-06T09:37:36.002-06:002014-02-06T09:37:36.002-06:00Nice find, but sadly read still trims values, so f...Nice find, but sadly read still trims values, so filenames cannot have spaces at the end:<br /><br />echo -e ' test \0 string ' |<br />{ read -rd '' s; read -rd '' x; echo "-$s- -$x-" | od -tx1z; }<br /><br />0000000 2d 74 65 73 74 2d 20 2d 73 74 72 69 6e 67 2d 0a >-test- -string-.<<br /><br />But sometimes there is a workaround<br /><br />find . -printf "%p.\\0" |<br />while read -rd '' name;<br />do name="${name%.}";<br />echo "-$name-";<br />done <br />Tinohttps://www.blogger.com/profile/04802985702436738056noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-35796192353954780342013-02-22T08:42:01.645-06:002013-02-22T08:42:01.645-06:00If you don't need to split the line, just its ...If you don't need to split the line, just its whole content (ie. when reading filenames), you can use that:<br /><br />IFS=;<br />find -print0 | while read -r -d $'\0' X<br /><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-38773601723784153682012-11-09T05:27:01.656-06:002012-11-09T05:27:01.656-06:00Thanks, this post helps me much.Thanks, this post helps me much.Andrey Tataranovichhttps://www.blogger.com/profile/08081249568199801233noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-27020468224295535532012-06-25T08:07:49.736-05:002012-06-25T08:07:49.736-05:00Very useful for reading /proc/$$/cmdlineVery useful for reading /proc/$$/cmdlineAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-91764259719205626872012-05-03T19:10:22.851-05:002012-05-03T19:10:22.851-05:00Hmm, I discovered this same thing today myself, th...Hmm, I discovered this same thing today myself, then I realized: it is still not safe! It appears to handle the null just fine, but it cannot handle trailing newlines, they are still gobbled up. Someone should fix 'read' to not do gobble them when the delimiter is null. <br /><br />The 'readarray' command strangely does support trailing newlines (it actually keeps them in the array), but since it does not support defining an alternate delimiter (such as null) it is of no use!!!<br /><br />But ultimately, it would be better if IFS supported null, then you could actually assign the values to an array without loosing your context (a problem which makes 'readarray' and 'read' way less useful even if they worked properly).Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-87008177082378982762012-02-10T12:57:27.484-06:002012-02-10T12:57:27.484-06:00Don't forget to quote the $x as in "$x&qu...Don't forget to quote the $x as in "$x" :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-23656080039655419962011-06-02T19:38:42.092-05:002011-06-02T19:38:42.092-05:00Microsoft is right, virtual memory is for providin...Microsoft is right, virtual memory is for providing more memory than what is physically available. Swapping is the mechanism for achieve it.<br /><br />You could use "Virtual memory space" instead "Virtual memory" (if you want no be confused)Felipe Astrozahttps://www.blogger.com/profile/03409839299720235173noreply@blogger.comtag:blogger.com,1999:blog-8908007078853642865.post-3517134482799003872011-05-26T09:49:52.600-05:002011-05-26T09:49:52.600-05:00try opening /proc/PID/fd/FDtry opening /proc/PID/fd/FDAnonymousnoreply@blogger.com