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

8
votes
7answers
530 views

Per-directory bash/zsh history log files

I find I do a lot of work on a project in a set directory. Sometimes — a few months down the track — I need to redo something on that project but I can't remember what I did. I use ...
3
votes
2answers
760 views

How to force a drive to mount at startup in Ubuntu

In Ubuntu I have an external USB drive that gets automounted when accessed through Nautilus. The problem is that if I first open up a terminal and try to access the files, they're not there. I have to ...
5
votes
1answer
347 views

View unicode codepoints for all letters in file on bash

I have to deal with a file that has lot of invisible control characters, like "right to left" or "zero width non-joiner", different spaces than the normal space and so on, and I have troubles dealing ...
8
votes
2answers
2k views

Same file, different file size

I made a backup from my FTP server, with lftp and Transmit (Mac app). Everything is fine, but there is a different in file size for 1-2 files, but they are identical. First file: ...
0
votes
1answer
328 views

How do I create a backup before applying updates on CentOS?

I just installed CentOS and found a couple of updates using yum check-updates. How can I do backups for all the files on each update? For example, rpm or udev. I tried: cp -Rp /where-it-is-located ...
1
vote
4answers
3k views

How do I mount a software RAID1 (mirror) created by windows in Linux using mdadm?

I'm switching my Windows server to Ubuntu and am trying to get my software RAID1 (mirror) that I created in Windows to show up in Ubuntu. I have read that this is possible here using mdadm, but I'm ...
1
vote
1answer
512 views

Change splash screen on GRUB 0.97

I'm running a Linux from SuseStudio. I would like to change the background image at the GRUB screen. menu.lst contains the line gfxmenu (hd0,0)/boot/message. When I strings the file, I see the line ...
5
votes
4answers
3k views

“Could not claim interface on camera: -6” when trying to connect usb camera (Kinect)

I have installed the freenect library from openkinect.org. With that library there is a demo application which you can run from the terminal to test out the Kinect. However when I run this command I ...
1
vote
1answer
386 views

How to start plasma-desktop from SSH-console on desktop session?

I killed KDE's plasma-desktop on a openSUSE 11.2 machine, because it was eating too much CPU. How can I restart it via SSH or another tty session? On the affected computer there is only shown a ...
1
vote
3answers
2k views

Host your own website and dns server

I pay big money yearly for all of my website hosting, domain registrars, etc. My IP is dynamic and my provider allows different http ports. On my local webserver, I have access to my websites like ...
0
votes
1answer
148 views

How to install package from newer distribution?

I have Ubuntu 10.04 server and want to update a package to newer version (update rrdtool from 1.3.8 to current 1.4.5). What should I do? Download and build sources or get package from newer ...
1
vote
1answer
60 views

Modifiying a file in editor automatically

I'm trying to change a ppt to beamer. Here's the strategy I'm following: Copy all bullets from the ppt (open office) Paste it in an editor (gedit?) Hit save. (Here, it should call the sed script ...
6
votes
1answer
1k views

Linux equivalent of clip.exe

I am trying to figure out how to copy the contents of a file to and from the clipboard in Linux (Ubuntu Server 11.10, bash). Is there a linux equvalent of the Windows command clip < filename? If ...
1
vote
0answers
148 views

Can't get my monitor setup to stick with PCLinux OS

I'm using PCLinuxOS, which uses the KDE windows manager. I have to reconfigure my dual monitors every time I restart my system. I used the configuration utility to change the enable the second monitor ...
1
vote
2answers
646 views

Division with bc (bench calculator)

bc 1/2 0 5/3 1 10/3 3 When a fraction is entered into bc, the result is truncated to an integer. How can this behavior be avoided, such that the output of a division ...
2
votes
3answers
1k views

Running Python from a USB stick on Chrome OS

I have been thinking about running using Python on my chrome book. Is it possible to run Python form a USB key on my Chromebook? If so what would the steps be?
0
votes
1answer
723 views

Thunderbird (or Icedove) and Gmail IMAP offline caching

