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

21
votes
5answers
10k views

How to take notes in PDFs in Linux

In Adobe Acrobat Pro you can do things like put little sticky notes in PDFs, highlight text, and create bookmarks. I have found this very useful for learning. In school you learn better when you put ...
1
vote
0answers
901 views

Setting default desktop in CentOS 6.2

In centos 4 and 5 I used to select desktop (KDE or Gnome) when I login and set if it's for this session only or permanent selection. In CentOS 6 I can also select desktop ... only after I enter my ...
1
vote
2answers
2k views

How to by-pass user interactions in a script?

I am trying to automate the installation of a program through a shell script. There are a few steps which require user interaction from the command line (confirmation, yes/no, etc.). What is the best ...
8
votes
2answers
7k views

Why is yaourt looking in the wrong place (pacman works)?

After removing yaourt and package-query, upgrading pacman to v4.0.1 and reinstalling the latest package-query and yaourt from AUR, I can't use yaourt anymore. It tells me: Unable to open file: ...
1
vote
2answers
5k views

How i can install BusyBox on Virtual Machine?

How i can install BusyBox on Virtual Machine? For instance, VMVare or VirtualBox? Where I can see some manuals about this problem?
0
votes
1answer
814 views

Archlinux boot time

I have Archlinux installed in my netbook. I want to reduce the boot time to less than 10 seconds. Is this possible? Do you have any success in reducing the boot time to a larger extent? I am aware of ...
4
votes
3answers
3k views

Permissions on a typical shared Linux web host

I am trying to understand the file permissions on a typical shared Linux web hosting account. I know how to set rwx permissions for the OWNER GROUP and PUBLIC entities of a file or directory. What ...
1
vote
2answers
114 views

apache cache from wan link disk store

The Problem: I want to host lots of digital photos from a website. More than the host has disk space. The background: I have a vps which hosts a website, the machine has tons of bandwidth but not ...
0
votes
1answer
691 views

Display characters on a square grid?

How can I display characters as if they are square in vim? The characters themselves don't need to be square, but if you were to draw a grid through all centre points of the characters it should make ...
1
vote
3answers
673 views

Linux got really slow

Recently my machine has become very slow and I don't know why? I've re-installed my Linux ( Ubuntu, Xubuntu ) several times. But everytime, after using a few times. It becomes slow again. I means ...
2
votes
1answer
4k views

How to increase VMware Workstation 8 performance?

I want to add temporary files to /dev/shm with my VMware but I found this hack to improve the perfomance of the vm: mount -t tmpfs -o size=5G,nr_inodes=5k,mode=700 tmpfs /disk2/tmpfs But I don't ...
0
votes
2answers
1k views

how do you access and control ubuntu vps via desktop?

how do you control your webserver vps using a remote desktop? for example, I am on ubuntu, is it possible to control the ubuntu gui on the vps server? I've done it with windows server using the ...
1
vote
2answers
13k views

Archlinux sound not working

I installed Archlinux recently. I have instaled flash, vlc, alsa-utis. But there is no sound. I tried un-muting using alsamixer but there are no difference. Can you please let me know how to fix this ...
0
votes
1answer
385 views

Linux Locate Command false info

I am running Arch Linux and have used the "locate" command quite often to find files. I noticed today, however, that it is bringing up results from where the item has been in the past, not it's ...
2
votes
3answers
7k views

Looking for an encrypted, persistent and live Linux distro preferably with Tor [closed]

I am looking for a live linux distro (for installing on a USB flash) that is encrypted and provides anonymity and is also persistent so that I could install apps on it. The best I have found so far is ...
2
votes
1answer
839 views

Secure alternatives to VPN?

I need a way to access my home network (well, specifically just one server on the network) from anywhere. Usually I would use Himachi (free VPN client, made things very easy) but it has since become ...
2
votes
1answer
578 views

Is it possible to change linux terminal color whenever I am connected (ssh) to another machine

I would like to have my terminal colors changed whenever I am connected (through ssh) to another linux machine. This way, I know that I am putting commands in a remote computer just by looking at ...
0
votes
3answers
216 views

