@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6



Comments:

<0> hello people
<0> i have a dir containg only gif files.. how can i convert em to png?
<1> Use 'convert' from imagemagick
<0> but i dont wanna do it manualy for each gif..
<1> So write a script...
<2> nuxil: for file in *.gif; do convert $file `basename $file .gif`.png; done
<2> If the files have spaces in the names you'll have to quote stuff
<0> sekhmet thxz
<2> np
<2> That's a bash/sh-like construct btw, you can use that syntax for other stuff. If you're in (t)csh, ksh, etc, syntax may vary
<3> find /dir -iname *.gif -exec convert {} `basename {} .gif`.png \;
<3> should work as well
<2> Ahyup
<2> My line may whine if there's too many gifs in the dir
<3> sleepietime, 'nite
<4> i see alot of people with GPG dss public keys to be used to e-mail them



<4> how do i use these? where can i read more about them?
<1> hedpe: I have no real suggestions -- try poking around your mail client? kmail seems to have the right kind of options...
<5> guys I can't login as user..I always get permission denied to my shell(tried /bin/bash /bin/sh
<1> forevertheuni: Can you log in as any other user, eg: root ?
<5> yes
<5> root
<1> What happens when you: su - some_other_user
<5> I'll have to create one
<5> I've tried su user I had the same prob
<5> I'll try with new user
<1> ok
<5> nup
<5> same problem
<1> grep some_other_user /etc/p***wd
<5> normal
<5> testuser:x:1001:1002::/home/testuser:
<1> hmmm... no shell?
<1> chsh -s /bin/sh some_other_user
<5> nup
<5> permission dinied for /bin/sh
<1> ls -l /bin/sh
<5> lol
<5> /bin/sh -> /bash
<5> oh
<5> /bin/sh -> bash
<1> ln -sf /bin/bash /bin/sh
<1> ls -lL /bin/sh
<5> what does that do?
<1> (1) makes /bin/sh point to /bin/bash
<5> ..but....
<1> (2) tells me what /bin/sh ultimately resolves to now
<5> the same
<5> but if bash is not working
<1> Paste the line please
<5> lrwxrwxrwx 1 root root 4 Feb 15 22:40 /bin/sh -> bash
<1> ls -lL /bin/sh
<1> You installed your system 2 hours ago?
<5> I was updating stuff yes
<5> -rwxr-xr-x
<1> hmmm
<5> 1 root root 496976 Feb 15 22:40 /bin/sh
<5> chmod 777?
<1> nah, it's ok as it is...
<5> didn't work anyway :d
<1> Try running /bin/sh as root ?
<6> does anyone have experience getting a cvs server up and running and accessing it over ssh?
<5> it works
<1> chmod didn't work?
<5> but..if they are the same shell...shouldn't I install a new one?
<1> What was the error?
<5> no chmod worked..but I still can't loggin
<1> What's your umask, btw?
<5> kittenbot: for?
<1> root? Just try umask at the prompt
<5> 0022
<1> I ***ume that every was working before you tried upgrading your system?
<5> yesterday I could login as user
<5> it's a 2-3 day system
<5> I was compiling stuff..



<1> What's the output of that grep now, btw?
<1> The output now mentions the shell, right?
<5> I instaled tcsh...same error
<5> yes(it always have)
<1> The output your previously pasted didn't mention a shell...
<5> ups..sorry
<5> I'm in different computer
<5> probably I've not typed it here
<1> strace su - some_other_user | grep EACCES
<5> pl
<5> k
<5> I'll have to install strace
<5> just a sec
<1> ok
<1> erk
<1> strace su - some_other_user 2>&1 | grep EACCES
<7> Tom's root boot - how can I do a destructive disk test?
<7> isn't there a mkfs switch to forse it to scan ?
<5> kittenbot: I got nothing
<1> pipe it through less and take a look around, I guess...
<5> do you want all the output?
<5> it's what i'm doing
<1> Nah, that's be a might much to type...
<5> kittenbot: I can put it in pastbin
<1> That'd be good
<5> I have network from that computer
<8> hmm, funky
<8> i get a time difference of two consecutive clock_gettime(CLOCK_REALTIME,..) callse that's less than the clocks resolution
<8> reported by clock_getres
<8> i.e. 17000ns for two clock_gettime calls (one before a write to a printer port and the after the write)
<5> http://pastebin.com/556817
<5> kittenbot: :d
<1> I've just remembered a mistake I commonly make...
<1> Let's try: strace -f
<1> (I've aliased strace to 'strace -f' on my box.)
<5> http://pastebin.com/556825
<1> I don't suppose you'd happen to have a statically linked shell handy?
<5> I think I have
<5> bash.static
<1> kewl, let's try that
<5> it worked
<5> however with some error
<5> in /bin/dircolor
<5> -bash.static: /bin/sh: Permission denied
<5> -bash.static: /bin/dircolors: Permission denied
<5> -bash.static: initialize_job_control: setpgid: Operation not permitted
<5> (in reverse order)
<1> Don't know that that setpgid is about...
<1> I was thinking that it might be that you might have some library that cannot be access by a normal user...
<1> *accessed
<5> bash is linked to libreadline libhistory libncursesw libdl libc
<1> ls -lL them all :)
<5> libreadline -rw-r--r--
<1> Yep, that matches mine
<5> same to libncursesw
<5> libdl.so.2 -rwxr-xr-x
<5> same to libc.so.6
<5> it's the same as this system
<1> ls -lL /lib/ld*
<5> I have ld-2.3.6.so ld-linux.so.2
<5> both with -rwxr-xr-x
<1> ls -lR /lib | grep '^-' | cut -b5- | grep -v '^r'
<5> only one thing
<1> What is it?
<5> --x--x 1 root root 4772 Feb 15 02:41 upperLOWER
<9> all sorts of programs segfaulting, kicker, kwin, games, xterm. no sound from my primary sound output. machine totally locked up twice today. im thinking the upgrade to 2.6.15 was premature
<1> forevertheuni: Try running ldconfig ?
<5> kittenbot: I've already done that before
<1> Damn. I'm afraid I'm out of suggestions then :(
<1> mount | grep exec
<5> lol
<5> nothing
<1> ls -l /lib


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #linuxhelp
or
Go to some related logs:

dapper sound Intel ICH6
#web
iorn slax
Xubuntu X11 connection rejected because of wrong authentication
opensuse FastTrak TX2300
#python
limit directory size Linux
#perl
Fedora 6+runtime enviorment
resticted formats ubuntu



Home  |  disclaimer  |  contact  |  submit quotes