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

6
votes
1answer
17k views

How to completely uninstall a package (including all extra files that came with it) using yum (or rpm)?

When I do yum remove, it sometimes keeps a package's configuration files. Is there anyway to remove a package completely, without keeping any file that belonged to the package? I am running CentOS.
0
votes
1answer
1k views

Forcing a verbose fsck on reboot (Ubuntu)

I'd like to force a verbose fsck on reboot of my Ubuntu linux server, I can get fsck to run on reboot by creating a file /forcefsck in my root dir ... Additionally, by adding a y into the contents of ...
0
votes
1answer
37 views

Clone Linux installations between partitons, like managing VirtualBox images

I currently manage my development environment by having a virtual machine image in VirtualBox configured with all the basics configured ( PyCharm, build-essential, keyboard, etc... ) and then making a ...
2
votes
2answers
825 views

Prevent linux user from changing their password in ssh

How can I prevent users from changing their passwords? I still want to be able to change the passwords as root if necessary but keep the user from changing their password.
4
votes
1answer
1k views

Firefox displays weird encoding icons on websites like GitHub

On Mozilla Firefox (on GNU/Linux) with default font and UTF-8 encoding, I am seeing some websites, such as GitHub, display weird characters across the page. Under a different browser, such as ...
1
vote
1answer
173 views

Searching for a robust Linux FTP server with short string response codes [closed]

We are huge fans vsftpd and have been using it for years because of it's robustness. We are; however, coming into issues with costs. Many of our environments that we work in are at the "ends of the ...
2
votes
3answers
188 views

Allowing only owner to edit files windows/ubuntu

I am not sure if this is answered elsewhere or it is too obvious but I need to have a folder that I create with a new user(admin) both on windows and ubuntu (wherever it is possible - preferably both) ...
0
votes
0answers
147 views

MPD fails to start the next song

I am running Arch Linux (e17) on x86_64; with mpd 0.17.3 and ALSA 10.0.26. One update ~three months ago mpd started acting strange. It would not start playing the next song, and it would appear as if ...
0
votes
0answers
440 views

Issue in running cron jobs in RHEL5

When I try to run cron jobs from root, I am getting the following error. I am using RHEL5. Can anyone help me? [root@localhost]# crontab -e Permission denied You (root) are not allowed to ...
1
vote
1answer
132 views

How to keep a copy of software downloaded from software center in linux mint

I am upgrading to linux mint 14 buy clearing the hard disk and installing the OS. Can anyone tell me how to keep a backup copy of software that i downloaded from the software center? So that when i ...
1
vote
1answer
204 views

Linux volatile user home areas

This is actually a 2 part question, one for design decisions, and the other a technical question: In our current network, we have Linux clients that authenticate against a server, and mount the ...
0
votes
0answers
94 views

GRUB not loading

I just installed Fedora 18 alongside a pre-existing windows 7 from a live-usb to a single 1TB hard disk with multiple partitions. created all necessary partitions as recommended: / :40GB /boot ...
8
votes
2answers
39k views

How to disable IPv6 on Debian Wheezy?

I know there's a wiki entry http://wiki.debian.org/DebianIPv6#How_to_turn_off_IPv6 that shows how to disable IPv6 in Debian Squeeze, but that's a 2.6.* kernel. What about 3.2.* kernels running ...
0
votes
1answer
198 views

Propogating hostname to router

How do you propagate changes to your hostname from your Linux machine (I am using Linux Mint 13) to your router (I am using DG834Gv2)? I changed the hostname in /etc/hostname and restarted. The ...
0
votes
1answer
534 views

How to check for a value after curl or wget?

I need to curl/wget a page and make sure it returned a particular value (else return 1), something like this: curl http://example.com/something/run | grep -e '^success!$' || return 1 Which flags ...
6
votes
4answers
6k views

How do I start in bash when ssh'ing into my server?

I have a hosted Debian server. When I log in via ssh, I'm greeted with a sh environment. How do I change it so I start in a bash environment?
4
votes
3answers
58 views

Show Which Remote File is Writing My File

I know it sounds funny. I wrote a shell script and executed on a remote machine to ssh back to my local machine to write some files. I executed the script on various remote machines and I can't ...
0
votes
3answers
168 views