What provides autocompletion? Shell or emulator?

I have been using Linux for some time now. Now, I have question about auto-completion of commands and directories in a terminal window. When I press a tab key the terminal auto-completes or gives ...
0
votes
1answer
224 views

Slow ethernet connection on Lenovo IdeaPad s10

I got this netbook from my friend when he bought a new one. All it needed was a charger and it was up and running again. I wiped his HD and installed Debian (crunchbang) and noticed immediately that ...
0
votes
0answers
158 views

Tool in Linux which divides the screen into two halves

Is there a tool in Linux which divides the screen into two halves allowing to zoom windows not only to the whole screen but also to those halves? Thank you.
6
votes
1answer
2k views

Compressing a file in place - does “gzip -c file | dd of=file” really work?

In the question How can I compress a file on Linux in-place, without using additional disk space?, one answer proposes to simply use gzip -c file | dd of=file I tried it (on Debian Linux), and it ...
2
votes
3answers
2k views

Ubuntu - How to recover files deleted by “find -delete” command?

I accidentally deleted my files with "find -delete". Is there anyway I could recover those files?
3
votes
2answers
5k views

Create a multiboot USB drive with NTFS or ext2

I am trying to create a multiboot flash drive, but I don't want to use fat 16 due to the huge performance cliff between fat 16 and other file systems like ext 2 or NTFS. I need to have multiple linux ...
4
votes
3answers
3k views

How to send multiple magnet links to a separate headless Linux machine?

With torrents, we could use w3m (Linux) to pass multiple torrent files to a separate machine running rtorrent. This doesn't work with magnet links. We can pass magnet links from Firefox to Azureus ...
3
votes
1answer
1k views

SSH Config - Multiple proxy configurations

I'm wanting to try and set up an easy way to manage my SSH proxy settings. I find I often want to SSH to my server from three different locations - two locations each have their own proxy server which ...
1
vote
1answer
2k views

what to do when fstab breaks?

Which is the best way to fix broken fstab? I think that i could do that with some live linux distro. First serch for partitions and mount them to temporary created /temproot. Manually mount partitions ...
2
votes
1answer
4k views

VM on ESXi host - How does one make externally accessible?