I currently use Icedove (Thunderbird as it's known outside of the Debian world) for accessing my Google Apps mail via IMAP. I'm interested in having this cached locally on my machine. I have lots of ...
2
votes
3answers
3k views

What software can I use to give my computer multiple copy and paste shortcuts?

I would like to have the ability to copy multiple items with different shortcuts, and have different past shortcuts, each linked to one of the copy shortcuts. For example, pressing ctrl+v would paste ...
2
votes
1answer
425 views

Delete old files x days and send email if its done

I have a script that works removing files x days and keep the folders. I'm trying to send an email once its done with the deletion. Any advice? Current script is below: #!/bin/bash find /testftp/* ...
1
vote
1answer
896 views

linux 'top' not showing all processes

I am running linux top command to see processes running inside qemu VM. Sometimes, a process does not appear in them, but if I run, ps -eo psr,pcpu,comm | grep myprocessname then the process is ...
0
votes
1answer
105 views

Windows 7 “home” sub-directory relocation

I'm setting up a new rig dual booting Linux and Windows with an SSD + HDD filesystem. I have Linux set up how I want: Under Linux: / is a partition on the SSD. /home is a partition on the SSD. /var ...
-5
votes
3answers
362 views

How to find the uptime in Windows? [duplicate]

Possible Duplicate: How to find out uptime on Windows? Is there any function like "Linux uptime" in Windows?
0
votes
1answer
289 views

what does the S and K in file name under /etc/init.d/rcx.d stand for

I'm using Suse11. I know the /etc/init.d/rcx.d is used for different run levels. And if you list of the directory, let's say rc5.d/. You can see that the filename either start with S or K, so what is ...
1
vote
1answer
345 views

track disk usage over time in linux

I know I can use df to get a summary of disk usage right now. I can use du to break down into the detail of how the disk is being used. The problem is I can only see this information for today. ...
0
votes
1answer
809 views

VirtualBox Under CentOS vboxdrv not loaded

I am a newcomer with linux. I have a little problem with linux. Whenever I try to open [start] virtual box, I get this error and do not know how to fix VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908) The ...
1
vote
0answers
162 views

why can't I use gnome in my Suse11 box

I newly installed a suse11 sp1 box. after the initial installation I do get a pretty gnome based desktop, but after reboot what i get is just a text prompt, the user I login with has a run level of 5, ...
0
votes
2answers
288 views

When installing Linux, what does remove all Linux partitions mean?

The Linux installation screen offers me the option to remove all Linux partitions and to create a default layout however what does this mean exactly? Does it mean that if I have Fedora installed, it ...
1
vote
0answers
598 views

Linux directory permissions, owner can create and read but not delete

I want to create a folder, so the owner can create and read files but not be able to delete them. I tried with ACL, but the owner can still delete the files. $ setfacl --set u::rwx,g::-,o::- control ...
2
votes
1answer
2k views

Mapping keys on Linux

I'd like to change layout (mapping) of Lenovo ThinkPad keyboard (which I hate) to be like Acer TravelMate 8000 (which I love). That mainly means: Swap Fn and left Ctrl Tab-left to act like PgUp ...
0
votes
2answers
3k views

Unable to upgrade libc6 on Debian

I tried to update a system of mine, with which I had no problems whatsoever, and ran into problem while executing a aptitude full-upgrade. The update ran through normally till I got this error : ...
0
votes
2answers
2k views

Can't install gedit plugins on Linux Mint 12

I'm trying to install for instance this plugin in gedit on Linux Mint 12 (Gnome 3). The gedit version is 3.2.3. According to the Gnome gedit plugins page, the following must hold for third party ...
4
votes
2answers
909 views

Linux guidelines for an SSD

I can't seem to find a whole lot of concise information on Linux with an SSD best practices. What is the recommended layout for the file system? What to mount on the SSD and what to mount on a ...
0
votes
1answer
98 views

What environment does an application run in if started via desktop shortcut?

I have noticed that the environment variables I export in my .profile or .bashrc files are not available to applications started via a desktop shortcut. At least to my IDE. They are available if I ...
2
votes
1answer
347 views

How to migrate from Ubuntu to Fedora?

