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

4
votes
3answers
2k views

Writing to NTFS drive in Linux

I've got an external USB drive that is formatted with NTFS mounted on ~/tmp. I can read it just fine, but cannot write to it, even as root (temp is a folder on the USB drive): [root@Plugbox temp]# ...
115
votes
8answers
104k views

What is the “You have new mail” message in Linux/UNIX?

Sometimes, when I log into a box and 'su' to root, I get a cute little message saying I have mail (thank GOD it's not AOL). Where is this mail? What does it contain? Who/What sent it? How important ...
0
votes
1answer
750 views

Is it possible to bypass NFS file permissions by using a user-space NFS client

There are some user-space based NFS clients (e.g. NFS Client library). Can I bypass file permissions by using such client? For example: Server1 has nfs-exported file system with files -rwxr-xr-x ...
4
votes
1answer
2k views

Where to see the recent changes/actions on a computer?

I log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually ...
1
vote
2answers
1k views

Looking for a program similar to httrack

I want to find a program that I can use to generate a website backup for offline browsing. I tried Httrack, but it doesn't seem to have scheduling options. Scheduling is critical for me. I need to ...
8
votes
2answers
3k views

What is ICMP broadcast good for?

To configure Linux to ignore ICMP broadcasts (to protect from SMURF attacks), I have added the following line to /etc/sysctl.conf: net.ipv4.icmp_echo_ignore_broadcasts = 1 Anyone knows what are the ...
3
votes
1answer
484 views

PDT/PHP plugin in Eclipse in Ubuntu not working - “page not found” error

I am not having success getting the PDT (PHP Development Tools, SDK 2.0.2 and 2.1.2) plugin to work in Eclipse in Ubuntu 11.04. I encounter the following page when attempting to run a php file: Not ...
0
votes
1answer
344 views

How to get OSX ttf fonts into Linux

There are some fonts in OSX I want to use into Linux. Do I just have to copy them into some directory? How can I transfer fonts from OSX into Linux?
5
votes
4answers
2k views

Linux software for periodical work break

I am using Cent OS 5. I am looking for an app which will alert me after some time to take break. So I can use computer as healthy computer usages ?
9
votes
4answers
7k views

Bash: lookup an IP for a host name, including /etc/hosts in search

Ubuntu 10.10+ In my script I need to lookup an IP for a given host name. If that name is listed in /etc/hosts, then command should print IP from /etc/hosts, not from DNS server. What commands I ...
1
vote
1answer
168 views

Linux: Typical amount time before kill after term?

In linux for a typical reboot/restart what is the standard amount of time given for a process to shutdown once given the term signal before the system kills it?
10
votes
6answers
17k views

Using udev rules to run a script on USB insertion

I'm trying to set up a script to run every time I plug in a USB device. I created the file /etc/udev/rules.d/90-local.rules and added the following rule: ACTION=="add", SUBSYSTEM=="usb", ...
3
votes
3answers
3k views

Bad performance with Linux software RAID5 and LUKS encryption

I have set up a Linux software RAID5 on three hard drives and want to encrypt it with cryptsetup/LUKS. My tests showed that the encryption leads to a massive performance decrease that I cannot ...
0
votes
1answer
10k views

telnet :Unable to connect to remote host:Connection refused

My system is Ubuntu 11 Before I typed "telnet localhost" or "telnet localhost 23". I have make this work below: $sudo apt-get install xinetd $vim /etc/xinetd.conf defaults{ instances = 60  ...
2
votes
1answer
910 views

Remount rootfs read-only

I am having a very strange error on an embedded ARM board (poky, kernel 2.6.35). I try to remount / read-only because the device sometimes reboots (hardware watchdog) and I want to avoid file system ...
0
votes
1answer
471 views

Vigor 2920 cannot reach linux LAN device from VPN or WAN after some time (timeout?)

Setup: Gateway: Vigor 2920, Firmware: 3.3.6.1, 2 fiberlines, loadbalancing. I have 2 XEN Citrix server with virtual Debian (DomU) running on the LAN. (PROBLEM) Other devices running on the LAN: ...
1
vote
1answer
176 views

versatile unzip utility

Is there a compression utility that will allow extracting a file while skipping the first (container) directory. My purpose is to create an automated install script that will download a specific ...
2
votes
2answers
1k views

Unable to resize (enlarge) Linux partition

I want to increase the size of my Linux partition (yellow and highlighted in image), which is situated in an extended partition, along with my biggest partition. When I try to select the options ...
4
votes
2answers
2k views

Can I upload music to Google music on Linux?

I have a Linux CentOS system. Is there any way to upload music from the command line to Google Music?
12
votes
2answers
16k views

How to increase a virtualbox' disk size?

The title says it all. I created the disk and now I would like to increase its size. I know I could add a new one, but I don't want to. The guest os in question is Ubuntu 11.04
2
votes
1answer
362 views

Setting up the alternative ad-hoc connection in case primary wireless fails?

I have a device that is only accessible using wireless. By default it starts an ad-hoc wireless I can connect to. The problem is there is no internet access on the ad-hoc. So I'm connecting it to my ...
0
votes
1answer
427 views

Parent proxy as https

On my computer, I have a direct connection to the internet, But, I also have a different connection on my computer which is a https proxy running on a certain port. On windows, I can access that ...
3
votes
1answer
2k views

Properly portforwarding the external IP with iptables

I am trying to forward all the incoming internet/LAN requests on port 80 to my local machine (running Apache), current iptables work (forward incoming internet traffic to my desktop, but if I try to ...
0
votes
1answer
167 views

Can I install Ubuntu on a USB stick when running it in a virtual machine?

Can I create (for example) an Ubuntu virtual machine, plug in my USB stick and then install Ubuntu on the USB stick from the Ubuntu running in the virtual machine?
4
votes
1answer
917 views

Full Disk Encryption with Two-factor Authentication for Ubuntu: How?

Background Information I'm a Linux newbie recently weaned off Windows. I'm currently using Ubuntu 11.04 without full disk encryption. Only my home directory is encrypted, and with eCryptFS. Lately, ...
1
vote
1answer
283 views

Sending mail from virtual host fails “mail for domain.com loops back to myself”

I have two servers relavant here: mail.domain.com (1.1.1.1) - which is the nameserver and the mail server for domain.com. www.domain.com (2.2.2.2) - which is the www subdomain for domain.com ...
42
votes
4answers
42k views

How to specify level of compression when using tar -zcvf?

I gzip directories very often at work. What I normally do is tar -zcvf file.tar.gz /path/to/directory Is there a way to specify the compression level here? I want to use the best compression ...
7
votes
3answers
1k views

Creating an OS X PKG file on Linux?

I have Debian / Ubuntu / Xubuntu. I'm trying to distribute and run a Python file with the least number of clicks for the end user. How do I create a PKG file for Mac OS X on Linux?
3
votes
3answers
7k views

How to diagnosis and resolve: /usr/lib64/libz.so.1: no version information available

I had a hell of a time installing lxml for Python 2.7 on CentOS 5.6. For some background, Python 2.7 is an alternative installation of Python on CentOS 5.6 which comes with Python 2.4 installed. it ...
3
votes
1answer
940 views

Why is syslog so much slower than file IO?

I wrote a simple test program to measure the performance of the syslog function. This are the results of my test system: (Debian 6.0.2 with Linux 2.6.32-5-amd64) Test Case Calls ...
3
votes
1answer
2k views

Record audio when sound is detected, like “motion” does for video

For those not familiar with the "motion" project it monitors your camera and when enough motion is detected in the video field of view it records that to a video file. The project website is here What ...
2
votes
2answers
798 views

GPG error when updating Linux Mint 9

When i run sudo apt-get update, i get the following error W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not ...
9
votes
1answer
2k views

How can I install a more modern version of GNU utils (coreutils) on Debian Linux with no admin rights?

I would like to install a more modern version of GNU utils (coreutils) on a debian linux system where I have no admin rights. Is there a way to do that? The rationale is that I need a more modern ...
2
votes
2answers
953 views

Remapping key combinations (custom macros in linux)

I'm not sure at which layer this functionality would have to exist, so I'm just tagging this for my own stack. In my specific case, I'd really like to map the [Function Key]-J key combination to the ...
0
votes
1answer
430 views

XTerm and a bold text

This is my Xterm config: XTerm*saveLines: 512 XTerm*reverseVideo: false XTerm*reverseWrap: true XTerm*fullCursor: true XTerm*scrollTtyOutput: on XTerm*scrollKey: on XTerm*eightBitInput: false ...
0
votes
4answers
427 views

How does the OS feed machine code to CPU?

When we run an executable,the machine code is called one by one in the CPU,but how does the OS feed each instruction to CPU? What's the internals?
5
votes
3answers
523 views

Brace expansion : run several commands instead of expanding on one line?

When you use brace expansion in bash, something like echo {a,b,c} becomes echo a b c Is there a way to expand it to 3 separate commands, one for each expansion, instead? So that: echo {a,b,c} ...
3
votes
2answers
801 views

Hardsubbing MKV files that use .ass subtitles and embedded fonts

This question pertains only to Linux and FreeBSD. I have several soft subbed anime mkv files that I need to hardsub. they are all using .ass subtitles with embedded fonts. for example mkvinfo on one ...
5
votes
1answer
3k views

IPv6 Tunnel via Own Linux (IPv6-connected) Server

Unfortunately, there's a lot of IPv6 tunnel brokers, and their documentation often clutters the search results for how to setup your own IPv6 tunnel. I have a Linux server with IPv6 connectivity. I ...
1
vote
1answer
1k views

cp -a is preserving ownership, from non-root user

When I invoke cp -a 1 2 from a non-root user, the ownership is being preserved, despite the fact that file 1 belongs to another user. My understanding was this shouldn't be possible. What is going ...
4
votes
4answers
5k views

How to batch rename files with a random name

I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle
0
votes
2answers
154 views

Where can I find which motherboards which cooperate with linux

Where can I find motherboards (or chipsets) which works with linux (DDR2 & DDR3). Can ubuntu use whole 4GB of memory?
1
vote
1answer
353 views

Upgrade Plone installation to use Python 2.6.7

We're running Plone 4.1rc3 with Python 2.6.6 on Linux. I noticed that there is a new release of Python, 2.6.7, that contains some security patches. The Plone instance is using a dedicated Python ...
1
vote
1answer
958 views

Best Drive Format for a 2TB Seagate External HDD, which can be supported in all OS

I have a 2TB Seagate GoFlex Desk External HDD. I want to format it. Which is the best disk format, which will be supported in all OS, like Windows, Linux and Mac?
0
votes
3answers
135 views

Is there any software which compares file on specified directory each day, and if file(s) changed, send a warning via e-mail?

Is there application for linux which would run everyday, and if that app suspect changed files, warn me via email with list of changed files?
0
votes
2answers
220 views

Preserve files accross reboots of live cd

I want to boot the 'Finnix' distro from a usb. I have unetbootin which can set it up on the usb, but it can't allow me to preserve files after rebooting. Is there anyway to do this, maybe do it ...
3
votes
1answer
61 views

How should I compile/install the latest version of applications that are *already installed* via a package manager?

I'm running a Debian web server. Though the packages are up-to-date, current vulnerability detection software (for instance Nessus) found several potential security risks that exist in the software ...
0
votes
1answer
147 views

How to give log in credential for internet through command line

My GUI for backtrack is not working. I want to connect to internet. I gave the required static IP address to my machine. but the problem is I have to give username and password through the browser ...
0
votes
1answer
489 views

How to get the binary path of a Mono process?

Is it possible to get the path of a process running under Mono in Linux? For example if I launch KeePass using mono KeePass.exe, running ps just shows the command name as mono, while what I really ...
0
votes
1answer
74 views

How does windows and linux set it's clock

Today I missed class because my clock was an hour slow. The cause of this seems to be because the windows time service wasn't switched on. Seems to work fine now. Why does windows not use the hardware ...