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
0answers
1k views

pfsense long ping to google

I have a pfsense box set up. What happens is I set a rule so I can't hit the admin interface 192.168.3.1 from the box. With the rule enabled --- www.l.google.com ping statistics --- 2 packets ...
36
votes
4answers
42k views

How to attach terminal to detached process?

I have detached a process from my terminal, like this: $ process & That terminal is now long closed, but process is still running and I want to send some commands to that process's stdin. Is ...
75
votes
7answers
122k views

What to do when a linux desktop freezes?

I'm a Windows guy, dual booted recently, and now I'm using Linux Mint 12 When a Windows desktop freezes I refresh, or if I am using a program I use alt + F4 to exit the program or I can use ctrl + ...
0
votes
2answers
1k views

I can't login to Crunchbang Linux

I rebooted my VM and now I can't login. It gives me the following error: Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some ...
2
votes
2answers
147 views

Does brand/hardware limit the distributions that are safe to run?

I recently tried running Fedora 16 on my laptop and had problems with the fan. In particular, the fan would start, run at full power, and never turn off. I spent a few hours online looking for ...
14
votes
4answers
6k views

Tool for measuring entropy quality?

Is there a tool available for Linux systems that can measure the "quality" of entropy on the system? I know how to count the entropy: cat /proc/sys/kernel/random/entropy_avail And I know that some ...
2
votes
5answers
1k views

What do these commands mean?

What would be a more straight forward readable way of these commands? And why exit 255 and not exit 1? [ $# -eq 3 ] || { echo error ; exit 255 ; } grep -q "string" && exit 0
-1
votes
2answers
746 views

Which linux distro is based on Arch, runs LXDE and out of the box ready to use?

Besides that, have full multimedia, driver, network and essential software support?
2
votes
1answer
785 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
653 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
26k 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
867 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
514 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
472 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
154 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
835 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
735 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 ...
1
vote
1answer
686 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
472 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. ...
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 ...
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
933 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
729 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
586 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
675 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
938 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
652 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
903 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
314 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 ...