7
votes
1answer
1k views

CLFS: Building GCC cross compiler

Currently I try to build a embedded Linux from scratch with the instructions from Cross Linux from Scratch. Everything worked fine until I tried to compile the GCC Cross-Compiler. I want to build the ...
2
votes
3answers
13k views

yum does not work on RHEL 6.3

I have installed RHEL 6.3: Linux RHEL6.3-64-BuildMac 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux My /etc/yum.conf looks as follows: [main] ...
1
vote
1answer
6k views

Full access by group user of /var/www/html [duplicate]

Possible Duplicate: How to add write permissions for a group? On Centos 6 I'm trying to give full access to make and delete by the user mitch for /var/www/http. I did addgroup www and then ...
2
votes
1answer
3k views

How to Connect to Wireless Automatically? (Non-graphical)

I'm trying to set up my Arch Linux so that, through non-graphical means, I can connect to a wireless network through profiles on my system. I have tried net-auto-wireless, and it does everything I ...
3
votes
3answers
2k views

Convert a tab-delimited file to use newlines

input.txt (around 30K lines) RT|367079254|bn|ERTS01065811.1| 38 1 503 RT|367079251|bn|ERTS01065814.1| 56 3 502 RT|367079248|bn|ERTS01065817.1| 52 2 502 output.txt RT|367079254|bn|ERTS01065811.1| ...
4
votes
2answers
5k views

SSH to a remote computer having only the public IP

Is it possible to connect to a computer behind a router via SSH knowing only the public IP address (of the router)?
3
votes
2answers
683 views

Make problem with includes [closed]

I am installing imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the make step. Problem is that its cannot find included file: ...
2
votes
1answer
62 views

Fedora gives me a list of fedora installs at boot time

The following happens when I start up Fedora, I've installed it on VirtualBox, how can I stop it from doing this? Both of them take me to same installation of Fedora, I have no clue on how this ...
3
votes
2answers
675 views

how to grep for c:\

I'm using cygwin's grep to find all instances of hardcoded paths on c drive. doing: grep -r "c:\\" . gives grep: trailing backslash Does anybody know how I can do this?
3
votes
3answers
9k views

bash merge 2 lists removing duplicated

I have an embedded linux system using Busybox (OpenWRT) - so commands are limited. I have two files that look like: first file aaaaaa bbbbbb cccccc mmmmmm nnnnnn second file mmmmmm nnnnnn ...
3
votes
1answer
691 views

“tar --exclude-backups” does not exclude files with tilde at end

If I have the following directory: $ ls -a foo . .. a #a# a~ b b.bkp c .git .hg .svn and call: $ tar zcf foo-no-bkp.tar.gz --exclude-backups foo/ The resulting archive still has backup ...
12
votes
2answers
3k views

Interactively deleting files from a list

I'd like to remove a list of files and be asked for confirmation. The list is in the list.txt file. Why the following command doesn't work properly? while read i; do rm -i $i; done < list.txt ...
1
vote
0answers
1k views

Problem with Airprint server for iOS 6

I'm trying to set up Airprint server on Raspberry Pi under CUPS. I have done everything like in this tutorial: Configuring the Raspberry Pi as an AirPrint server. Then I have done this: Linux ...
1
vote
0answers
320 views

How can I configure Wine's default paper settings?

I'm having trouble with the locale settings in my Microsoft Office Wine bottle/prefix. When I created it, I had followed the Gentoo Localization Guide's suggestion to not set LC_ALL. However, when I ...
2
votes
1answer
141 views

Build Gimp from custom-path libraries

I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp ./configure && make && make ...
0
votes
1answer
243 views

Change Directory and List Files [duplicate]

Possible Duplicate: Make cd automatically ls I think that it would be very useful to have a unix utility that combines 'cd' and 'ls' so that when you change your directory, it automatically ...
4
votes
2answers
4k views

SSH jumping over socks(4/5) proxy chain. Host -> socks proxy -> socks proxy -> destination

I got a great answer for my previous question about connecting from Machine A to Machine C via Socks proxy located on Machine B. Say Machine B Ip is 218.62.97.105 and it is listening on port 1080 ...
2
votes
2answers
2k views

BASH: Grouping files by name

