The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
45 views

netstat command doesnt work anymore on the new dedicated server

I was using the following command on my previous dedicated server with the same version of the FreeBSD installation: # uname -a FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 ...
3
votes
2answers
180 views

Mac OS X command-line tools - differences from FreeBSD

As I understand it many Mac OS X command-line tools (like ls, cp, chmod, chown etc.) are imported from FreeBSD. Which version of FreeBSD contains the command-line tools most compatible with the OS X ...
2
votes
1answer
179 views

new distros cause segmentation fault of old binary

I have an elderly (~1999) and unfortunately commercial graphic program that runs perfectly OK on systems with gcc up to 3.4.6 (CentOS 4.8). However, in all distributions based on gcc 4.* that I've ...
6
votes
3answers
123 views

forward vs. backward symlinks: administrative practice?

I'm wondering how other people feel about forward symlinks: are they safe? Good practice? Depends? The reason I ask is that apparently in the linux desktop world, there seems to be a push by ...
4
votes
2answers
286 views

What would break if the C locale was UTF-8 instead of ASCII?

The C locale is defined to use the ASCII charset and POSIX does not provide a way to use a charset without changing the locale as well. What would happen if the encoding of C were switched to UTF-8 ...
0
votes
2answers
129 views

Which process updates /proc/scsi/scsi?

I wrote C that displays info about my hardware on ubuntu. Now I wonder how I can make it more flexible such as querying the hardware directly instead of the file the os updates. So I think I can look ...
12
votes
4answers
2k views

Universal Node.js shebang?

Node.js is very popular these days and I've been writing some scripts on it. Unfortunately, compatibility is a problem. Officially, the Node.js interpreter is supposed to be called node, but Debian ...
25
votes
1answer
1k views

Oldest binary working on Linux?

In a discussion on backwards-compatibility in Linux kernel and GUI ABIs, Alan Cox notes that "my 3.6rc kernel will still run a Rogue binary built in 1992. X is back compatible to apps far older than ...
6
votes
1answer
714 views

Are dash, ash and sh script 100% compatible?

I wanted to know whether scripts written for dash, ash, and sh are 100% compatible? Are there any added features to dash or ash, or syntax change? From what I heard, ash is a direct descendant of ...
5
votes
3answers
1k views

Is Ubuntu LTS binary compatible with Debian?

RedHat and CentOS are binary compatible. So everything that works on the one will most propably work on the other (same RPMs, same libs, same versions, same dependencies)... Does the same hold true ...
2
votes
0answers
524 views

Viewing .doc and .docx documents with MathType equations on Linux

Is there a way to view .doc and .docx documents with embedded MathType equations on Linux? When I try to open them with LibreOffice, I get blank boxes where the math is supposed to be - the same ...
8
votes
1answer
642 views

python == python2 OR python == python3 ? How to package, distribute python py2k scripts?

Depending on system, python==python2 or python==python3. Executable Python scripts, starts with: #!/usr/bin/env python #!/usr/bin/env python2 #!/usr/bin/env python3... For python py3k it is ...
2
votes
3answers
508 views

How universal is the -L (dereference symlink) switch of the 'ls' command?

I have some software that, among other things, needs to: Assess a file's rwxrwxrwx permissions; Work under every possible flavor of Unix and Linux you can find in the wild. Currently, it does that ...
1
vote
0answers
112 views

Shockwave for Linux: The status today [closed]

I cannot for example, run this educational simulation in FF 7.01 Kubuntu 11.04 64-bit. Oh how Macromedia deprives us! I tried Gnash GNU but it doesn't seem to work... I and hundreds of thousands of ...
13
votes
3answers
424 views

When does `ls -s` print “0”

Of course, the standard way of testing if a file is empty is with test -s FILE, but one of our clients have received a script containing tests like this: RETVAL=`ls -s ./log/cr_trig.log | awk '{print ...
0
votes
1answer
281 views

setting Cygwin's $HOME to Windows profile directory

Are there any drawbacks to having Cygwin and Windows share the same $HOME directory, in this case the Windows profile directory?
6
votes
1answer
2k views

Can new glibc versions be used with an old kernel?

Apparently glibc can be compiled with --enable-kernel to support older kernel versions. However, I haven't been able to find information on what kernel versions are supported on a particular glibc ...
7
votes
4answers
3k views

Is there something like wine to run OSX apps on linux?

This question answers why Linux can't run OSX apps, but is there some application similar to Wine that allows one to do so?
14
votes
1answer
753 views

Is cygwin like wine, but for linux applications?

Does cygwin work line wine, providing a compatibility layer inside a foreign os?
19
votes
4answers
5k views

What makes OSX programs not runnable on Linux?

I know there are many differences between OSX and Linux, but what makes them so totally different, that makes them fundamentally incompatible?
4
votes
2answers
704 views

dash compatibility to bash

Wikipedia says that dash executes faster than bash. My question is, if I set /bin/sh to dash, will all scripts that use /bin/sh in their shebang line that was intended for bash work under dash?
33
votes
8answers
4k views

Which laptop is most compatible with Linux?

I've always been unlucky with regards to choosing a laptop that I can install Linux on. If it's not the wireless card that's not working out of the box, it's the video card. Also, I'm still not able ...