Continious mirroring of the whole notebook hard drive into a file on the exernal usb hard drive in Ubuntu Linux

What I need to have continious mirroring of the whole notebook hard drive into a file on the exernal usb hard drive. Sometimes the external drive could be unplugged. I'm running Ubuntu Linux.
3
votes
1answer
1k views

Cannot mount USB after unsafe eject

I have a 16GB usb flash drive and I made it bootable to install Linux Mint. But for some reason, I couldn't install and did an unsafe eject. Now, I cannot mount the drive, neither on Windows nor ...
1
vote
2answers
1k views

Detect PCI vs. PCI-E

I have remote access to a computer, and I need to find out what kind of expansion slots is has, if they are PCI, or PCI-E, or something else. How can I do this from a shell? What commands are there ...
1
vote
2answers
391 views

No internet in Linux after rebooting from Windows

After rebooting from Windows XP to Gentoo Linux, I can't connect to anywhere (internet, others computers, router). Internet is working fine if instead of rebooting I shutdown the PC and then boot ...
1
vote
1answer
161 views

Saving the entire state (hibernate) of Ubuntu into a file and select it for restore?

I wanted to know if it's possible to simulate the hibernate process of Ubuntu to save the entire state session into a file. Then to select which one to restore ?
1
vote
1answer
374 views

make python3.3 installation the default installation

I've just installed manually python3.3 sources on the directory : /opt/python3.3 on my laptop which contains python2.6 as default installation. But now i need to make the python3.3 as the default one ...
0
votes
2answers
296 views

The cd command using variable to mapped NFS volume within ssh in linux script is not working

I have to do the following from within a bash script. The /VMNFS/ folder is present on linux box, from where script is run, and is mapped to the machine into which i am ssh'ing, as an NFS at ...
1
vote
1answer
10k views

Where can I find the MIB list for my computer (Ubuntu 12.04)?

I want to play around with snmp traps on my computer, but need the MIB list for that (I guess). So where can I find it on a Ubuntu 12.04 system?
0
votes
1answer
245 views

ACLs vs group permissions in linux

I would like to allow a set of students to access a shared web-server. Students work in groups, and each group's home directory contains a www folder that should be accessible to the shared instance ...
0
votes
2answers
1k views

Dual boot Windows 8 and Fedora 18, Both OS's on separate drives

I have an HP dv7 6051ei notebook which has 2 drives in where one has Fedora 18 on it, and the other has Windows 8 on it. Currently my fedora drive is set as the primary drive so when the netbook ...
1
vote
2answers
747 views

how to have rsync only work on file and not directory

I would like to mirror only specific files (for example *.jpg), but rsync creates empty directories on the destination host that don't have any *.jpg files in them. My syntax is: rsync -arv ...
0
votes
1answer
260 views

Move daemon to its own non admin user account

I am running a Ubuntu server instance. It's on EC2 so the default setup is a admin account(I know it's not root) named Ubuntu. I have already installed Apache HTTP 2.4 from source, but realized I ...
31
votes
2answers
4k views

Is it possible to compile a Darwin Distro from source, like you can a build a Linux Distro?

I have read through and undertaken Linux From Scratch (and BLFS) and I was wondering, can I follow this guide to create a Darwin Distro by substituting the xnu kernel? Would the process be vastly ...
2
votes
1answer
47 views

Crontab mis-entered time

I have a crontab that performs a massive operation that needs to run once every five hours #min hour mday month wday user command * */5 * * * ...
2
votes
2answers
2k views

rm: .filename not removed: Disc quota exceeded

This is the full file name I get when I do ls -lt from my current directory. EXPORT_v1x0_20120811_11_T_065800_070000.dat.gz File names also consist of date as well. In the above file date is ...
3
votes
2answers
6k views

Setting primary monitor in ubuntu without xrandr

I am running Kubuntu 12.10. I have 3 monitors plugged into a AMD Radeon 7970. I have tried switching the order of the outputs, and configuring them repeatedly with amdcccle but kubuntu always seems ...
1
vote
1answer
67 views

Linux software RAID: Does it work if device nodes change?