I have over one million files. And I have to proceed over them. My files' directory hierarchies just like below source=/opt/output/renamed/ target=/opt/output/combine send=/opt/output/send/combined ...
3
votes
3answers
4k views

MySQL Linux Client Timeout/Keepalive

Is there a way to set a keepalive in the command-line MySQL client on Linux? Our network recently moved to a VLAN setup, and our systems department no longer has control of the firewall. The ...
0
votes
2answers
151 views

HTTP Downloader that supports directory index? So that I could use globbing?

Is there an http downloader that supports globbing? i.e. I would like to fetch the latest update of a package, abc-XXX.rpm, but the XXX (version number) is unknown to me. Is it possible to do a ...
1
vote
3answers
146 views

How to get RPM's that has been published after the install DVD?

So if I download a: SL-63-x86_64-2012-08-02-Install-DVD.iso and install it, and give out a "yum update" - then it will find many-many XY packages to update. Q: are there any methods/solutions to ...
3
votes
0answers
198 views

Can I get WCHAN from ps on Mac OS X 10.7.4?

From the manual it seems that ps -AO wchan should tell me what everything is sleeping on, but everything comes up as -. (And nwchan as 0). Did they do away with the old sleep()/tsleep() interface in ...
0
votes
2answers
2k views

What does “0” mean in the owner and group permission lists of a file/folder?

The question is in the title. What does the number 0 signify?
8
votes
1answer
4k views

SSH over Socks proxy without username or password

I have a list of SOCKS proxy servers from this site. I've read about creating a dynamic tunnels with ssh -D and to be honest i've tried that already. Unfortunately for some reason I cannot connect to ...
2
votes
1answer
221 views

Stop tab completion suggesting 'messagebus'

I've got a directory called build, which I cd into quite a bit. If there isn't any directory bu* in the current directory, zsh tab completion: cd buTAB suggests messagebus/, which isn't in .. If I ...
2
votes
1answer
3k views

Arch Linux - Is it possible to instruct pacman to install certain packages into a specific directory?

I want to install a set of software organized into directories at the root level. Is there any method in which I can use pacman to install certain packages into a directory of my choosing?
1
vote
3answers
2k views

Ubuntu doesn't boot normally after manual installing of X.org

I tried to compile and install X.org (for a single card/multiseat in this tutorial) by getting source from here and installing it by: ./configure --enable-kdrive --enable-xephyr --enable-xfake ...
2
votes
1answer
1k views

Replace python built with UCS4 with UCS2

I've got fedora fc15 installed with python 2.7.1-7.fc15. It is built with ucs4 and I've got some packages here at work that are built with ucs2. I now cannot build other packages that use these ucs2 ...
3
votes
2answers
633 views

How to force a connection to a certain host to use to a specific source IP?

When using the Shoutcast2 yellowpages there is a really annoying issue that it always uses the default IP the system uses for an outgoing conection to register itself even if the server is configured ...
5
votes
3answers
4k views

Is it possible to login as root user in LXDE desktop environment?

Is it possible to configure certain settings to allow me to login as root user into the GUI on a Fedora 17 with an LXDE desktop? I know I can do it using KDE, but KDE is not an option for this ...
1
vote
2answers
827 views

I don't know how to connect preconfigured OpenWRT router to my home network

What I need to do is to connect preconfigured OpenWRT router to another network through WAN cable connection. My router assign the IP address to new router but even if I use this address it still ...
31
votes
6answers
37k views

How to get keycodes for xmodmap?

I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes. For instance, using xev doesn't give me keycode for Alt FocusOut event, serial 36, ...
1
vote
1answer
634 views

Trying to install fonts on Linux Mint Lisa, but it looks like I have a permissions or ownership problem

I downloaded the Source Code Pro family of fonts, but cannot install them via the Font Viewer. If I give myself admin powers, I can manually add them to the rest of the fonts, so I'm guessing it's a ...
5
votes
4answers
1k views

Look for English word in a file via terminal

How to find and print out English words contained in a file via linux command line?
7
votes
1answer
12k views

Cannot delete a file - permission denied - why?

