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
244 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
353 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
68 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
260 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
93 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
300 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 ...
8
votes
4answers
3k 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 ...
6
votes
4answers
3k views

Hook into linux mount/umount event

is there a way to provide post-mount and pre-umount scripts in Linux? I am trying to do some scripts on storage media when mounted and before umounting (eg, for synching). Any help appreciated.
3
votes
4answers
2k 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
219 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
1k 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
8k 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
644 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

How to boot Windows ISO installation using PXE (without Windows AIK or whatever)

I have a Linux PXE server. Can boot into Linux ISO installers using PXE with no problems. But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under ...
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
1k 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
94 views

How to open tar gz file created using tar piped to gzip

I wanted to generate a tar gz file with the highest compression level, and I followed the solution from http://superuser.com/a/546509/461740: tar cv /path/to/directory | gzip -9 > file.tar.gz ...
0
votes
4answers
226 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
4k 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
284 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
186 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
179 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
897 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
200 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
5k 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 ...
0
votes
3answers
122 views

Symbol 001E in a box on a Linux terminal

When reading a Windows log file in a Linux terminal, I see a strange symbol “001E” How can I replace it by space? Maybe something like sed -e 's/010e/ /'
0
votes
3answers
168 views

Will Network Simulator work in Ubuntu when it's installed on an external hard drive?

I want to install Ubuntu 11.10 on my external hardisk in order to do my assignment running NS (Network Simulator). Can NS be running or working properly if my Ubuntu installed on an external hard ...
0
votes
3answers
131 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 ...
0
votes
3answers
1k views

Can't open browser from a terminal in Linux

I've logged into Linux machine. I issued the following commands to open a browser on the Linux server. Still, I am unsuccessful. 07:53 AM tomcat@wb-ser1$ nautilus . -bash: nautilus: command not ...
0
votes
3answers
588 views

Understanding Linux symlinks

I have two directories on a virtual machine. One of them is my home/user directory, the other is the /var/www/html folder which renders the public website. Every time I upload files for my web app ...
0
votes
3answers
1k views

How to remove parts of a file name

Ive got multiple mp3 files named like so: artist - year - album - track - title.mp3 about half of them, due to a "rename from tag" error are named like this: artist - year - album - track - title - ...
0
votes
3answers
84 views

Chaining subnet fails

Is it possible to do the following: Machine1 Kubuntu 8.04 desktop wired internet Cable modem Machine2 eepc701 Xubuntu 1O.04 wired machine1 cross ethernet cable Machine3 nokia n900 wireless to ...
0
votes
3answers
812 views

Task switcher for linux in multiple monitors?

Anyone know of something like this for linux? http://www.actualtools.com/multiplemonitors/features/multi_monitor_task_switcher/
0
votes
3answers
643 views

Reinstalling GRUB on Linux netbook

I have a distribution called Easy Peasy on my netbook, it's Ubuntu-based. Today when I started it up it told me 'grub corrupt'. On subsequent start-ups it displays 'unknown filesystem.' I'm given a ...
0
votes
3answers
2k views

“No protocol specified” error while trying to run forticlientsslvpn for the first time

I'm trying to install forticlient on fedora 14 for vpn access, and I get the following error when I run it for the first time: No protocol specified Error: Unable to initialize gtk, is DISPLAY set ...
0
votes
3answers
986 views

Run application with other user

OS: Fedora 14 GUI: GNOME I need to run an application with another user then the "default" (normally used). Purpose: create a ".desktop" file on my desktop to run e.g.: Google Chrome with another ...
0
votes
3answers
545 views

Why doesn't the Ubuntu Installer see all of my hard drives

I'm trying to setup a dual boot system with Windows Vista 64 (already installed) and Ubuntu 10.10. I added a new drive which is identical to the one Vista is installed on. When I boot into the LiveCD ...
0
votes
3answers
444 views

samba4 not building in Arch

cp bin/tdbtool bin/tdbdump bin/tdbbackup /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/bin cp ./include/tdb.h /tmp/yaourt-tmp-root/aur-samba4/pkg//opt/samba4/samba/include cp tdb.pc ...
0
votes
3answers
1k views

linux memory usage check in details

I"m unable to find the memory usage however top shows me the following results. Tasks: 90 total, 2 running, 88 sleeping, 0 stopped, 0 zombie Cpu(s): 21.1%us, 1.4%sy, 0.0%ni, 74.0%id, ...
0
votes
3answers
154 views

GPG on Ubuntu not responding

I'm trying for the first time to use gpg to encrypt a file with a symmetric key, but gpg doesn't seem to respond when I use the -c switch. gpg -v -c filename .. just doesn't seem to do anything, nor ...
0
votes
3answers
114 views

how do i set up this firewall?

i use fedora 13, and i have firewall turned off now. but i want to allow all incoming connections and outgoing connections except to a port P. i want to allow connection to port P only from certain ...
0
votes
3answers
602 views

Updated linux, grub menu not booting to windows partition

I have just updated my Ubuntu linux to Ubuntu 10.4, not my grub menu isnt letting me boot to Windows Partition. The problem seems to be with grubs new update from using an editable menu.lst file to ...
0
votes
3answers
2k views

Why does my screen turn black after installing ATI on Ubuntu 10.04?

I'm having a problem installing the drivers for my video card. I've just finished installing the driver, rebooted the OS, and the monitor starts up in energy saving mode and doesn't boot Ubuntu. What ...
-1
votes
3answers
1k views

How to set domain name for server running on ip address

Right now server is accessed via IP Address http://10.1xx.19.2xx:8080/svn How can i change it to http://domainname.com/svn ? Which file to edit ?
-1
votes
3answers
1k views

Mount permanently a windows shared folder on linux

I have a little server with a shared partition called D. I'd like to mount it permanently on a local machine with Linux Ubuntu, in order to access them easily. I have looked for similar questions, but ...
-2
votes
3answers
98 views

Linux ubuntu password recover

Hi I had install my linux ubuntu in my window 7 platform but since I'm long time did not login and while I try to login again second time with my password..but It seems like doesn't work..can I remove ...
-4
votes
3answers
36 views

Is it possible to install linux after instaling windows?

I would like to know if it is possible to install Linux based OS with an already installed Windows. If not then why?