If, for some reason, hard disks change device identifiers (e.g. /dev/sda becomes /dev/sdb and vice versa) does this affect a Linux software RAID system? I.e. would the device still work (assuming boot ...
2
votes
1answer
803 views

How to swap Ctrl and Windows keys with xmodmap

I want to swap the right Win and Ctrl keys on my keyboard using xkeycaps. This the .xmodmap file that I'm loading when Ubuntu starts, generated with xkeycaps. It works fine for swapping the Esc and ...
1
vote
0answers
215 views

Can't log in on murmur with SuperUser

I have set up a murmur server today on my server computer running Ubuntu server. First time my Superuser log in did work, then I did changed my router bridge to get it working better, after that I ...
3
votes
2answers
313 views

Linux does not see sdc on boot (but does during install)

OK, now I'm at a loss. I have been struggling with getting my Ubuntu server to boot. After a couple of days of fighting with it, I gave up and reinstalled thinking that'll sort it out. It didn't. ...
2
votes
1answer
308 views

Renaming html files according to <title> tag

I have a folder with a bunch of html files numbered sequentially (file1.html, file2.html, etc). I would like to rename each file according to the tag in each file. So if file1.html contains ...
0
votes
1answer
142 views

How to tell if SQLite is frozen?

I have created a file with a list of approximately 8 million import statements to be imported into an SQLite database. I have been redirecting errors to a file. Every few thousand lines there is an ...
1
vote
2answers
456 views

Installing JDK to remote server

I have been trying to install JDK to my online (remote) server. I have never made such installation so kindly help what is an appropriate way to do it. My doamin's hosting is linux. There are ...
3
votes
3answers
2k views

eCryptfs with dropbox: must remount for synchronized changes to be visible

I am experimenting with using eCryptfs on top of dropbox, and I am encountering some issues. My system is GNU/Linux, openSUSE 12.2 to be exact. My setup is thus: I have set up two instances of ...
1
vote
1answer
161 views

Control rsync user and group on reciever side

I have an rsync command to backup a directory from a remote server to a local NAS on my LAN, mounted on my server. I am using con to invoke the command rsync --rsh='ssh -pxxx' -rultxz ...
0
votes
1answer
49 views

Could not ping to registered host service from terminal

A very good day to all of you . Yesterday i registered with byethost11.com and registered for free hosting service . The registration was done successfully and they provided me with the hostname , ...
-1
votes
2answers
3k views

How to check if internet connection is available via Terminal

I'm trying to write a Bash script that is aware of internet connectivity. How can I achieve that? For example: if (something that checks internet connection);then curl -o new someurl else exit 1
0
votes
1answer
236 views

PPTP daemon client cannot download full web pages

I have a PPTP daemon V1.3.4 running on a CentOS server. My client connections come from both Linux and Windows machines. When PPTP connection is active, the clients are unable to download full web ...
2
votes
2answers
639 views

What 64 bit Linux distro will work in Virtual Box on a 32 bit Windows host?

I'm trying to install a 64 bit version of Linux in Virtual Box so I can do some development work. I tried the 64 bit version of Ubuntu 12.10, but it was causing the computer to restart randomly. I ...
1
vote
0answers
202 views

Using NTPD as a client on Cent OS without Undisciplined Local Clock any disadvantage?

The following is the NTP configuration. My server is a physical system, not a virtual machine. The following ntp-4.2.2p1-15.el5.centos rpm I am using. tinker panic 0 restrict default kod nomodify ...
7
votes
2answers
2k views

Where should I store source downloads for installation?

I used to download everything to /tmp, because after make; sudo make install I usually don't need those files anymore. But now I realized the only way to uninstall programs installed from source, is ...
0
votes
2answers
119 views

Can my PC and a dedicated server be on the same machine?

If I had a 500 GB SSD and a 1 TB HDD installed on one computer, could I use the 1 TB HDD as a dedicated server using Linux Mint or Ubuntu Server Edition as the OS? Then on my 500 GB SSD I could ...
5
votes
2answers
983 views

Can't access directory over SSH

I am accessing a MyBook server using SSH by means of public-private keys. I have a wierd problem where i am unable to access certain folders that i should logically have access to. I have a ...