[db2inst1][testing ~/sqllib/db2dump] rm db2diag.log rm: cannot remove `db2diag.log': Permission denied [db2inst1][testing ~/sqllib/db2dump] id uid=1002(db2inst1) gid=107(db2iadm1) ...
5
votes
1answer
1k views

scp permission denied after 'hardening' with bastille

I recently 'hardened' two Ubuntu servers using Bastille, and now I get permission denied: scp whenever I try to scp files in. SSH login works fine. I've tried adding an /scp-dump folder with 777 ...
6
votes
1answer
1k views

How do I pipe notifications into my statusbar?

I am trying to instate a more graphically minimal notification system in Arch Linux. Specifically, I've taken interest with programs such as dzen2 or conky that allow for more text-based status bars. ...
13
votes
4answers
27k views

Purpose and typical usage of /etc/rc.local

The header looks like this: #!/bin/sh -e # # rc.local - executed at the end of each multiuser runlevel # # Make sure that the script will "exit 0" on success or any other # value on error. What is ...
4
votes
4answers
3k views

Average rows with same first column

Given a file with two columns: Id ht 510 69 510 67 510 65 510 62 510 59 601 29 601 26 601 21 601 20 I need a way to coalesce all rows with the same ID into one that has an average height. In this ...
24
votes
4answers
19k views

Are there any drawbacks from using mount --bind as a substitute for symbolic links?

Symlinks have limitations in how functions like ls, mv, and cp can operate on them because unlike shell initiated commands like cd, these functions do not have information about how the user accessed ...
1
vote
1answer
108 views

help installing checkinstall locally

I'm trying to install checkinstall locally in my home directory. Though, in the INSTALL file is only described how to do a system wide installation: Simple enough: make su make install checkinstall ...
6
votes
4answers
15k views

yum Damaged repomd.xml file

I'm having trouble doing anything with yum on Fedora 16. Here is the output I'm getting: [user@mycomputer yum-3.4.3]$ sudo yum update [sudo] password for user: Loaded plugins: langpacks, presto, ...
3
votes
3answers
568 views

A lot of errors on ext4, however smart doesn't show any errors

I have a Debian box with additional ( it is not a system disk ) 1.5Tb sata hdd (wd caviar green). There is only one partition on the whole disk. Disk is used for backups from remote system (with ...
6
votes
0answers
102 views

What's the size of a folder entry? [duplicate]

Possible Duplicate: What does size of a directory mean in output of 'ls -l' command? user@~ > ll /tmp/foo drwxr-xr-x 2 user user 4,0K 1 oct. 15:15 bar What are those 4,0K ? ...
2
votes
1answer
3k views

How can you tell if GStreamer plugins are installed correctly [closed]

I've installed GStreamer plugins for Fedora 14 using yum. However, when running a qt-phonon application with the GStreamer backend, I get the error Warning: You do not seem to have the base ...
6
votes
1answer
1k views

Symbolic links with ls, mv: forcing the functions to utilize “logical” addresses (remembering the original path)

It seems that for many basic functions operating on symbolic links, the physical path is used by default. However, cd works fine. When moving into a symbolic link, cd remembers where I came from so it ...
1
vote
2answers
2k views

Login fails from Windows on NTFS-3G Samba Share

I have a Raspberry Pi (though could be any Debian Linux box) connected to an external hard disk formatted as NTFS. My disk mount in fstab is: /dev/sda1 /media/disk ntfs-3g ...
7
votes
4answers
5k views

How to reduce the greed of a regular expression in AWK?

I have an example: echo "@article{gjn2010jucs, Author = {Grzegorz J. Nalepa}, " | awk '{ sub(/@.*,/,""); print }' Is it possible to write a regular expression that selects the shorter pattern? ...
2
votes
2answers
792 views

How to configure dhcpd to register ipv4 with bind while having static ipv6 addresses?

I have IPv6 configured on my local network via radvd; it advertises a routable IPv6 block, that all the machines auto-configure.s I have IPv4 assigned to a NAT'd block via dhcpd and that updates ...
1
vote
1answer
1k views

signal handling in the unix kernel

I was reading The Design Of UNIX OS and had a doubt. A signal handling function can be specified in the signal() call. The handler is supposed to execute when the process receives that particular ...

15 30 50 per page