Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
1answer
568 views

Snort install issue on debian 6 with libpcre - libpcre library not found

I've read the manual on snort.org for installing snort on Debian but am still having an issue. Does anyone know how to resolve this? I've tried installing the libpcre3 amd libpcre3-dev packages by ...
6
votes
3answers
3k views

Watch Filesystem in Real Time on OS X and Ubuntu

I'm looking for a CLI tool which will watch a directory and spit out the names of files that change in real time. some_watch_command /path/to/some/folder | xargs some_callback I'm aware of inotify ...
0
votes
1answer
719 views

Improving wifi connections in linux

I have a new laptop now with Ubuntu installed. The wifi at the office is much spottier than it used to be in my old computer. (It sometimes fails to connect, and sometimes drops the connection.) I'm ...
0
votes
1answer
388 views

Linux, make shorcut keys and FN key always active

If I play full a screen game under Linux (Ubuntu 12.04 using GNOME Shell 3.4) I can not use some of my Fn keys, nor the GNOME Shell shortcuts. For example the Fn+volume, or brightness doesn't work, ...
0
votes
1answer
1k views

Cannot set wkhtmltopdf margins (top and bottom)

I am using wkhtmltopdf 0.10.0 rc2 on Ubuntu (Linux 3.2.0-24-generic #38-Ubuntu x86_64 GNU/Linux). The problem I'm experiencing is that I can't create PDFs with margin-top or margin-bottom. I'm not ...
2
votes
1answer
303 views

System-wide auto-complete word list syncing/integration?

I've been thinking that convenient auto-completion is my must-have feature of the text editors and word processors that I use. I wonder if anyone knows of a program or library that implements a ...
0
votes
0answers
182 views

Is this valid JFS partition?

My teacher gave my his laptop (with Fedora 16 on it) and compact flash card with data. He wants to have access to files on card, but he couldn't get access to it. The problem is Linux doesn't know ...
1
vote
1answer
111 views

Using the link command to keep backups on another drive

I have a folder that contains a not so large amount of space called /data/backup. I have been told that if I link that folder (/data/backup) to an even bigger folder area like /bigdata/backup for ...
1
vote
1answer
141 views

“Reroute” traffic using a Debian VPN server

I've set up a Debian VPN server, to which I connect with my iPhone. It works perfectly, I can browse the web, and see "local" pages. My question is, if it's possible to "reroute" traffic. Here's an ...
1
vote
2answers
853 views

Why does my MAC address reset after reconnecting?

I use Ubuntu 12. I'm changing my MAC address with ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx, which works. However when I restart my connection, my computer resets the MAC address to my original MAC ...
1
vote
2answers
546 views

In Linux, is it possible to get a listing of drives' disk space usage that also shows volume labels?

I know about df, of course, but df does not output volume labels. I have 5 USB hard drives plugged into my NAS box, and would love to know which is which. Current df output: Filesystem ...
0
votes
1answer
299 views

NAT works for Windows guests but not for Linux guests

I have just updated to VMPlayer 4.0.3 (from 4.0.1) on a Windows 7 host. All the various guests are configured for NAT networking and DHCP, and before the upgrade every OS could reach out the ...
6
votes
4answers
7k views

Linux Both Case Sensitive AND Case Insensitive and Always Inconvenient?

I'm using Ubuntu 10 and I'm quickly finding out that it's case sensitive when it's inconvenient for it to be so (like when autocompleting file paths with tab in terminal) but also case INsensitive ...
0
votes
2answers
89 views

Loading and running remote applications with Linux. Not ssh

I am wanting to load an application from a remote Linux pc and run it on the one that I am sitting at. My goal is different than just using telnet or ssh, because by doing that I would still be ...
0
votes
1answer
391 views

Problems with sound and flash in Ubuntu 12 [closed]

I'm having these problems: a) I can't have music playing and at the same time watch a video en youtube. If music is playing, flash is muted, and vice versa. b) Sound has too much bass. I partially ...
1
vote
1answer
1k views

Changing network computer name

