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
413 views

JMicro Ethernet Card Error 10

I have an ASUS K52JR notebook, Windows 7 / X64. Everything was fine, but sometimes the Windows crashed (blue screen). Then I made a BIOS update on the machine. Because I used WiFi and mobile stick in ...
1
vote
2answers
2k views

How can I count the number of lines in my all my files in this directory?

I want to count the lines of all files in this directory and all its subdirectories, but exclude directories "public", "modules", and "templates". How?
0
votes
6answers
505 views

adding keyboard shortcuts for OSX terminal or xterm

Is there a way to add a keyboard shortcut for a terminal command in OSX. Basically most of the times i open the terminal app in MAC in order to ssh into a certain server foo. What I want to do is add ...
0
votes
1answer
671 views

Using pam_exec.so for openvpn authentication

I've set up a PAM authentication config for OpenVPN. auth required pam_exec.so debug expose_authtok /opt/openvpn/bin/pamauth The script pamauth returns 0 on success. I verify this is true by also ...
2
votes
3answers
519 views

In GNU/Linux, how to restrict deletion of files and directories owned by a user to a super user only?

In GNU/Linux, how can directories be set such that the owner can only add/read files/directories to/from them but only a super user can do any deletion in that structure? Consider this scenario: You ...
1
vote
2answers
3k views

Adding root to a group

I am not new to Linux, but there's this strange behaviour I'm seeing on my Fedora 15 box. I want to add the superuser to a group called, say, thisgroup. # usermod -a -G thisgroup root # groups # root ...
1
vote
0answers
155 views

How does rsync behave with --append and --link-dest together?

The question refers to the case where a file exists both in the origin and the link-dest folder, but it's larger in the origin. Will it hard-link it and append inplace (thus modifying the file in ...
0
votes
2answers
1k views

How to run linux 0.01? [duplicate]

Possible Duplicate: Running linux kernel 0.01 in a virtual machine How can I run Linux 0.01 on my laptop? If it's possible to run it, could you tell me how? Here you can download the ...
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]# ...
102
votes
6answers
79k 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
660 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
926 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 ...
6
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
454 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
309 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
6k 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
165 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
14k 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
8k 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
831 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
448 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
174 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?
9
votes
2answers
13k 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
351 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
409 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
158 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
831 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
266 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 ...
38
votes
4answers
34k 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
6k 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 ...
1
vote
1answer
780 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
776 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 ...
7
votes
1answer
1k 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
807 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
406 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
333 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
429 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
746 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 ...
4
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
896 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 ...
3
votes
4answers
4k 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
152 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?