• General Linux Chat and Small Questions
    3,153 replies, posted
[url=http://bellard.org/jslinux/]this is awesome[/url]
Sorry for late reply. [QUOTE=PvtCupcakes;29808508]Do "which ls" and "which less" and it will tell you what file is being executed when you run those commands.[/QUOTE] [code]arvid@hal9000:~$ which ls /bin/ls arvid@hal9000:~$ which less /usr/bin/less [/code] [QUOTE=Wyzard;29805076]Do you get these results running "ls" by itself? How about if you pipe something else into "less" instead? If you run "file /usr/bin/less", what does it say?[/QUOTE] No, just ls works fine. Same result whatever i pipe. [code]arvid@hal9000:~$ file /usr/bin/less /usr/bin/less: symbolic link to `/bin/less' arvid@hal9000:~$ file /bin/less /bin/less: ASCII text [/code] I opened less with gedit. It contains what looks like a list of all acceptable commands (output of help or something). It seems like i have, at some point, typed command > less. Derp. I guess this is why you need to be careful when using root... Anyway, this means that i need a copy of /bin/less. Anyone care to paste or give me a link? Also, I feel like I have wasted your time with my incompetence and thoughtlessness. I'd like to apologize for that.
Anyone super familiar working with Awesome widgets? I can't fucking figure out how to properly set a battery monitor widget up in rc.lua.
[QUOTE=Surma;29883713]Anyway, this means that i need a copy of /bin/less. Anyone care to paste or give me a link?[/QUOTE] apt-get install --reinstall less It'd also be a good idea to install the "debsums" package (assuming it's available in Ubuntu like it is in Debian; I haven't checked). That stores MD5 hashes of all the files installed by packages, so they can be checked for modifications later.
[QUOTE=Roo-kie;29882455][url=http://bellard.org/jslinux/]this is awesome[/url][/QUOTE] They put hello.c into the home directory but you don't even get a compiler?
[QUOTE=PvtCupcakes;29885956]They put hello.c into the home directory but you don't even get a compiler?[/QUOTE] It has tcc
[QUOTE=joemomma53;29887667]It has tcc[/QUOTE] Yeah, but there's no cc symlink. It's not like which tcc is the first thing you do, especially since most people are used to using clang or gcc. [editline]17th May 2011[/editline] Actually maybe someone should email the author and ask him if he could put a cc symlink in for convenience? [editline]17th May 2011[/editline] Or maybe a default profile file that does export CC=tcc
[QUOTE=esalaka;29887781]Yeah, but there's no cc symlink. It's not like which tcc is the first thing you do, especially since most people are used to using clang or gcc. [editline]17th May 2011[/editline] Actually maybe someone should email the author and ask him if he could put a cc symlink in for convenience? [editline]17th May 2011[/editline] Or maybe a default profile file that does export CC=tcc[/QUOTE] Try looking at the source, it explains how to compile it.
Not surprised to see this thread full of Firefox and Chrome-users.
[QUOTE=nos217;29888276]Try looking at the source, it explains how to compile it.[/QUOTE] Oh. Well. I just made me a nonprivileged account immediately anyway :v: [editline]17th May 2011[/editline] [QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] What do you mean specifically here?
[QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] I'm sure most of us installed internet explorer on linux.
[QUOTE=Joker169;29889016]I'm sure most of us installed internet explorer on linux.[/QUOTE] Doesn't Wine Internet Explorer fake the IE user-agent string, by the way? :3:
[QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] you mean this forum? very few people use here use IE, and Opera is cross platform and not all that popular on either platform anyway
As a new linux user, should I get Fedora or OpenSUSE? I tried Ubuntu but I just didn't like it for some reason.
I'm say OpenSUSE. If you want a third choice for for Mint. [editline]17th May 2011[/editline] I also would love some help if anyone knows how to properly set widgets up in Awesome. I cannot fucking figure it out.
[QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] Okay? Isn't that a given?
I'd suggest opensuse against fedora. I think that arch would be a fine next step afterwards.
[QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] maybe you could embed a hidden image in your post and get the stats yourself :v:
[QUOTE=Wyzard;29885535]apt-get install --reinstall less It'd also be a good idea to install the "debsums" package (assuming it's available in Ubuntu like it is in Debian; I haven't checked). That stores MD5 hashes of all the files installed by packages, so they can be checked for modifications later.[/QUOTE] *hugs*
[QUOTE=Roo-kie;29902967]maybe you could embed a hidden image in your post and get the stats yourself :v:[/QUOTE] well that's certainly not necessary anymore lol [editline]18th May 2011[/editline] linux (unidentifyable)
[QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] Oddly, not everybody seem to use linux.
why is it odd
[QUOTE=nikomo;29888758]Not surprised to see this thread full of Firefox and Chrome-users.[/QUOTE] Chromium*
The linux icon doesn't say what distribution :(
I found out why my wireless was being slow, apparently the ath9k driver included with the kernel is a load of shit so I followed this to install a later version: [url]http://wireless.kernel.org/en/users/Download#Download_latest_Linux_wireless_drivers[/url] Reboot, kernel panic, balls fuck. EDIT: Back in, I removed the driver, that was an exciting first experience Found the solution at last: [url]http://forums.debian.net/viewtopic.php?f=7&t=62979[/url]
I've been fighting a little bit with Debian 6 to get 3D working properly. After purging xorg several times and reinstalling Debian a few times, I figured out that I didn't have firmware-linux-nonfree installed...
[QUOTE=FPtje;29906032]The linux icon doesn't say what distribution :([/QUOTE] Messing around with my user agent. [editline]18th May 2011[/editline] Nope that didn't do anything.
[QUOTE=PvtCupcakes;29911494]Messing around with my user agent. [editline]18th May 2011[/editline] Nope that didn't do anything.[/QUOTE] changed my user agent and now it's broken, oh well
How do I extract a .mdf file without using mount as mounting does not work on OpenVZ. Unrar returns "This is not a rar file" so that wont work either. My provider won't help me with this either, [quote]Mounting is not allowed on openvz, you need Xen VPS. Cheers, Joe S[/quote] But that isnt a option here.
.mdf is a proprietary CD/DVD image format. Your best bet would be to find a program to convert it to a conventional .iso file, because some archiving tools can extract those. I don't know of anything that supports .mdf other than Alcohol 120% (on Windows) though.
Sorry, you need to Log In to post a reply to this thread.