GNU is a 'nix operating system developed by the GNU project. GNU is normally used with the Linux kernel.

learn more… | top users | synonyms

3
votes
4answers
1k views

Dividing with Gnu's bc

I'm just starting with Gnu's bc and I'm stuck at the very beginning (very discouraging...). I want to divide two numbers and get a float as result: $bc bc 1.06.94 Copyright 1991-1994, 1997, 1998, ...
8
votes
2answers
2k views

Can I name GNU screen sessions?

I use multiple sessions for different things. One for work, one for school work and one each project I'm working on. It gets really hard to keep track of the sessions when screen -ls returns ...
1
vote
2answers
2k views

Match regex pattern only in filename.extension

I need to use find to locate a file matching a regex pattern in filename.extension instead of the default, which matches /path/to/filename.extension. For instance: /folder |--a-love-song.ogg ...
1
vote
2answers
60 views

chmod symbolic notation: unexpected “=” operation behavior

I am reading The Linux Command Line by William Shotts and I read somewhere in the book a part regarding permissions which says The operation may be a “+” indicating that a permission is to be added, a ...
0
votes
0answers
16 views

GNU/GRUB - Misaligned display/screen [duplicate]

I have installed Ubuntu 12.04 with Windows 7 - and upgraded to Ubuntu 12.10 recently - Ubuntu installed the GRUB boot menu. When I first got Ubuntu, I changed the default OS to Windows 7. But now I ...
1
vote
0answers
178 views

How do I stop GNU Freetalk from automatically filling in the buddy name?

I'm using GNU Freetalk along with expect in order to send notifications to my phone – Freetalk has a readline interface, and I use expect to make a series of non interactive scripts that send ...
1
vote
1answer
505 views

How to update autoconf if I don't have root privilege?

Failed to run autoreconf -iv, for i am using a old autoconf, but i can not update it using system package manager since i am not root so how to update autoconf from 2.59 to 2.64? error message when ...
5
votes
3answers
2k views

How do you install gnu MAKE without compiler

I'm a little new in this area. I have a virtual machine centos5.1 that doesn't come with make or any compiler... basically stripped down. It doesn't come with any install packages like yum, rpm or ...
1
vote
1answer
94 views

how to download weblinks using wget which do not end with .html?

I want to download this webpage using wget in Win7 : ...
1
vote
1answer
163 views

How to download multiple urls using wget using a single command?

I am using following command to download a single webpage with all its images and js using wget in win7: wget -E -H -k -K -p -e robots=off -P /Downloads/ ...
1
vote
1answer
248 views

Are there any GNU/Linux distributions which use a stable core and the latest and greatest software? [closed]

With "stable core" I mean the kernel, grub, init system, x server, audio server, et cetera. Basically everything that is essential for the OS to function. Some distributions that I have looked into: ...
1
vote
0answers
112 views

sed without regex

I am using GNU SED for find and replace functionality on large files(upto 2GB). Find and replace characters can contain any characters, hence I want find and replace parameters to be treated as plain ...
0
votes
1answer
159 views

GNU find .extension files and -exec, while new .extension files are being made

Here is a problem, can someone please explain or provide some references. I've been trying to read since an hour but can not find the answer. Suppose, I have process1 going on a pool of directories. ...
0
votes
2answers
63 views

How to indicate the directory where I am in Linux

Hi I want to know the command to indicate the directory where I am . Suppose I am in home/subho . Now to indicate that directory let's for gnome-open I will write gnome-open ../subho Is there any ...
5
votes
1answer
7k views

How to setup MX Record?

I am trying to setup a mail server in my PC for my LAN network and I opted for Postfix but the configuration ask me to configure the MX Record, something about DNS configuration but I have no idea of ...
1
vote
1answer
101 views

set sink index in pulseaudio

Is there some configuration option to specify that X device should always grab sink index Y? Much like you can force a specific sound card driver to have a specific card index in alsa? Failing that, ...
1
vote
2answers
1k views

Change specific font in pdf document

