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

0
votes
1answer
56 views

Can I tell TestDisk to ignore filesystem?

I recently formatted a FAT32 external hard drive to ext4. After realising this was, in my case, a mistake I now want to attempt to recover the data whilst keeping the folder structure intact How can I ...
1
vote
1answer
1k views

How to backup a LAMP stack server

What's the best way to backup a LAMP stack from SSH (if this is even possible)? Is it possible to create an image file for a remote server somehow, and then use wget to download this? (I am thinking ...
2
votes
1answer
1k views

what is the difference between tty and vty in linux

Can anyone explain me the difference between vty and tty ? I am getting the following when i execute tty . [sce@..]# tty /dev/pts/135 what is /dev/pts/135 here ?
0
votes
1answer
300 views

Mouse stops moving after a every few seconds, but revives after click action

I am using Arch Linux and according to "uname -r" my Linux Kernel Version is 3.10.10-1-ARCH. This problem appeared after a full system update recently. Any idea how to fix this? Thanks in advance ...
3
votes
1answer
783 views

Microphone not working on Apple Macbook Air 1,1 (Early 2008; A1237) under Linux

I'm running Linux on the MBA. I can't make the microphone work. I test using alsamixer and arecord -Dhw -fdat -vv mic.wav together with aplay -Dhw -vv mic.wav It seems there is a problem with Linux ...
1
vote
2answers
1k views

GNOME3 keyboard shortcuts doesn't run my script

I have a home made script that takes a screenshot and uploads it to puush, and I have put the script in /usr/bin. If I open a terminal and write the name of the script it runs perfectly. I use Debian ...
0
votes
1answer
443 views

Automatically create folder to mount remote folder

I'm using the CrashPlan client to backup my computer data to a local NAS. Unfortunately I can't directly put a remote folder in CrashPlan, I have to mount it in a local folder. But sometimes it can ...
1
vote
1answer
507 views

NTFS file corruption when using drive with Windows and Linux Mint

I have two identical Seagate Barracuda drives in an IcyBox/Raidsonic dual HDD enclosure, one is formatted as NTFS the other is a TrueCrypt volume (both were created on Windows 7). I have always had ...
-1
votes
1answer
600 views

how to run java program in linuxmint os

when i am going to run java code in terminal it show following error.. The program 'javac' can be found in the following packages: * openjdk-6-jdk * ecj * gcj-4.4-jdk * gcj-4.5-jdk Try: sudo ...
0
votes
0answers
2k views

How to make Tails Live USB Bootable

I set up a live Tails (a linux distro) USB drive. It boots fine and I can select it using either rEFIt or while holding down option. However, when selected it always says No Bootable Drive Found, ...
0
votes
1answer
188 views

Can you do continous ssh tunneling?

I saw here a way to do two ssh hops ssh -L 9998:host2:22 -N host1 ssh -L 9999:localhost:1234 -N -p 9998 localhost I think I understand what one line does, but not how they work together. Can ...
0
votes
0answers
68 views

Is is possible to copy files over the network using an software installer?

Basically, I need a software installer to overwrite files which reside on a few PCs that are in the same network. Example: I have PC A. I run this installer and it will copy and overwrite files to ...
10
votes
1answer
22k views

Automatically mount a 2nd hard drive in Debian 7?

I've recently installed Debian 7.1 on to my PC, which uses the SSD as the main drive and a secondary 200GB IDE drive as just something I can place programs, music, and other files on there. However, ...
1
vote
1answer
343 views

How to resume wget mirroring from a different location?

I am out of space in my home folder , where iam currently mirroring this site for the pupose of a cygwin installation in my windows machine using wget from my linux machine. i am aware that i can ...
1
vote
0answers
338 views

Linux on USB 3.0 flash drive/SSD disc - load to RAM or standard boot

I am thinking of getting myself a portable (generic x86_64) Linux distro (Gentoo or Kali) on a USB stick. The thing is that I am unsure whether to: load it to ram at boot (as some livecds do), or ...
3
votes
2answers
727 views

Do USB memory sticks have controller and disk-cache on-board?

I'm well aware that the spinning-platter type of hard-disks have an on-board controller and an onboard disk-cache. Now, does the 'disk'-cache also exist on a (4- or 8-GB) USB stick? Incidentally, ...
4
votes
1answer
534 views