I am considering moving from Ubuntu to another Linux distribution, most likely Fedora. I'm generally familiar with classic command line tools, and I'm comfortable using both of these distributions, ...
-1
votes
5answers
6k views

Change permission of contents of My External Hard Disk?

Suddenly all of my contents residing on external hard disk has changed to read-only mode. Even though I am using Linux, I don't know how a virus have done this. I tried using "chmod", but still I am ...
0
votes
1answer
391 views

Can't boot into OpenSUSE 12.1 with Zen-Kernel?

I've a dual-boot Windows 7 and OpenSUSE 12.1 box. I want to install the Zen-Kernel because I think it's useful for me but when I boot into Linux it didn't load the desktop but I get the emergency ...
0
votes
0answers
202 views

How to start init, but not startup scripts?

I specified rdinit=/bin/sh and manually booted the system (in chroot) from command line, complete with mounted filesystems, network services and X desktop. The init is still busybox's /bin/sh. The ...
2
votes
1answer
401 views

Changing apperance of gui applications run under ratpoison/Xorg?

I recently started a question where I wanted to know how to run the most minimal Linux desktop (Use gnu-screen and X instead of desktop environment?). And the conclusion was that I would need a window ...
1
vote
4answers
10k views

How to get Linux users list from LDAP

We've just linked one of our Linux host to LDAP and ActiveDirectory. Now I'm trying to check how I get list of users and their details from within the Linux side.
0
votes
2answers
3k views

Route internet address to specific network interface

I have two network interfaces. One wired (eth0) which is filtered by proxy. One is wireless (wlan0) which is free. I need to route specific URLs via the wireless interface to avoid the proxy.
0
votes
1answer
106 views

unable to boot into my Linux

I am using ubuntu 11.04 (or rather was using it). I was following this tutorial. After I finished it, I shut down the computer and haven't been able to log back in. Basically what is happening is ...
1
vote
1answer
409 views

command in multiple lines

Here is an example code from a book I need to type on terminal > db.users.update( {username: "smith"}, { $set: {favorites: { cities: ["Chicago", "Cheyenne"], movies: ["Casablanca", ...
0
votes
1answer
342 views

How to know the free space on system login by ssh command?

see i am logged in another system by ssh command Now i want to check how much free space is available on that system then how can i check that? i have just command line interface so is there any ...
1
vote
2answers
236 views

DFS for a several small clusters over WAN

My friends and I all have TBs on our system(s). None of us have any full backups which are geographically distributed however, because at that amount of data, solutions such as Dropbox, S3, et al. are ...
1
vote
1answer
763 views

Auto enable Mouse Wheel Emulation for ANY mouse devices on Linux

I'd like to have the behavior that using ANY mouse device I can hold down the middle key(or a real wheel) and move forward and back or left to right to emulate the wheel behavior. I found a way to do ...
2
votes
2answers
4k views

How do I get a very simple VSFTPD server working?

I'm running Arch Linux with kernel 2.6.35-ec2. I've got the most recent version of VSFTPD installed and running. Here is its log file: anonymous_enable=YES local_enable=YES write_enable=YES ...
3
votes
3answers
3k views

How to use an iPhone as a USB Sound Card

I know this is highly irregular... but this is actually what I am trying to do, you understood correctly... I have a computer running Ubuntu 11.04 which does not recognize my earphones, and I cannot ...
2
votes
3answers
4k views

How to ssh to my machine at home, when the IP address of router might change?

I often find I want a file on my home machine when I'm out and about, so I would like to set up ssh server on my home machine to be able to login securely over the internet. It's my understanding ...
11
votes
3answers
33k views

How to route only specific subnet (source ip) to a particular interface?

How to route only specific subnet (source ip) to a particular interface? OS: Linux I know I can do easily by destination IP by using something like route add 1.2.3.4/24 dev eth4 but I do not ...
0
votes
1answer
85 views

How to understand if a folder is in the right partition

I've just installed an ubuntu server (11.10) with two partitions, one is a ssd hard drive and the second one is a raid 1 drive. During installation process I chose to put the home directory inside the ...