I can't find a simple tutorial how to change my computer name under which is it visible on the network (Ubuntu 12.04). It's quite simple on Windows 7 but it looks like there's no such an option on ...
7
votes
1answer
17k views

How to disable Auto-Mute Mode?

In alsamixer, there is an option called "Auto-Mute Mode", and it's enabled by default. But now I want to disable it. I've tried different keys but failed. Any idea? 0_0
1
vote
2answers
3k views

Rsync as another user (www-data)

I usually use a graphical SSH client to sync a local and remote directory. And I have to set the ownership of all the files from root to www-data. Can I do the same with Rsync, only that I do it as ...
2
votes
3answers
5k views

How to monitor bandwidth on a Linux router by LAN IP

There are plenty of ways to monitor traffic on a specific interface or even by port. But if I am on a router and suspect one of the workstations is using more bandwidth then others, how to check?
0
votes
1answer
310 views

“shell not found” on start of backtrack 5

I am using backtrack5 in VMware on my system. I was trying to change my default shell to ksh. After executing the 'chsh' command. On restarting the OS, it shows "Cannot execute ksh: no such file or ...
1
vote
1answer
519 views

How small can/should I make my partitions, on a dual boot with a shared middle drive?

My machine is currently split into 3 user partitions (plus however many Windows and Linux have decided to slyly create) Which are C: Windows 7, D: Data, and E(?): Ubuntu. I'm considering wiping my ...
2
votes
2answers
490 views

Is there a way to remove root requirements for a specific command in linux? If yes, how so?

I'm using Ubuntu 12.04 LTS, and I'm trying to make it so that the specific command dhclient doesn't require root privileges. I've done some research that leads me to believe I could unlock an "su" ...
2
votes
1answer
117 views

Linux “find -regex” doesn't handle binding

I have the following files, and need to match them like: ./foo.bar1.sh -match ./qux/foo.bar2.sh -match ./foo.sh -match ./baz.sh -no match ./foo.bar3 -no ...
0
votes
3answers
481 views

vim is slow, even on console without X running

I'm using Arch Linux and I installed vim from the official repos. It runs OK, but when I have syntax and cursor highlight turned on, it is extremely slow. I already trying running only the 'core' ...
0
votes
1answer
227 views

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop?

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop? How about the normal top? So, if my cpu is stepped down to 800mhz with a full speed of 2ghz, does 5% used ...
1
vote
1answer
4k views

Ubuntu LiveCD/LiveUSB Default Login Credentials

I've just downloaded Ubuntu 12.04, created a USB startup drive, and booted. What is the default username and password for the live USB. Thanks.
2
votes
1answer
2k views

Unable to mount device on Linux (XFS)

I am unable to mount a device on my server due to error when mounting, the device is type XFS. The mount command returns message: "mount: structure needs cleaning" I've tried using xfs_check and it ...
0
votes
1answer
2k views

How do I configure fstab so that a partition can be used by different users simultaneously?

My intent is to set up a drive that any user can read to, write from, and execute on. Moreover, the users must be able to use the drive at the same time. I have my fstab entry set up like this: ...
1
vote
1answer
317 views

Java Applet Console

Can anyone tell me how to access the Java Applet Console in Chromium for Linux? I assumed there would be a Java application packaged with the JRE that would give me access through the command line, ...
0
votes
1answer
2k views

How can I install python-dev without sudo?

