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

2
votes
5answers
207 views

Editing the same file from multiple computers

My friend and I need to view and edit the same file at the same time. We were using Google Docs, but the firewall is now blocking it. If we connected our computers with a network cable (no hub or ...
1
vote
5answers
304 views

Is there a way to encrypt a drive with Truecrypt, and keep your data?

Simple question, using the Truecrypt program, can I encrypt a hard drive without it deleting the data on the drive? I know I can do this with Bitlocker on Windows, can I do the same with Truecrypt on ...
1
vote
5answers
63 views

Make all changes by a user reversible on linux

Is it possible to safe all changes a user does in his home directory? The idea is to be able to recover a home directory if a file is deleted or overwritten. My problem is having an old family member ...
1
vote
5answers
249 views

How can I prevent code from initiating outbound http connections?

I want to prevent code from making http connections to other, specific hosts. My understanding is this can be done in /etc/hosts.deny. What would that look like?
0
votes
5answers
83 views

How to divide RAM: half for Linux, the other half for an application

We have a system with 1 GB memory. Out of this, i would like to restrict only 512MB for linux and would like to access the rest 512MB directly from an application that runs on linux. What is the ...
0
votes
5answers
288 views

CentOS space lost?

I have a centos 5.5 VM (6GB) just for php development, recently i've noticed about space lost: df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 ...
7
votes
4answers
2k views

What used the linux memory? Low cache, low buffer, not a VM

First of all, yes, I have read LinuxAteMyRAM, which doesn't explain my situation. # free -tm total used free shared buffers cached Mem: 48149 43948 ...
7
votes
4answers
3k views

How can I get information about an network interface uptime?

I have an Ubuntu machine and a Debian machine. On both I want to be able to see for how long an network interface has been connected. (That is, connected to a network getting an IP etc. Not the ...
3
votes
4answers
1k views

IP forwarding from one interface to another on Debian 7

Background The Debian 7 that I run has the following interfaces wlan3 == Internet connection 85.5.48.64/24 wlan2 == act as an AP (hostapd) 192.168.5.1/24 I run the following settings on the ...
3
votes
4answers
205 views

When using screen, I see me as logged in twice through 'who'

I've been using Gnu screen for some time now, and I absolutely love it! I installed it on a second RHEL server of mine, and I'm seeing odd behavior when I issue a 'who' on the new server. 'who' ...
3
votes
4answers
992 views

How to list one file in each subdirectory of root folder?

Apologies if this is trivial- but how do list just one file in each subdirectory of my root folder? Linux terminal or MS DOS syntax doesn't matter. I would guess it would be an ls or dir command with ...
3
votes
4answers
7k views

Hard Reset USB in Ubuntu 10.04

I have a USB device (a modem) that is really finicky. Sometimes it works fine, but other times it refuses to connect. The only solution I have found to fix it once it gets into a bad state is to ...
2
votes
4answers
63 views

Access data from a linux partition inside an image without root privileges

I have a whole-drive image file containing a partition table and some partitions. I would like to list and read files from an ext2/ext3 partition inside this file. Using root priveleges, it is ...
2
votes
4answers
535 views

init.d script with screen command does not work

I wrote this simply start script: SESSION_NAME="session1" COMMAND="python /opt/aaa/manage.py runserver 192.168.1.1:4300" case "$1" in start) screen -dmS "$SESSION_NAME" "$COMMAND" ...
1
vote
4answers
4k views

Network interface/dhcp problems ubuntu with kvm and network bridge

I have a ubuntu system running 12.10 I am using KVM and have configured a bridge for the virtual machines, which is using nat forwarding. I am having problems with the connection dropping out ...
1
vote
4answers
996 views

Grub doesn't show OS selection menu when booting a dual boot setup

I have installed windows and Linux(ubuntu) on the same machine. Now the problem is when I start my machine, It goes directly to Linux and does not ask me for the selection of OS either I want to load ...
1
vote
4answers
5k views

CentOS installing jre/jdk error

[root@jony source]# sh run.sh Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...
0
votes
4answers
126 views

IPtables keeps resetting rules and blocking almost everything

Every time I reset IPtables, the rules keep coming back in about 10 minutes, blocking everything besides port 22 and 80. When I do a "iptables-save", I see this I can't find out where it's coming ...
0
votes
4answers
3k views

Dual booting windows 8 and Kali Linux 1.0.8

I'm trying to install kali linux along with windows 8 The latest Kali version (1.0.8) supports booting alongside windows 8 I installed Kali Linux from a LiveCD, rebooted and it went straight to ...
0
votes
4answers
1k views

Apache 2.4 vhost not working

We have a new Centos server installed with Apache 2.4.9. I'm trying to get the vhost working. DNS resolves to the right machine, and I can see the default Apache page, so it's not a firewall issue and ...
0
votes
4answers
246 views

Dual Boot At the Same Time

Assume I have a Linux host, with Windows-7 installed in a partition on the same drive. Is it possible to boot into Linux, save its state to memory (Hibernate, essentially) then boot up Windows right ...
0
votes
4answers
10k views

Unable to access the internet in centOS from a static IP

I'm trying to setup a centOS server with a public static IP address but if I try and ping the router (192.168.1.1) I get "Network is unreachable", if I try and ping google.com I get "unknown host ...
0
votes
4answers
169 views

how to view Linux files in a window from the windows machine

I can use putty to access Linux server from a windows machine. But it's kindof inconvenient to navigate through the folders. Is there a way to view the folders in a window (the windows look-and-feel) ...
0
votes
4answers
166 views

how to access homedir by root user

I want to access root user's home directory /root/. However following commands dont lead me to the root directory. sudo -s cd ~ It leads to the home dir of regular user. How to access /root ...
0
votes
4answers
886 views

Linux program for making a bootable ISO file

I have Windows XP as an ISO file on a USB stick and want to make it bootable. Which Linux software do you recommend for doing that?
0
votes
4answers
3k views

Single application through OpenVPN tunnel (Debian Lenny)

I'm using Debian Lenny and I want to tunnel rtorrent only through a OpenVPN tunnel. I have a tunnel running, the config file looks like this: client dev tun proto udp remote openvpn.xxx.com 1194 ...
0
votes
4answers
199 views

Get XMMS2 to call outside script on automatic playlist advance?

Is there a way to get XMMS2 to call an outside script when it advances in a playlist - either automatically or via manual intervention (e.g. xmms2 next)? The goal is to have balloons pop up on my ...
-1
votes
4answers
4k views

How to know if gdb is installed?

How can i know if gdb is installed in a unix machine? I run the following commands: > gdb > gdb main and the result is gdb: command not found but i don't if this means that gdb is ...