These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
1answer
796 views

SELinux outbound access to other sites with restrictions

We have CentOS 6 configured with SELinux to host a number of websites. Unfortunately SELinux is preventing websites from accessing (outbound) sites, such as download.wordpress.com to update ...
5
votes
1answer
655 views

How do I search for Linux distro build tools?

After having worked through Linux From Scratch, I get the eerie feeling that in practice, this is not how new distros are built. How do I search for tools that other distributions are built with? Is ...
10
votes
3answers
27k views

Can I search bash history across all users on a server?

I want to see all bash commands that have been run on a Linux server across multiple user accounts. The specific distribution I'm using is CentOS 5.7. Is there a way to globally search .bash_history ...
4
votes
3answers
873 views

Command line friendly virtual machine

I've been using Virtualbox for a while now, but the only way I've learned to interact with it is through the graphical interface. Is there a way for me to send bash commands to the vm through the ...
0
votes
3answers
3k views

Options for .hidden files?

What options exist for the .hidden file? I wanted to hide certain filetypes in a folder, but simply putting *.out, which I assumed would hide all files ending in .out, didn't work. :( I'm using ...
1
vote
1answer
525 views

Have working headphone controller under Linux?

I have headphones with a controller (+/- volume, play/pause). They work when using an iPad. My question is if it's possible to make it work under Fedora 16 (using GNOME 3)? I assume some drivers ...
0
votes
2answers
2k views

Problems with tight vnc on Suse 11 enterprise x86_x64

We have a production machine running Suse 11 Enterprise Server x86_x64 with tigtvnc as the VNC server used to connect remotely via UltraVNC view on a Windows 7 machine. Up to this point, the setup ...
2
votes
4answers
476 views

FreeBSD is not Unix. But its Unix-Like Unix. Where is then the main Unix to read the source code?

I want to really understand System V, the main origin of Unix (not Unix-like nor modified Unix to Linux). The main origin which is very confusing and not really with care its written somewhere. Is it ...
3
votes
2answers
3k views

How to delete the line after a search pattern, globally with vi?

