A family of Unix-like 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
2answers
4k views

Linux startup script to connect to bluetooth and cron to keep it connected

I have a mini Bluetooth keyboard and a Raspberry Pi running a Debian-based distro. I know the MAC address of the keyboard but for this question, let’s just use AA:BB:CC:DD:EE:FF. Right now I have to ...
4
votes
9answers
3k views

How to make Firefox use TCP for DNS

I want to use TCP for DNS, to bypass my ISP's slow and broken DNS servers. I'm not using (and don't want to use) a proxy. Note: I want to use DNS over TCP because if I use it over udp, no matter what ...
4
votes
1answer
12k views

How can I play games requiring DirectX in linux?

I am an avid gamer, I use Windows & Linux, I would like to play games in my Ubuntu machine which requires DirectX. How can I run the game which requires DirectX in Linux?
4
votes
5answers
3k views

Chrome does not follow hosts file

I have custom domains set up for internal web site testing in my /etc/hosts file. I try to access them in Chrome, and I get routed to a Google search instead. But when I ping the domains, they ...
4
votes
2answers
3k views

How can I get a content-listing of a 7z-archive under Linux?

This answer and this one suggest p7zip to work with 7zip-archives under Linux. I can see option for compressing and decompressing. But how can I get a content-listing of an archive, without ...
4
votes
4answers
1k views

Linux only recognizes 800Mhz from 2Ghz

I tried with Suse 11 (KDE), Xubuntu 11.10 and Lubuntu 11.10 and these systems only recognizes 800Mhz from my processor of 2Ghz! The utilities I used are: linuxinfo, sysinfo, "system profiler and ...
4
votes
2answers
2k views

How to run todolist from abstractspoon in linux?

I want to run the ToDoList (any version from 5.3 to 6.2) in linux (ubuntu 11.04) I've tried to use under wine 1.2 and 1.3 without success: 1 - I've downloaded the program (todolist_exe.zip); 2 ...
4
votes
1answer
686 views

Alternative solutions for Skype in Linux?

I used to use Skype on Windows for voice/chat/screensharing with my friends. On Linux however I found that Skype is at version 2.2 whereas the Windows version is 5.5! What the heck? What are some ...
4
votes
3answers
4k views

Internet over Ethernet: DNS works, ping doesn't (Windows works, Linux doesn't)

I have a PC connected to the Internet using an Ethernet connection. Using Ubuntu I am able to resolve domains using nslookup, but if I try to run "ping google.com" or "ping 74.125.39.104" it doesn't ...
4
votes
2answers
4k views

Why does pinging a local router return “Destination Host Unreachable”?

I have two tomato routers. One is bridged wirelessly with the other. I have a new server on the network. It's running Ubuntu Server 11.04. They are all connected like this: A - Linux PC B - New ...
4
votes
4answers
999 views

Good software to monitor disk io, memory and cpu use? [closed]

I'm developing a website. I was wondering if there are any tools out there that make it easy to log and graph usage statistics of how my cpu, memory, disk and network are used. I need to somehow know ...
4
votes
3answers
4k views

need a bittorrent daemon

I'm building a Ubuntu server for the house. I want to centralize torrents. what I'm looking for is something that runs as a service (daemon) that has 3 folders to configure. Actively downloading ...
4
votes
5answers
767 views

Learn Linux for the First Time

I want to learn Linux so badly but I'm so pathetic, I don't understand a thing such as "sudo" "apt" or even directories. Also, I'm a slow learner but I'm patient and I can go through the hardship just ...
4
votes
1answer
830 views

how to move around files using “ls -al” result in Linux?

How can I write a script to copy files from one directory to another directory according to last modified date? ls -al -rw-r--r-- 1 user user 100 2011-05-26 12:33 ...
4
votes
2answers
3k views

Mount external USB drive in Debian Linux to a mount point based on the volume name

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of ...
4
votes
2answers
7k views

Can I access my desktop over VNC at a different screen size?

I've already installed x11vnc and have it running well on my laptop upstairs. I can access my existing desktop session with no real problems, it works great. The problem I'm running into is the fact ...
4
votes
3answers
5k views

Desktop not visible, doesn't show any icons in Kubuntu