I have a home server running ESXi v5.0.0 with a VM guest OS (linux) up and running. I have apache 2.x installed and serving to my machine (i.e I can access the default apache page when going to ...
0
votes
1answer
233 views

linux LVM data recovery

I added a partition to my LVM group on linux, but didn't back up the data that was on the disk before doing so. And now I can't mount the underling partition as /dev/sda4. Does anyone know how to get ...
2
votes
1answer
805 views

How to get ZSH previous command's history number in prompt?

I'm wanting to add the previous command's history number to my prompt, as well as the exit code. At present, %h[%?] Gives me the current history number, as well as the last exit code. What I'd ...
5
votes
2answers
4k views

How does one enable --write-mostly with Linux RAID?

Unfortunately the mdadm and mdadm.conf man pages are not quite up to par. I would like to enable the --write-mostly flag for my RAID, but neither the man pages nor the internet will tell me how. I am ...
0
votes
1answer
1k views

open program in user display from console

I can't figure out .. I exported DISPLAY variable, but that don't work. I have computer with ubuntu 11.10 on it. Computer have display. On display i am showing pictures in slideshow. So i connect ...
0
votes
1answer
486 views

Sed pattern for multiple lines

I want to remove all create table statements from a mysql script, but the statement runs over multiple lines. Like this: Create table ......NEWLINE... NEWLINE... NEWLINE....; So I tried this ...
5
votes
2answers
16k views

Unable to “git stash pop” due to conflict

I have a local git repository and had several modified files. Then I needed to quickly produce a fix for something so I stashed my changes (git stash) edited file (vi file) committed (git commit) ...
2
votes
1answer
194 views

Secondary NIC: what all can I do?

I was loaned a NIC which I promptly installed in my F16 workstation just to 'play' with it (using iptables and stuff). Other than forwarding packets from the new NIC to the old NIC using various ...
1
vote
3answers
152 views

Atomic application of unix patch

I have prepared a "patch" to my customer who will need to manually apply it to their code. If patch is applied partially due to conflicts then the whole procedure needs to be immediately reversed. I ...
0
votes
1answer
310 views

awk + sed + match complex string

I need useful command to match the string "/pci.../pci.../pci..../scsi..../disk..." with awk or sed? ( I need to put this command in my ksh script ) remark 1 [...] can be any string , and “pci pci ...
4
votes
1answer
2k views

Streaming audio over SSH.

I do most of my work over ssh on a remote linux server where I also keep most of my files. I'd like to be able to hear any sounds that normally would be on the PC speaker. Is there a way to have sound ...
0
votes
1answer
336 views

tail -f makes tomcat die

We have a build file that does a git checkout, compiles a war, deploys to tomcat and then tail -f 's the catalina.log. If the ssh session over which this is done somehow dies, even though we are only ...
0
votes
1answer
324 views

Can I clone my laptop os and host it with VMware Workstation 8?

Does it make a difference in speed when I use a shared vm instead of a native os? I'm using Linux for web development with a laptop. My server isn't the fastest but it's nice to have this new feature ...
1
vote
1answer
1k views

How to get the env vars I want with the superuser command?

I'm running OpenSuse 12.1 KDE. I was previously running Ubuntu. In Ubuntu there was a superuser option (sudo -s) that preserved the original user's HOME env var (and another option, sudo -i, that set ...
9
votes
3answers
16k views

How to correctly partition usb flash drive and which filesystem to choose considering wear leveling?

Two problems. First one: how to partition the flash drive? I shouldn't need to do this, but I'm no longer sure if my partition is properly aligned since I was forced to delete and create a new ...
0
votes
2answers
276 views

Linux on USB with / mounted on Pendrive?

I'm wondering how to install Linux Ubuntu/Mint on Pendrive so that / (root fs) is mounted directly on USB in RW mode ? I think that most installers simply copy the installation CD onto pendrive. And ...
1
vote
1answer
629 views

Unable to access a script from root directory in Linux

I have a script in one of I my root directory: /root/scripts/script1.sh I wan't to call that script as another user (james1). I did the following (as root user): root@pc83$ CD scripts root@pc83$ ...
1
vote
2answers
1k views

Can't ping Linux IPv6 address from Windows XP

I gave an IPv6 address to my SUSE Linux machine on a VirtualBox VM with ifconfig eth0 inet6 add ... I can't ping that address from Windows XP (vice versa) The address of the Linux machine is efbb::26 ...
2
votes
2answers
433 views

What does this macro mean in linux kernel code?

see i found one config file in which this are macro defined # # Input Device Drivers # CONFIG_INPUT_KEYBOARD=y # CONFIG_KEYBOARD_ADP5588 is not set CONFIG_KEYBOARD_ATKBD=y # CONFIG_KEYBOARD_QT2160 ...
7
votes
3answers
21k views

Linux kernel hangs at 'Switching to clocksource tsc" on Pentium 4

Hardware: Dell Dimension 4500S : i845G, Pentium 4, stock + 2GB RAM and latest (circa 2002) BIOS update. I've been building a Linux system from source, so far it's LFS 7.0 by the book. The first ...
2
votes
1answer
1k views

UPnP Control from terminal

I would like to be able to control a UPnP Router from the terminal in linux. I don't mind what language the software is in, but Ruby/Python/PHP would be preferable.
13
votes
3answers
8k views

Is it possible to view images in a terminal?

I have ssh access to my web server. I have some image files there and I would like to see a preview of. Is there a tool that will help me? Is there a curses-based viewer that will approximate the ...
6
votes
3answers
3k views

Open case detection aka intrusion alarm

I am monitoring ACPI and other sensors on my mainboard with lm_sensors. there are two entries: intrusion0: ALARM intrusion1: ALARM From what I know these are sensors to detect an open case, but ...
1
vote
1answer
1k views

Allow window overlap in awesome WM floating mode?

I am trying to set up a tag in awesome that contains a web browser and tyrs (command line twitter client), where both programs overlap each other following the geometries I have set to them. (This ...