I am trying to install python package (scikits.learn) on my user directory (on a ubuntu server for which I don't have sudo permission) but I am getting error: Python.h: No such file or directory It ...
0
votes
0answers
82 views

App for text and image pop-up

Does anyone know any application for Linux which is simply for popping-up images and text on the screen, whereas interval/duration/position of the images/text are customizable?
2
votes
3answers
395 views

How to substitute multiple lines between delimiters

Given the text example: .... text ,.. {{{python string1 = 'abcde' string2 = '12345' print(string1[[1:3]]) print(string2[[:-1]]) }}} .... text ,.. The [[ and ]] also appear outside of {{{ too. ...
1
vote
3answers
564 views

Use sudo command for script SSH server

I have to do following steps on several servers: log in with my username type in sudo su - type in amCLI -l 32/1 | grep Firmware So I would like to write this all in one script, my idea was: ...
6
votes
1answer
5k views

Powering down external hard drive, flash drive, etc using the command line in Linux

I always thought that to safely remove a device that had been mounted was to use the umount command and until recently when I switched to Ubuntu 12.04 LTS, I noticed that there was the ability to ...
2
votes
1answer
220 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
2k views

Fedora 17 keeps using fedora 16 kernel

I did run preupgrade to upgrade my Fedora 16(x64) to Fedora 17. And it seemed to work fine. So I got the new gimp 2.8, gcc 4.7.0 and so on. But the system keeps using the old kernel from fc16. Uname ...
1
vote
3answers
1k views

Output only “long pings” / Log connection interruptions

I'm on a connection that sometimes gets interrupted for a while, and I'm trying to determine exactly when using ping, which generates output like this: 64 bytes from 192.168.0.1: icmp_req=1196 ttl=64 ...
0
votes
1answer
1k views

Compare content of directories in Linux

In Linux, if I have two directories, how I can see the differences of content in these directories? Now I use this command: diff <(ls -d dir1/*) <(ls -d dir2/*) Any other idea?
0
votes
1answer
162 views

Openbox fails on login

X throws this error: Xsession: unable to launch "/usr/share/xsessions/openbox.xsession" Xsession --- "/usr/share/xsessions/openbox.xsession" not found; Falling back to default session. But a trip ...
1
vote
2answers
2k views

Software to control bass in sound?

I moved from Windows to Ubuntu, and now the music I hear with the headphones sounds with too much bass, like it is set to max. I looked into alsamixer and pulseaudio, but I can't control bass there. ...
4
votes
2answers
12k views

How do I clear all data in a MySQL database while maintaining the table structures?

Using MySQL CLI, how can I remove all data in a given MySQL database without changing any table's structures?
0
votes
0answers
638 views

Wireless disconnect randomly with wpa_supplicant reason=2

I installed ubuntu-server 12.04 on my PC , and I use an usb wireless card to join the network. It works ok when I boot up my PC , but the wireless disconnects after a while. I pkill ...
2
votes
2answers
293 views

Which filesystems has first class support on both Linux and Mac OS X [duplicate]

Possible Duplicate: Which file system to use in between OSX and Linux I'm replacing the optical drive on a Macbook with an HDD and plan to use half of the new drive for Linux. The other ...
1
vote
1answer
1k views

How to restrict SSH root login, but allow some exceptions

in openssh, you can restrict root login (PermitRootLogin no) but can it have an exception?
2
votes
1answer
370 views

how to check all available characters in a font file?

I have some truetype fonts which support UTF-8 characters. I can use "fc-list" to find certain font. How can I check all available characters in some font? Such as how many characters supported in "AR ...
0
votes
0answers
84 views

A lightweight linux operating system? [duplicate]

Possible Duplicate: Lightweight GUI Linux distribution for really old computer Running Linux on Old PC I currently have with me installed Windows XP. It works fine, it's just that I have ...
5
votes
4answers
2k views

What is the reason for rmdir(1) and rm(1) to co-exist?

I use BSD and Linux every day, I have never had a circumstance which I must use rmdir(1) rather than rm(1). What's the purpose of rmdir's existence?
0
votes
1answer
384 views

How to reinstall sound?

I'm not even sure if sound was working after the install, I have installed things and 'apt-get upgrade' since then. When I realized I had no sound, I tried installing 'emu10k1' from this list: ...
5
votes
2answers
8k views

Could I add an item in `/etc/fstab` to bind an old directory with a new one?

I have a problem with binding two directories. The problem comes that storage on hard disk is almost run out and I install another disk moving files in ~/Documents/ into one folder of the new disk. I ...
19
votes
8answers
23k views

Simple mdadm RAID 1 not activating spare

I had created two 2TB HDD partitions (/dev/sdb1 and /dev/sdc1) in a RAID 1 array called /dev/md0 using mdadm on Ubuntu 12.04 LTS Precise Pangolin. The command sudo mdadm --detail /dev/md0 used to ...