Assume I have a big file, ~1k lines, and I need to delete the line after some pattern, lets call it: somePatern. Conditions: cannot be done by hand (no searching -- /somePattern, and/or manually ...
-1
votes
1answer
155 views

Is linux.org still maintaining their OS? Who's using it?

There are many distributions of linux, so is linux.org still maintaining their orginal OS? If yes, then why use it when you can get Ubuntu, Debian, Centos, etc?
1
vote
3answers
5k views

AUR and pacman GUI frontend for Arch

Do you know any good GUI for pacman and arch? Where I could view packages installed and possible to install? And of course do anything as in pacman.
1
vote
2answers
846 views

Embedded device: How to do raw reads and write to flash (emmc/movinand) bypassing file system cache

I have an embedded device with a flash memory running linux. I want to do raw read writes on the flash part but I also want to avoid any file system cache. How can I do this? Any pointers?
5
votes
4answers
1k views

How does forking affect a process's memory layout?

Please see the following figure showing the memory layout of a process: : When someone forks(), and a new task_struct is assigned, what happens to the addresses of the process? In more or less other ...
1
vote
1answer
742 views

Problem Installing .ttf with FontConfig, in userdir for user account, running RHEL

I'm trying to install TTF fonts, for a normal user account, on my RHEL5.4 box The steps I followed are : $ cd ~ $ mkdir .fonts $ cd .fonts $ wget -q http://www.gringod.com/wp-upload/software/Fonts/...
1
vote
1answer
687 views

What is the optimum swap size on Linux for a heavily threaded program?

I using an Amazon EC2 server small instance and by default it allows 382 threads per process. However, I wish to run 10,000 threads in a single process. Recently, I learned that this can be done by ...
7
votes
2answers
6k views

How to find out which file is currently written by a process

My situation is that from time to time a specific process (in this case, it's Thunderbird) doesn't react to user input for a minute or so. I found out using iotop that during this time, it writes ...
3
votes
1answer
474 views

Where can I look for backup script?

I want find out where the backup script of a Fedora 8 server is. I haven't found it so far ( my Linux knowledge is very spare). I looked with crontab -l and I only can find a tempdelete.pl. Than I ...
2
votes
1answer
5k views

Denied permission to change ownership

I am trying to change the ownership of a folder and all its contents to www-data, but am being denied permission to change it. I am root. and I've tried using sudo but nothing works. eyedea@eyedea-...
2
votes
1answer
120 views

Gentoo on VM setting IP Manually

I installed Gentoo on Virtualbox with the minimal image. This is the first time I am running gentoo. I need to do ifconfig eth0 192.168.0.10 route add default gw 192.168.0.1 everytime it boots on ...
2
votes
1answer
1k views

Permission Denied when downloading Drupal

/var/www$ wget http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz This results in: --2012-02-08 21:20:17-- http://ftp.drupal.org/files/projects/drupal-7.0.tar.gz Resolving ftp.drupal.org......
4
votes
3answers
9k views

Trouble booting server from GRUB prompt

I just installed CentOS 6.2 on my server but it keeps going to the GRUB prompt. I've never used Grub before but did some digging online. Looks like I have to run the kernel command before I can boot ...
4
votes
2answers
945 views

How do I get GrindEQ (Latex plugin for Word) to work with Word in Wine?

GrindEQ is a plugin for MS Word. It allows one to type LaTeX code into a Word document, then export that into Word's formatting (converts equations into Equation Editor equations, and takes care of ...
3
votes
0answers
737 views

“Operation not supported” for setfacl inside a python script [closed]

I've programmed a script using python which logs in as root on the host machine and executes some commands. Therefore it uses ssh. I want to setup acl. If I do following commands in the command line, ...
1
vote
1answer
589 views

Process priority and cpu speed

In some devices the cpu speed is dynamic, being faster when there is more load. I was wondering if it is possible to set nice level or priority of a process so that it does not influence an increase ...
8
votes
1answer
1k views

Why isn't the ls command listing huge filesizes?

In my Redhat Linux, I am getting the following error when executing the ls command. # ls ls: sugar.sql: Value too large for defined data type
4
votes
3answers
2k views

Why doesn't uname -a return a useful identifier

I typed the command uname -a into my college's server and got this: 2.6.18-274.3.1.el5 #1 SMP Tue Sep 6 20:14:03 EDT 2011 i686 i686 i386 GNU/Linux Are they trying to hide the version of Linux that ...
13
votes
4answers
5k views

Lightweight isolated linux environment

I want an isolated (guest) Linux environment on my computer that I can mess up without worrying about the host. E.g. install a lot of stuff from source without package management, pollute environment ...
7
votes
3answers
2k views

Is there a Homebrew-equivalent for limited access user accounts in Linux?

I have a few Linux servers that lack necessary sudo or root permissions, and I'm feeling kind of stuck with my options: hand-compile packages to a ~/local/ folder or some equivalent work with ...
0
votes
2answers
684 views

SSH connection does not work while browsers do

I have the following network layout: Internet comes true fiber optics to modem. From modem LAN cable goes to router. Since that router wifi signal is weak, a LAN cable goes to another router from ...
4
votes
2answers
8k views

Kernel Panic - not syncing: VFS: Unable to mount root fs after new kernel compile

So I've been at this for a while and have been poking around for an answer for a few days, and figure it's about time to ask for help. I am running Ubuntu 10.10 in VMWare Fusion, and have downloaded ...
1
vote
1answer
942 views

Failed to get access to the Internet after disabling networkmanager on ArchLinux [closed]

How can I get access to the Internet after networkmanager is down? I disabled the networkmanager and uncommented the static IP settings I used to use and reboot, but I'm still unable to get access to ...
24
votes
4answers
7k views

Linux: Kill process based on arguments

How can I kill a process based on its command line arguments? killall, pgrep, and pkill seem to only work based on the process name. I need this to be able to differentiate between a number of ...
3
votes
1answer
10k views

Invalid configuration `x86_64': machine `x86_64' not recognized

Compiling this: http://linux.softpedia.com/progDownload/Indexed-PDF-Creator-Download-1071.html anisha@linux-dopx:~/tarBalls/ipdf-1.0.0> ./configure --build=x86_64 checking for a BSD-compatible ...
-4
votes
1answer
657 views

illegal seek,system call [closed]

here is my test_code: And,when i run it,it prompt: Anyone can show me why?thx
2
votes
0answers
2k views

MySQL socket and PHP (and other languages)

Background info I'm currently running CentOS (or Red Hat?). uname -a gives (I edited out my domain name) Linux XXXXXXXXX.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 ...
5
votes
3answers
913 views

Problem with mount namespaces under Fedora

I've run into an odd problem regarding mount namespaces on Linux. I have two systems, both X86_64 running kernel 3.2.3-2 under Fedora 16. I am attempting to mount a tmpfs filesystem in a child ...
1
vote
1answer
52 views

Why is this flag not working?

Ok so i want to view the ram and have it run continuously root@another:/etc/mysql/database_backups# free -mt total used free shared buffers cached ...
2
votes
1answer
268 views

Bluetooth card all of a sudden disappears?

I'm on a 2011 8,3 MacBook Pro running Ubuntu 11.10 amd64. I've been using the Bluetooth card in my machine perfectly for a long time. All of sudden, for no apparent reason, the Bluetooth device is ...
2
votes
1answer
1k views

Whats the best way to copy files from an ext3 file system to a NTFS and maintain the ownership and permissions?

I need to transfer over 1tb of data from a share on a ext3 file system that our corporate office uses. The share contains files with different owners and groups and needs to be copied over maintaining ...
6
votes
2answers
3k views

Problem in secure copying (scp) filenames with spaces

I am trying to copy files using secure copy(scp). I am trying to execute the following command but I get error due to the space in the absolute path of the location of the directory. scp -r -P 8484 ...
4
votes
3answers
2k views

No font in emacs on CentOS

When I open emacs over an SSH connection I get this error Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct Warning: Cannot convert string "-*-...
3
votes
1answer
318 views

Unix dictionary add-on for Mac OS “Dictionary” app?

I've seen there's other dictionaries you can add to OS X's Dictionary app, but all I can find is spoken languages. It'd be nice to, while reading a software book, be able to right click a unix ...
3
votes
2answers
804 views

nVidia proprietary driver

I successfully installed NVIDIA-Linux-x86_64-290.10.run on my Debian Squeeze desktop but I do not see /var/log/nvidia-installer.log clearly stating which file(s) have been added/replaced. Does anybody ...
0
votes
1answer
277 views

Where do I download Vine Linux for PowerPC? [closed]

Where do I download the latest version of Vine Linux for PowerPC? I cannot find the link for PowerPC download on their website.
2
votes
2answers
612 views

How to install drivers on Linux

How can I install a driver on any Linux? I have XG-762 Sagem adapter on USB with the ZyDAS 1211B chipset, and I don't have drivers for it. What should I do? PS: Despite it should be in my file ...
0
votes
1answer
200 views

How do I get started with linux? [closed]

I am a programmer but have only used Windows as the development environment till now. I work on Java. I wanted to start developing on Linux and would like to know where to start. More specifically: ...
31
votes
2answers
90k views

What user should apache and PHP be running as? What permissions should /var/www files have?

I just spun up an Ubuntu 11.10 box and then ran apt-get install apache2 php5 to install apache2 and PHP 5 on the box. Now it is functioning as a "web server" and it loads the "It Works!" page. Now I'm ...
1
vote
1answer
115 views

setting up yum in stripped down linux

I have a box that contains minimal binaries needed to run Scientific Linux. What I want to do is to install additional programs. I could get rpm installed and tried to install yum but resolving those ...
2
votes
1answer
102 views

application to see the cpu architecture in a figure

I remember there was an application that showed, in the console, or in a simple picture, the memory architecture of the system: what caches were shared by which processors, etc. but I can't remember ...
0
votes
1answer
178 views

pendrive distro

Which distro should I install on my 8GB pendrive? I need it to have powerfull repos (everything, music editing is crushial) and should be lightweighting not losing on functionality. Any propositions? ...