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
1answer
1k views

How to do secure erase of CF card over USB in Linux?

I have a CF card I'd like to erase. My CF card reader is connected to my Linux machine via USB. How do I do a secure erase (i.e., the ATA Secure Erase functionality) of the CF card? I have tried ...
0
votes
2answers
150 views

ifconfig silently fails

I have a Fedora 14 box with an init script that attempts to staticly configure a pair of ethernet ports prior to kicking off a daemon process. The init script works as expected when manually starting ...
0
votes
2answers
1k views

How to connect FortiGate1 SSL VPN remote access from Fedora/CentOS/Ubuntu Linux?

How can i connect to FortiGate1 SSL VPN Remote Access router from Fedora/CentOS or Ubuntu/Debian? It only working with Windows Internet explorer for the moment using Vbox (But i cant use Windows only ...
2
votes
2answers
894 views

Sudo and Bash Script

If I call a bash script with sudo, for example: sudo bash script.sh Do I still have to use sudo inside the script in cases like this: sudo apt-get update
5
votes
2answers
5k views

How can I see if users are logged in over sftp?

I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is ...
0
votes
0answers
269 views

How can I make it easier to move files from an underprivileged (user) account to a root directory in linux?

I'm sure it's been asked and answered many times, but I can't seem to find an answer. Maybe this question will link someone else to the right answer. Here's the problem: ~$ sudo ls ls: ...
0
votes
4answers
5k views

Windows XP running as a guest on Linux VirtualBox is very slow

We had an old Windows XP server running a Filemaker database on a 2.6 GHz Intel CPU, but that server died. It's been replaced by a box with two 2.4 GHz Xeon CPUs and 5 GB of RAM that's running Ubuntu ...
2
votes
1answer
281 views

Join with missing lines

Suppose I have two files that look like this: File 1: 1 x 2 y 3 z 5 l File 2: 1 a 2 b 4 c 5 c And I want to join them using the first column as a key to give 1 x a 2 y b 3 z 4 c 5 l c where ...
0
votes
2answers
318 views

Extra repos for Fedora. Confused about EPEL vs rpmfusion

I use Fedora 15. Not sure if I understand how EPEL is related to rpmfusion. Is EPEL a branch of rpmfusion or are they a completely different projects? What other major 3-rd party repositories ...
1
vote
0answers
1k views

Ubuntu “No root file system defined” after Wubi install of 11.04 on Windows XP

I'm unable to fully boot into Ubuntu 11.04 on a system that dual boots XP. XP is working and was installed first. Details below: After having problems upgrading a previously working but old Ubuntu ...
2
votes
3answers
7k views

How to make my default gateway permanent in CentOS? So that after a reboot it does not get lost

I have a CentOS running. It is important to have my CentOS available when I am remotely connected to a VPN router. I tried to add a default gateway to the VPN router, but after reboot it goes away. ...
7
votes
6answers
3k views

Using an index to make grep faster?

I find myself grepping the same codebase over and over. While it works great, each command takes about 10 seconds, so I am thinking about ways to make it faster. So can grep use some sort of index? I ...
2
votes
1answer
821 views

Download a file from a website in command line in Linux

I need to download a file from a website which has a URL formatted like: http://www.server.com/downloads/1234/ This redirects to a .zip file which has to be saved. There is also a need to ...
0
votes
1answer
395 views

Linux clear console [duplicate]

Possible Duplicate: Bash: Reset and Clear Commands I know about Linux command clear, but it just moves previous output from visible part of terminal window (KDE Konsole). I can still scroll ...
1
vote
6answers
1k views

Will a Virtual Machine home web server be noticeably slower? Why or why not?

I am thinking about moving my server to a virtual machine on my Windows 7, so I dont have to use Linux. IS this a good idea? Why or why not? My major concern is that speeds will slow down. I have 5GB ...
8
votes
5answers
1k views

Single Application Linux

I'm trying to run a Linux application and all I want to run is this one application off of boot. I need networking and that's all (no display, peripherals, etc.). I want no other applications running ...
2
votes
1answer
318 views

How to show only the parent folder in the shell prompt

Whenever I go inside a directory in Linux, it shows the file path at prompt like: root@vivek-HP-Pavilion-dv6-Notebook-PC:/var/www/abc/def/ How can I change it to show short names instead?
1
vote
1answer
1k views

Renaming VLAN Interfaces in Linux

I need to know how to rename VLAN interfaces. I'm currently running Ubuntu 11.04. I'm running a networking application that takes frames on one interface applies things like delays and errors and ...
0
votes
3answers
1k views

Lightweight linux distro for web developer with slow computer? [duplicate]

Possible Duplicate: Lightweight GUI Linux distribution for really old computer I temporarily have to use a slow computer: 1.2 Ghz P3 384 MB RAM On my usual computer, I use Ubuntu with ...
23
votes
2answers
46k views

Linux - Mount device with specific user rights

How can I mount a device with specific user rights on start up? I still have some problems figuring it out. I would like to mount the divide with uid=1000 and gid=1000. My current entry to the ...
0
votes
1answer
171 views

How do I display the source machine during a remote x session in the title bar?

In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local ...
0
votes
1answer
169 views

Execute command inside first directory of each matched result

I am working at a client who has a project where code is a mixture of different source control systems. So a layout might be like this project/a/.svn /a/subfolder/.svn /b/.hg ...
1
vote
2answers
1k views

Linux: wipe hard drive to start over

I had Ubuntu on my hard drive and tried to install Arch Linux. Things got messy and I now have an unstable, unbootable machine. I feel the installation failed because there were remains of Ubuntu. I'd ...
3
votes
1answer
920 views

Trying to Linux desktop using VNC, getting a different screen

I have a SUSE desktop Linux system running. Now when I am trying to vnc into that system from a VNC client (from a Windows XP box), all I get is a blank desktop with a XTerm running on it. My SUSE ...
1
vote
1answer
313 views

Linux Mint: How to launch a new version of a program

I'm running Linux Mint and an application called anki (flash card app). The software repositories for Linux Mint are a few versions behind. When I download the new program it just runs from the ...
1
vote
5answers
410 views

My Mac is seriously slow, playing up and a nuisance, shall I switch to Linux? [closed]

I have had my Mac for a couple years now and after formatting its still sluggish and I always get the rainbow wheel and is causing me some serious time and frustration issues. A friend has suggested ...
2
votes
2answers
9k views

eth0 disabled / eth0 does not seem to be present / after restoring image

The NIC doesn't work anymore on my Fedora 15 again after restoring the system from an image. ifconfig doesn't show the NIC anymore (only the loopback adapter). system-config-network says it (eth0 - ...
0
votes
2answers
361 views

Can a 2GB DDR2 stick become a 1GB stick?

I've just purchased a 2GB DDR2 RAM. My machine earlier had a 1GB DDR2 RAM stick. Now I put these two sticks together, and my machine, I think, showed only 2GR of RAM? Why is this so? Will using the ...
0
votes
2answers
452 views

How to get the device of a corrupted USB Stick on linux?

In order to try to rescue a USB stick which has probably a corrupted allocation table, I would like to get the device. I'm using Ubuntu 10 as a guest in VirtualBox, Host: Win7. Windows just tells me ...
0
votes
2answers
60 views

What library contains file X?

I'm tired of looking for specific files for specific problems, for questions like this one for example. Now, is there a way for someone to find out by himself what library one should install to have ...
-1
votes
1answer
356 views

Can you run chkdsk using a Windows boot CD on a Linux NTFS partition?

This question made me wonder: "Can you run chkdsk using a Windows boot CD on a Linux NTFS partition?" Would it cause more problems, or fix them as in Windows? I can't see why not, but I could not ...
3
votes
4answers
6k views

CHKDSK in Linux…?

My computer has taken a dive and it will not boot up. I have reasons to believe that it is the hard drive. I would like to run CHKDSK but I cannot get the computer to boot up into Windows. My ...
0
votes
2answers
119 views

Case sensitive searching in linux

In linux, I want to search for a word in all files in a directory (also in subfolders), the search must be case sensitive. The search must give me all file names, directory names, and line numbers ...
0
votes
1answer
113 views

How to restore data from a set of old LVM disks using images?

I have three hard drives that were previously in a Debian server setup to use LVM that I now need to access data on. The first hard drive had a boot partition along with an LVM partition, the other ...
1
vote
2answers
171 views

dual drives, dual boot options

I have a four drive system. I've been wanting to setup my system like so: [0] HDD 320gb (NTFS) : Windows 7 [1] HDD 320gb (EXT4) : Debian on one partition and some other distro on another [2] HDD 1tb ...
1
vote
4answers
3k views

Configure Fedora 15 Linux to allow access via port 80 from other computers

I am trying to make my home server accessible to the whole web. I have installed Nginx on my Fedora 15 64-bit Linux machine, and it works with localhost but it doesn't work online or allow other ...
3
votes
1answer
205 views

Ubuntu network stop working after heavy load of packets received

My LAN has 2 PCs installed, Ubuntu 10.04 and Windows XP. I run the server on Ubuntu, and client on Windows XP. Because I am doing stress test, so the client will keep sending tons of packets to ...
1
vote
2answers
901 views

Apache+WSGI+Python+Django giving me some strange errors

Here's a summary of what I've done I moved my django project to /pymodules/honstreams I've installed apache2 and apache2-dev I've installed pythonbrew, installed Python-2.7.2 and switched to it I've ...
4
votes
3answers
9k views

Where does a program install on linux?

I want to know the procedure of installation and uninstallation on Linux? Are there any log file that logs these procedure? For example, I am installing Netbeans IDE on Linux. I want to know where ...
0
votes
1answer
592 views

Problem Installing Ubuntu

I am attempting to install Ubuntu on my machine since windows is messed up. The screen i see is: Preparing to install Ubuntu For best results, pleaase ensure that this computer: (green check) ...
2
votes
1answer
4k views

What does “the following disks have mounted partitions” mean while installing Ubuntu?

I am attempting to install Ubuntu on my machine since windows is messed up. I get this message and I am unsure how to proceed. I need some advice. Message: The installer has detected that the ...
0
votes
2answers
231 views

KDE taskbar widget showing up in the middle of my screen

Suddenly, my widgets seem to be showing up in the middle of my screen. My calendar and everything else. Here are some screenshots: I've restarted my computer several times and restarted X a couple ...
0
votes
1answer
4k views

Is this a network problem or a server crash? How do you identify what the real problem is when you can't ping?

Today I was unable to ping my server remotely (CentOS 5.4, on a Dell). Then I tried traceroute and it showed destination host unreachable. This is very confusing because it should not do this. When ...
0
votes
1answer
90 views

TaskWarrior: Lost 'pending.data' due to full drive!; TW overwrote w/0-b file - any way to recover using intact 'undo.data' or otherwise?

So I didn't realize my system drive had filled up... and TaskWarrior overwrote my 'pending.data' with a 0-byte copy. d-: I had worked SO hard to get all my tasks imported from various other notes ...
0
votes
1answer
299 views

How to replace the hot plug disk in CentOS 5.4 with Dell servers?

I am running a server in Dell which has RAID1 and hot plug 2 disks. It's been running for a while, but I was thinking it may crash anytime. So got a spare one, and wanted to test it how it works. I ...
0
votes
2answers
117 views

iptables ACCEPT policy

In Redhat EL 6, iptables INPUT policy is ACCEPT but INPUT chain has REJECT entry in the end. /etc/syconfig/iptables is as below: *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] ...
4
votes
2answers
9k views

Linux: zip greater than 4Gb

I'm getting an error when I try and zip a large file on Linux because it is too large for zip to deal with. Anyone know what commands I can use to get around this? This is the error I'm getting: zip ...
0
votes
2answers
292 views

Create custom terminal boot mode under ubuntu

I wonder if it would be possible to create a custom boot menu entry in grub under Ubuntu (11.04), that boots the system into terminal instead of the login screen. The effect should be something like ...
2
votes
2answers
1k views

Aliases in subshell / child process

I set up aliases in /etc/profile.d/alias.sh for each login shell. But if I run script.sh, I can't use that alias. How can I set alias even for subshells or child processes ? /etc/profile.d/alias.sh ...
2
votes
2answers
805 views

Calculate minimum ext3 partition size for certain amount of data

These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files: Filesystem 1K-blocks Used Available ...