Vim process stops after executing an external command

I've been using vim recently to program in C. I have created shortcuts for compiling and running the programs from within vim itself, but recently vim's process has been stopping after executing the ...
1
vote
3answers
1k views

ssh and cd into current directory

When I ssh into mycomputer from logincomputer, I would like to automatically cd into the current directory (the one from which the ssh command was executed) on mycomputer. In particular: > cd ...
2
votes
1answer
2k views

ssh and execute interactive command

I currently have a process where i login to a machine, need to ssh to another machine and then run a command for an interactive job (on a queue-ing system). Is there a way to do this all in one shot? ...
0
votes
1answer
142 views

GNU Screen - String Escapes

Can somebody please explain or point me to good tutorial about "String Escapes" used in ~/screenrc. I am playing with $PS1 and ~/.screenrc. While $PS1 seems pretty clear (colors, conditions, escape ...
1
vote
1answer
121 views

Setting up limited root access RedHat Enterprise Linux (RHEL)?

I need to allow certain users limited access to the lab server. The server is RedHat Enterprise Linux (RHEL) 5.6. However, I don’t want to give them the root access. Basically, we have configured a ...
10
votes
1answer
92k views

Granting write permissions to www-data group

I am creating a website and part of the function is to write out user generated data with php. I'm using nginx on Ubuntu 13.04. A the moment I'm only testing and everything is served through nginx on ...
1
vote
1answer
92 views

Legacy BSD PTYs instead of /dev/pts?

I'm trying to use an old database that only accepts connections from legacy BSD style pseudo-terminals /dev/ttyp's or /dev/tty's. It does not recognise /dev/pts/9 style PTYs. Connections via SSH. I ...
1
vote
0answers
178 views

How to set skype advanced connection Options on fedora 19

I have switched from Ubuntu 12.10 (mint nadia(14) cinnamon) to fedora 19 (gnome). So far so good. I installed skype via the fedorautils. Now that I am testing it using a Vodafone usb modem, it ...
0
votes
0answers
130 views

Top missing some processes

I'm getting weird behavior using top in Arch Linux. When filtering by user (fred) I get a different list of processes depending on the sort order. In descending PID order: PID USER %CPU %MEM ...
2
votes
1answer
2k views

Giving permissions to apache user

I've developed a web application that lets the users to upload images and transform them to later download them again transformed. I obviously had to give apache user permissions to the directory ...
2
votes
1answer
318 views

Using the same file as stdin and stdout results in empty file

If want to filter a file but if I use the same file as input and output the output file is empty. Is there another solution instead of using a second file? php -r "echo preg_replace('~/\* DEV ...
2
votes
2answers
55 views

Do I have to create a new private an public key if I want to connect by ssh in the opposite way?

I have a ssh configuration to connect to my VPS from my localhost, but I want to send backups from my VPS to my localhost, and I need ssh authentication. I'm going through this instructions: ...
4
votes
2answers
508 views

Linux command line / Move files filtered by lexicographic order

I have some files in a directory that are named IMG_0001.jpg ... IMG_9999.jpg. I want to move to another directory the files that lexicographically have a name greater than IMG_9431.jpg How can I do ...
0
votes
0answers
66 views

Can only connect to ssh remotely not locally

This have worked for over 3 months now, but when I try to connect to the server locally now it's pings out. But when I connect remotely from work or from my mobile it connect right away. I haven't ...
1
vote
1answer
393 views

Syslinux “Missing OS” after expanding to the left the partition with /boot

I have a GPT partitioned drive. Its a bit of a mess so I was starting to sort everything out. /dev/sda2 is an ArchLinux install and the location of /boot with syslinux being used. /dev/sda1 is a ...
1
vote
2answers
95 views

How can I maximize free blocks at end of disk on XP?

I would like to know how to take an XP machine, defragment and (I'm not sure what is the right term here--compress, maybe?) move things around so as much of the end of the partition can be ...
8
votes
1answer
4k views

how to overwrite symblic link of directory?

There are two directories foo1 and foo2. At first I make a directory symlink by ln -s foo1 bar. After that I want to change the symlink, so I typed ln -sf foo2 bar But bar is still linked with foo1. ...
0
votes
0answers
33 views

Which are the main steps to configure ssh?

I've been working with ssh to connect my localhost to my VPS without trouble. But now, I want to do the same conversely (connect my VPS to my localhost). Why? Because I want to create a crontab job to ...
8
votes
1answer
1k views

Using sed to enable .htaccess files in Apache config

I am trying to automate the provisioning of an Ubuntu Vagrant box with a Bash script. All is well, but I am having difficulty with configuring Apache to allow overrides from .htaccess files. In my ...
0
votes
1answer
3k views

E: Some index files failed to download. They have been ignored…” when tunning “sudo aptitude update”?

This is what the end of output after I run sudo apt-get update on Ubuntu 12.04: 35% [Working]W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/source/Sources 404 ...
1
vote
2answers
477 views

How to increase Virtualbox disk size?

I am using Windows XP under VirtualBox and using a hard disk from a .hdd format file. My problem is, even after trying hard, I can't resize my hard disk. Can anyone help me to resize my VirtualBox ...
0
votes
1answer
423 views

Embedded Linux Distribution for thin client

I have a WYSE j400 thin client and I want to experiment with different functions for it. It currently has a 1ghz VIA CPU, 1gig of SDRAM and a 512mb flash IDE. Is there a recommended embedded Linux ...
0
votes
3answers
350 views

How to locate where is this mentioned in bash

I removed rvm but now every time I do ls I get this message: -bash: /usr/local/rvm/scripts/initialize: No such file or directory It looks like it's still calling it from somewhere but can't seem to ...
0
votes
1answer
1k views

Can not use 2 monitors under openSUSE 12.3 (KDE4)

I try to run 2 identical monitors connected to my "sapphire radeon 7870 HD Ghz" graphic card under opensuse 12.3. It works fine under Windows7 but under SUSE only one monitor is used. Both monitors ...
2
votes
0answers
305 views

How to backup Linux VPS from Windows via ssh/rsync?

There are a Linux VPS with my hobby projects and my home computer with Windows 7. Windows client is located behind provider's NAT with dynamic IP. VPS server is only accessible with ssh. Is there any ...
2
votes
0answers
2k views

How to create and use USB network interfaces on debian platforms?

This question is basically a follow up on this question. When the phone is plugged in and the Internet pass-through option is checked then a new RNDIS device(usb0) should be provided. On ubuntu the ...
1
vote
1answer
552 views

Multiple encrypted LVM volumes with one password

I found a similar question here but it's only partially connected with my question. Currently I have one primary /boot partition and a single LVG1 group with 2 logical encrypted volumes - LV1 and LV2. ...
4
votes
2answers
12k views

Static IP Address with NetworkManager?

I just wanted to set up a static IP address for a fedora 19 machine in my LAN. I'm used to /etc/network/interfaces from debian but that file doesn't exist here. After googling around a little bit, I ...
1
vote
0answers
512 views

Understanding Linux routes in Proxmox

I have a server and decided to go ahead and practise with Proxmox. This is the network setup I have right now: Two interfaces: eth0 & eth1 (different NICs, both connected to internet) Two ...
1
vote
1answer
368 views

Make firefox window transparent on Gnome-Shell

How can I make the top part of Firefox (AKA the tabs/settings bar/bookmarks/url bar) transparent on Gnome-Shell? I've searched, but didn't find any answer. I mainly want to make it semi-transparent so ...
0
votes
1answer
139 views

Can i make cname point to remote URL directory

I have the remote url like this http://www.abc.com/my data/files and i want to make my subdomain point to this like media.mydomain.com to that so that if i have file like http://www.abc.com/my ...
2
votes
1answer
489 views

Programs detecting pipe on its output to disable coloration

Some programs have a colored output (such as grep or emerge on my gentoo system), but if their output is piped, into less for example or into a file, the colored output is disabled. Yet, I know less ...
0
votes
1answer
195 views

Create user with partial root permissions

Is there any way to create a user with partial root permissions on a GNU/Linux system? For example: A user who can use the useradd and userdel tools, but nothing else besides regular user ...
2
votes
1answer
337 views

How can I acquire decent quality audio with my webcam?

Whenever I try to record a video with my webcam (I haven't tried, but I suppose that it won't work also for programs like Skype) I can correctly capture the video, but they are silent, the audio is ...