| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> ok <1> I think I'll do an `echo 0 > /proc/sys/net/ipv4/ip_forward` then be the hero after m***es of students come up to my room begging me to fix their Internet access. <2> heh <3> samaha-, find dir -type f -printf "%H %f\n" | while read DIR FILE; do echo mv "$DIR/$FILE" "$DIR/$(sed 's,.*,\L&,g' <<< "${FILE//*\//}")" ; done <3> samaha-, or use 'rename'. :p <3> (you will need bash3 for this) <4> jeian: might actually get laid! <4> j/k <2> if you have krename, you can even do that in a gui <2> heh <1> I'm on #linux, what are the odds of that? :P <2> Jabberwock: or, at the very least, some free beer <2> heh <4> true <2> jeian: hey now! i have been known to get laid <1> ;D
<0> im not using bash even <1> What I meant to say: "I go to one of the most conservative Catholic schools in the country, what are the odds of that?" <3> samaha-, use 'rename' then, if you have it <5> is there a RSS (or more) feeds on the new kernel relases as well as the fixes done? <0> i checked.. dont have it <6> heh what distro doesn't have rename <3> install it then <3> fire-eyes, a lot <3> and a lot have different versions of them too <6> lame. <7> umm <7> samaha-, you want to lowercase the filenames in a directory? <0> yea <3> try this samaha-, find dir -type f -printf "%H %f\n" | while read DIR FILE; do echo mv "$DIR/$FILE" "$DIR/$(echo "$FILE" | sed 's,.*,\L&,g')" ; done <7> if it's more than the first character, will that hurt anything? <7> or is it simply the case that only the first character is uppercase? <0> second option nibble <3> the whole sentence needs to be lowercase <7> samaha-, yes n |for i in *[A-Z]* ;do j="`echo ./$i |tr 'A-Z' 'a-z'`" ;mv -i -- "./$i" "./$j" ;done <7> samaha-, several levels of paranoid in that commandline, to avoid trashing files in event of name conflict <3> you should add a [ -f $i ] <7> this will take "FooBar" and make it "foobar" <3> it will do it to directories too though <8> what's the different and use of the srpms and rpms <9> rpms are binary <9> others are source <10> Bonsoir la nibble <8> can i use the source to install ? <3> and also no need to put it in $j <9> yes, though i dont know the process <9> but to install the binary its pretty simple, su -c 'rpm -Uvh package.rpm' <7> Bonsoir toi! <3> nibble, for i in *[A-Z]* ; do [ -f "$i" ] && echo mv -i -- "$i" "`echo $i | tr 'A-Z' 'a-z'`" ; done <3> :p <11> so I downloaded openoffice, got it unzipped into the tmp folder which now it created it own folder in the tmp. How do I go about installing? thx in advance <12> read the readme <2> consumed: the source ? <7> yep, could also check that there is no directory called $j <12> consumed: whats your distro <7> that's not a bad idea <7> but I did it in two secs <11> Fedora c5 <12> your distro honestly should already have and OO package <7> you DO realize that techdeck, do you? <12> consumed: then you need to learn to use pup and pirut and yum <3> nibble, aye <7> I'd just go for: test -f "$i" || continue <12> consumed: you will screw things up the way you are going <3> nibble, same same :p <11> I'm learning, if I screw it up I will just reinstall. Only way to learn <12> consumed: or you read first <12> then follow instructions <12> do things right the first time every time <11> lol, common... what guy really reads the manual? <3> nibble, oi I wanted to ask you something, can I /msg you? <12> linux guys <12> consumed: hence the phrase rtfm <7> sure <0> nibble I mean how the **** did you come up with that ????????????? <12> consumed: so I suggest you learn to use pirut
<12> consumed: in fact type it in <12> find open office in it, select it <12> enjoy <2> samaha-: experience and logical thinking <2> and a feeling for drama <2> ;) <11> ****, fedora 5 has open office already <0> I see <12> consumed: I said that already <0> thank you.. it worked :> <12> consumed: so if you dont start reading you will waste time and break things for nothing <3> thanks :D <7> np <2> HAH! <2> http://news.com.com/Microsoft+to+host+Linux+virtually/2100-7346_3-6056683.html?tag=nefd.top <7> samaha, if you want a pure (and portable) sed to lowercase just the first char, it's quite involved <7> samaha, sed 'h;s/.\(.*\)/\1/;x;s/\(.\).*/\1/;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/;G;s/\n//;' <3> haha <7> I think that'd do it, portably.. <7> Anyway, I'm out <7> later guys, have fun <3> later <0> thanks again and take care <3> nibble, sed has \L and \U <11> good mp3 player for linux? <3> they take care of lower/upper case for you <3> consumed, xmms, mpg321, amarok, mplayer . . . <7> Techdeck, gnu extensions <7> they're not portable. <7> can I go now? <2> nibble: no! you need to stay here <2> oh, shiney. <2> brb <7> *lix* <7> personally I'd consider awk the best solution. <7> ok <7> <- out. <2> later, good luck and see you <2> :) <7> awk '{ print tolower(substr($0,1,1)) substr($0,2) }' <7> <- REALLY out <2> tr would also work <7> yes, but not easily <2> :D <2> now GO! <2> :D <7> you'd have to break off the first character, echo that to tr, then rejoin the result with the rest of the original string <7> <- REALLY REALLY... out. <2> tr '[:upper:]' '[:lower:]' would make everything lowercase, granted <3> nibble? <3> nibble, I just got back, and he's using GNU <11> in terminal, whats the syntax to view a pic? <13> hi <13> any one <2> hrm.. how big in mm is the viewable screen of a 21" monitor ? <13> Enchanter_tim use linux? <14> anyway to undo last rm command? <2> lonetron: there isnt one <6> restore from backups or forget it <15> lonetron: if you have ext2 then look at http://www.stud.tu-ilmenau.de/~mojo/undelete.html <16> hey some one plz find me rules for debuggin a data base like testing it with range of values and styff <9> i wonder whats causing mplayer to execute itself <17> Hi All. <17> I am using Suse. <17> When I type service network restart 'It says command not found' <17> Howdo we restart services on Suse. <18> I would look in /etc/init.d or similar places. <17> What's in there? <17> Commands? <17> John_Dow_? <9> /etc/init.d/apache2 start, to start apache <18> Scripts might be there, you can run more on them.
Return to
#linux or Go to some related
logs:
#linux #allnitecafe #kl equestrian worldchat
#india santhiya india #allnitecafe #india nick vik Zyafet
|
|