I installed kubuntu few days back. By clicking blindly I lost my desktop - I mean it is working fine but there are no icons on the desktop and there is no task bar with list of programs. How can I ...
4
votes
1answer
525 views

how to copy I/O not just redirect (Windows and Linux)

I have a simple call command call calabash -D sim.xpl >test.txt 2>&1 and this redirects into test.txt, how do I do both redirect into a file and allow it to show up in the prompt? (I ...
4
votes
1answer
9k views

How to remove a very large folder (~40GB) with lots of files efficiently in Linux

I'd like to remove a folder with lots (millions) of files efficiently. When I issue rm -rf folder/, it takes hours, and I have to kill it. I'm wondering whether there is a magical way of doing this ...
4
votes
1answer
4k views

What does the + mean in the output of “ls -l”?

ls -l -rwxr-xr-x 1 root root 885 2010-07-08 13:55 /etc/backup-number-of-files* -rwxrwxr-x+ 1 levchuk Users 1067 2010-08-30 14:37 /etc/backup-running-time* Please notice the + on the 2nd ...
4
votes
1answer
4k views

How to make all files non-executable recursively using find without affecting directories?

I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process find /dir/ -type f -exec chmod ugo-x {} \; find /dir/ ...
4
votes
3answers
1k views

How to disable notify on “screen -D -R”

I'm running screen -D -R (with optionally using -S name), and it works great, but has one problem - when given screen doesn't exist earlier, i get notification "New screen...", and irritating wait. ...
4
votes
1answer
433 views

List availible NICs on Linux

I have CentOS 5.5 I want to list all availible physical (or virtual on DomU) NICs connected to motherboard and see it's MAC addresses. I guess that related information should be somewhere in /proc or ...
4
votes
2answers
902 views

Excluding a list of directories from Find

I am using rsyncrypto to backup a few of my user directories. I want to exclude some subdirectories from the encryption. I read that the best way to do this is to pipe the output of find to ...
4
votes
2answers
2k views

How to share ethernet connection on Ubuntu (Jaunty)?

I've googled it and I've found mostly tutorials on sharing when having 2 ethernet ports. I am in a hotel with only wired connection (eth0). I would like to use my wifi card to share my connection with ...
4
votes
5answers
9k views

How do I copy data from a Ubuntu server using terminal by telnet?

I have one folder to copy that consists of PHP and similar files for creating a web site. How do I copy one folder from the server (Linux Ubuntu) to the client PC (Linux Ubuntu) using terminal? Could ...
4
votes
1answer
396 views

Recover backup copy of a ubuntu linux installation on a usb stick using dd

I installed Ubuntu 10.04 on a usb stick in persistent install mode. So I could boot the laptop or my desktop computer with the stick, at boot time. Once I needed the 8GB stick for another purposes so ...
4
votes
2answers
2k views

Is there a difference between an Ubuntu Live CD and an Ubuntu Install CD

I ordered for an Ubuntu Install CD and obtained a CD by post (Ubuntu 9.10). Is this a Live CD or an Install CD ? What exactly is the definition of a live CD ?
4
votes
4answers
5k views

How do I “globalize” binaries in Linux?

For example, any binary placed in /usr/local/bin will run in any location. If I were to place binaries inside /myname/local/bin how would I be able to accomplish the same thing?
4
votes
3answers
8k views

Can I run 64-bit executables on a 32-bit Linux?

If yes, how? OS: 32-bit Red Hat Enterprise Linux Client release 5.4 (Tikanga)
4
votes
1answer
2k views

Weird linux problem: user is in www-data group in /etc/groups but groups command doesn't show him

I've come into something strange. I just added a user to the www-data group, the user appears in both /etc/group and /etc/group-, however when I use the groups or id commands the group isn't listed; ...
4
votes
2answers
1k views

How to set the default file permissions on ALL newly created files in linux

My question is similar to this: http://stackoverflow.com/questions/228534/linux-default-file-permission but there is no scp/ftp client involved and that question looks abandoned. Simply put: I want ...
4
votes
2answers
1k views

Linux queuing system

We have a few computers that are used for simulations in physics which are run by a few people. I would like to install some queuing system to submit tasks and to fairly share resources. What would ...
4
votes
2answers
4k views

NTFS symlinks in linux

I have an NTFS formatted drive (from a previous windows installation) and it contains some symlinks (reparse points), For some reason, I can't do anything with these symlinks: I can't go to where ...
4
votes
1answer
1k views

Unnecessary Swapping in Linux

It seems that sometimes, my computer will start swapping unnecessarily (memory usuage is ~25%), and I can't figure out why. It seems to happen most often when running Perl scripts, but these aren't ...
4
votes
2answers
329 views

Connecting a MIDI Controller to CentOS5

Edit: I'm trying a different tack at the problem, by using /dev/midi with C. Hello all! I recently got a Akai MPD24 MIDI controller, as part of a piece of software I'm writing. I'm looking to use the ...
3
votes
1answer
653 views

LXD containers and networking with static IP

I have done some Docker testing over the years, but for a specific kind of testing, I need a little more then just application containers. So I turned to LXC/LXD containers, which is great. After ...
3
votes
1answer
531 views

How would I encrypt my whole Linux filesystem with Veracrypt?

I'm running Kali Dojo 2.0 and I'd like to encrypt the entire drive. I've encrypted my Windows 7 Home Premium drive with Veracrypt, and it was a simple setup and I'd like to do something similar on ...
3
votes
1answer
934 views

Windows 10 / Linux Dual Boot - Boot-loader Problems

I am currently running a dual boot of Windows 10 Home 64-bit and Xubuntu 15.04 64-bit on my machine. I have Windows 10 on an SSD, Xubuntu on another SSD and an HDD for storage formatted as NTFS (this ...
3
votes
1answer
3k views

How to disable a plugged-in PCI-e graphic card on OS level? [duplicate]

I have a server running for which I want to have a possility to access it with a screen connected to VGA (very rarely, most of the time it's accessed via SSH). Therefore I have a PCI-e graphic cards ...
3
votes
2answers
1k views

Faster recovery from a disk with bad sectors

Recently I tried to dd from an unhealthy HDD to a file. I used dd if=/dev/sdb of=somefile bs=4096 conv=noerror,sync. My problem was that dd wasted a lot of time when it encountered a bad block. In my ...
3
votes
1answer
100 views

Understanding metadata usage behavior in a newly converted btrfs filesystem

I have a 5 TB hard drive with 3.3 TiB (as reported by du) of media files in 119k files and directories; the average file size was about 28 MiB. I converted the ext4 partition into btrfs with ...
3
votes
3answers
3k views

oxps to pdf or image - Linux

I've been trying to solve the problem of converting an .oxps file to .pdf or other file format. Any solutions for Linux out there? I've been searching around and cannot come up with much thus far. ...
3
votes
1answer
581 views

Change UUID under Linux?

I need to create and assign a new UUID to an ordinary disk partition under Linux. What tools are available and how do I use them?
3
votes
1answer
241 views

Will the usb disk wear out when it is set to read-only

I'm aware that usbs' have a limited read/write cycles. What if, I put a whole linux installation, about 4Gb, on a usb and set the usb to read-only. Then set a ramfs for those apps that needed a ...
3
votes
1answer
1k views

dm-crypt+luks: Can I have a separate header without storing it on the luks encrypted device?

I would like to encrypt my external hard drive with dm-crypt+luks, but I am not satisfied with all the information, that the LUKS header is providing in plaintext. So I would like to keep the LUKS ...
3
votes
2answers
355 views

In bash, how I define a “command scope” variable?

I'm reading this book on the bash architecture and one of the bash maintainers says: There are different variable scopes for shell function calls and temporary scopes for variables set by ...
3
votes
2answers
35k views

Kali Linux not detecting wireless network in dual boot

Am new to Linux. Just downloaded and installed Kali Linux 1.0.7 yesterday. I have a wireless connection in the house. But Kali doesn't seem to be detecting the network. I go to the network icon and ...
3
votes
1answer
1k views

Is it possible to create bootable linux on USB drive using windows command line?

we can create bootable windows 7 on usb drive(here) using windows command line, is it possible to create bootable linux using windows command line? ( i.e. not using any software) I've entered the ...
3
votes
1answer
184 views

Trying to reset local ip address with a script that edits /etc/network/interfaces

I'm trying to write a script that sets the local IP address. This is what I have so far: #!/bin/sh echo -n \ "# interfaces(5) file used by ifup(8) and ifdown(8)\n"\ "auto lo\n"\ "iface lo inet ...