I have a PDF file, which has a buggy font (some d's, o's and q's with black color fill inside the circe) which is annoying to read. How can i change that specific font in the whole document, keeping ...
1
vote
1answer
59 views

How to find mouse binding in Emacs for mouse-5 events?

In Gnu Emacs v23, I'd like to find out what is bound to mouse events like the following: <mouse-5> <double-down-mouse-5> <double-mouse-5> <triple-down-mouse-5> ...
3
votes
1answer
410 views

Is Debian Squeeze's tar still lacking a tar with xattr support?

Is it true? At least on my Ubuntu 12.x, the shipped GNU tar does not have the --xattrs option ...but why?? (and what are my alternatives, to backup files with xattr?)
3
votes
2answers
986 views

sed Command on BusyBox expects different syntax?

I hope I phrased the question correct. I have a script that makes use of 'sed' a lot. It works great on my ubuntu with the GNU 'sed'. But when I try to run it on BusyBox it fails. Is there a way to ...
10
votes
2answers
8k views

bash get home dir by username

I want to obtain home dir of any user with echo echo ~puchuu >> /home/puchuu But I cant use variable echo ~$USER >> ~puchuu echo `echo ~$USER` >> ~puchuu
0
votes
2answers
229 views

Archlinux: Where I can find gcc-4.4-multilib?

As in the topic, I can't find it in AUR, there is only gcc-4.4 or gcc-4.5-multilib. I need gcc-4.4-multilib because of Android compilation. Or if you know - is there any way to compile Android with ...
1
vote
1answer
77 views

GNU tar symlink preservation on case by case basis

I'm trying to create a tarball, and there is one specific file that I need to preserve as a symlink in the tarball. However, there are a lot of other symlinks that I can't preserve as symlinks, ...
3
votes
1answer
46 views

How to open a file whose name is given within another file in Emacs

For example, if my A.txt contains the following line: summary is at: /summary/is/at/summary.txt how can I open summary.txt without having to copy-paste the path, or write the whole path after C-x ...
2
votes
1answer
617 views

save bash history, regularly

I have bash set up to save history, to a file. It does this whenever bash exits [properly]. As sometimes bash does not exit properly the history is lost. So the question is can I set up bash to save ...
1
vote
3answers
616 views

OpenSolaris and NTFS

Is there any way to mount NTFS partitions in OpenSolaris? This is the main issue preventing me from testing it out for more than a day. I need to be able to mount my external. I have vast experience ...
2
votes
1answer
977 views

Transcode videos to webm with lossless compression

I am using GNU/Linux(Arch Linux), and i need to transcode some videos from .avi/.mov to .webm. I don't have the original file for most videos, only the "very compressed" .avi, and i can't loose any ...
1
vote
3answers
459 views

Will multicore allow the same CPU usage as multi CPU [duplicate]

Possible Duplicate: Multi-core CPU: can I say I have a 3x2.1GHz=6.3GHz CPU? I plan to buy latop with with i5-2410M processor that have 2 cores (according to spec it can also have 4 ...
0
votes
2answers
2k views

GNU Octave: How to change base from DEC to BIN?

I need to do many binary calculations of the form: 10.1^(1/11) base 2 10.001^(1/11) base 2 10.0001^(1/11) base 2 10.00001^(1/11) base 2 10.000001^(1/11) base 2 ... where 1/11 base 2 = 1/3 base 10. ...
0
votes
1answer
215 views

gnu sort alphanumerically by one column, followed by numerically in next column?

How can I sort a text file with GNU sort starting with alphanumeric sort by one column, followed by numerical sort in the next column? I tried sort -n -k1,2 file.txt, but it doesn't seem to work: ...
0
votes
1answer
226 views

gnu coreutils split verbose flushed?

When using the GNU coreutils split command with verbose mode, how can I make the lines that appear in the STDOUT be flushed with respect to the time when the file has finally been created? Fore ...
0
votes
3answers
798 views

Is 64 bit GNU/Linux faster than 32 bit?

I have 32bit Ubuntu on AMD 64 machine, if I install 64 bit GNU/Linux will it will run faster?
0
votes
2answers
841 views

How to remove directories from source after copying them?

I just want to move dirs. I looked successively at mv, cp and rsync, since each tool in turn didn't seem to have the option to remove directories from source after copying them. For instance, mv needs ...
0
votes
2answers
137 views

Text wrangling: How can I get just the key comment from authorized_keys?

Auditing some servers, I need a list of the comments on all the authorised keys in the authorized_keys file. How can I cut this file to display a list of comments, eg user@host? Anything can appear ...
1
vote
1answer
361 views

Executing local script/command on remote server

I have a command that I want to run on machine B from machine A. If I run the command on machine B locally, it works fine. Here is the command: for n in `find /data1/ -name 'ini*.ext'` ; do echo ...
2
votes
1answer
203 views

Can tar be forced to exit on the first error?

By default, for many kinds of errors tar prints a message to stderr and then continues on its way -- the errors it calls "recoverable" errors, typically errors that relate to a single file or archive ...
0
votes
1answer
117 views

Disable halt, poweroff, reboot, shutdown

we have a RHEL 5.5 admin server, all the team member from same project can access as root via sudo, from this admin server we login all servers as root. now we need to block/disable such halt, ...
1
vote
1answer
656 views

remove deleted OSs from grub 1.98 boot menu

I am trying to remove entries for deleted operating systems, from grub 1.98 menu. I am using Gnu/Linux Debian 6 ( grub version 1.98+20100804-14+squeeze1 ). I have an Ubuntu partition with 10 kernel ...
9
votes
2answers
10k views

How to Combine find and grep for a complex search? ( GNU/linux, find, grep )

I'm trying to do a text search in some files that share a similar directory structure, but are not in the same directory tree, in GNU/Linux. I have a web server with many sites that share the same ...
8
votes
4answers
709 views

Unix tools: what if a file is named minus something?

I'm always wondering: most GNU/Unix tools take options in the form "minus something", sometimes followed by an argument. What if you got a file named minus something? $ ls -f $ rm -f $ ls -f $ mv -f ...
0
votes
1answer
40 views

GNU inetutils pre-compilation problems

I am trying to compile GNU inteutils on Debian and experiencing some problems. configure is going thru without any issues but when I launch make to compile I receive the following messages: ...
0
votes
1answer
102 views

How to rename folders with a converted date format?

They're named with date '+%d-%m-%Y, %a, %k.%M.%S'. I'm looking to rename them to date '+%Y-%m-%d, %a, %H.%M.%S'.
5
votes
1answer
14k views

How to install GNU make in Windows 7?

I am trying to install GNU make-3.82 on Windows 7. I downloaded the make-3.82.tar.gz setup but it does not have any setup file. There is process given on GNU site. But when I reach to the folder in ...
3
votes
4answers
4k views

What is emacs? What makes it so popular? [closed]

What is EMACS ? I only know that it is some kind of text-editor, but what makes them it popular? How it different from the default text editor in windows which is notepad ? I read about it on ...
0
votes
1answer
82 views

gnu `uniq -c`: display counts graphically as bars

With sort $file | uniq -c, it's possible to sum up files/input and show the number occurences like that: 13 foo 1 bar To get a better grasp of this data, I'd like to see them graphically ...
0
votes
1answer
523 views

Installing GNU Prolog on Mac OS X (getting a Bus Error)

Just installed gnu prolog on Mac OS X 10.4 but it is not working. When I go: % ./gprolog Bus error Anyone have any ideas?
2
votes
2answers
5k views

LANG and LANGUAGE environment variable in Debian based systems

It seems both the LANG and LANGUAGE environment variable are used by some programs to determine their user interface language. What are the exact semantics of these variables and where can I read ...
1
vote
1answer
681 views

gnu tree: downloading and installing on linux account with no root access?

I would like to download and install (compile) gnu tree on linux machine with no root access, but Googling GNU tree doesn't even give me a page where to download it to. Anyone?
0
votes
1answer
366 views

Can I use gnu grep to search for unmatched parens (and similar)?

I write text files in the MoinMoin Wiki markup language in a text editor (emacs). When I mis-place one of the special tags my whole page gets mangled with the wrong formatting -- or worse. I always ...
1
vote
1answer
175 views

Where to put the GPG keys in $HOME/.gnupg?

I run OpenSuse 11.4 and KDE 4.6. I installed Thunderbird and Enigma. Thunderbird is the following version: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 ...