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
48 views

How can I delete a user which is logged in and have a uid=0

I want to delete a user which have zero user-id but I found error : userdel: user hgw_admin is currently logged in.
1
vote
1answer
665 views

Allow to read and delete but not create files in linux directory?

There are plenty of questions dealing with the opposite case to this question, but I've not managed to find an answer for this way round. Is it possible to set permissions on a linux directory such ...
0
votes
1answer
234 views

How to set the default dimension of an application window

Every time I open nedit/gedit applications on my machine, the application loads in a small window. I have to resize the window each and every time. Is there any way to set a higher default dimension ...
3
votes
1answer
34 views

git revert changes except go extension files

git revert HEAD reverts all changes, but what I want to revert the ones except my go extension files? I want to revert all changes except the one with *.go I tried git revert HEAD ^*.go git ...
2
votes
1answer
1k views

ios7 loops on the “trust this computer” dialog

trying to transfer files to the work ipad via my debian7 box. When i plug it on the computer usb port, it shows the dialog about trusting this computer, and the computer shows a gnome alert about the ...
0
votes
1answer
245 views

Fedora nfs mount dissappears

I have a small host running Fedora 18 (3.6.11), with a nfs set to server a /mnt/dir. The problem on the client running Fedora (3.11.6) after just a minute or so the mount disappears. SELinux is ...
1
vote
1answer
57 views

confused about file owner in linux

---x--x--- 1 root stapusr 87992 Oct 20 23:44 staprun What I showed above is the owner of file staprun. But user root doesn't belong to groupstapusr. What does it mean? I assumed that before ...
0
votes
1answer
239 views

Rsync from godaddy to OS X

I would like to use rsync to backup my website to my local computer (OS X). I started of with this guide and got pretty far. I use the following rsync-line: rsync -PzrlptgD --del --delete-excluded -...
23
votes
2answers
19k views

Why doesn't my cron.d per minute job run?

I have thrown a bunch of darts trying to get a python script of mine to execute every minute. So I thought I'd simplify it to just do the "simplest thing that could could possibly work" once per ...
6
votes
2answers
661 views

Getting rid of GNU Emacs's menu bar in terminal windows

How to get rid of Emacs's menu bar in terminal windows? The standard answer is to put (when (not (display-graphic-p)) (menu-bar-mode -1)) in init.el. However, this solution is not good, because ...
6
votes
5answers
1k views

SSD cache to minimize HDD spin-up time?

short version first: I'm looking for Linux compatible software which is able to transparently cache HDD writes using an SSD. However, I only want to spin up the HDD once or twice a day (to write the ...
0
votes
1answer
740 views

uuencode to attach all files in a directory

I am using uuencode and mail to do basic file attachments to an email. $ path/to/targetdir/audio.gsm audio.gsm | mail user@mail.com This works but my problem is I am trying to find a way to ...
0
votes
2answers
9k views

Logrotate not doing any rotation

I just set up LogRotate on my RHEL6 server so that it rotates my custom Apache log files. However, it doesn't do anything when i try manually running it. I expect it to rotate the log files "access....
1
vote
2answers
240 views

what is way to set Proxy in Chrome in Linux

When i go for change proxy setting in chrome it appears as about:linux-proxy-config.Please also tell me how do I install Proxy switchy in it.
1
vote
1answer
355 views

Run a local command after closing an SSH connection?

I've set up my zsh to update the XTerm title whenever I change directories. It's neat! Unfortunately I have one common problem, which is this: % cd foo; # title changes to "host1:~/foo" % ssh ...
2
votes
1answer
659 views

nandinstall on cubieboard fails:

I'm unable to install onto the nand on one of my cubieboards. This is the error message: cubie@Cubian:~$ sudo ~/nandinstall/install.sh This will completely destory ...
0
votes
2answers
187 views

What does *:* in lsof output stand for?

While executing the command /usr/sbin/lsof -l -i -P -n as the root user, I am getting this output. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ... httpd 9164 70 3u ...
1
vote
1answer
750 views

Append text with dynamic value in a text file by echo command in bash

I want to append some text in a file through a shell script. I have the following script bash -c 'echo -e "\nserver.id=$1" >> file.properties' saved in the file script.sh This is how I run ...
0
votes
2answers
484 views

Grub Rescue - the laptop won't boot at all

First of all I'm italian, so I apologize for my bad english. Second, i have a big problem. I have a new Sony Vaio Pro 13 (so, it's an ultrabook WITHOUT the CD drive), which had Windows 8 pre ...
3
votes
2answers
1k views

Fastest way to delete a non empty directory in Linux

I use the command rm -rf directory but i came across the following article : Article That suggests that rsynch to an empty folder is the fastest way? rsync -a –delete empty/ a Why is this the case ? ...
1
vote
1answer
544 views

linux mint VIA sound issue

So I installed linux Mint 15 "Olivia" 64 bit on my Mecer W550EU laptop I have HD Audio with a VIA chipset charles-W55xEU charles # lsmod | grep snd snd_hda_codec_hdmi 36913 1 snd_hda_codec_via ...
1
vote
1answer
8k views

Elementary OS Luna 0.2 Synaptics Touchpad settings persistent

I have a problem making my touchpad settings persistent. I have installed Elementary OS Luna 0.2 few weeks ago, I'm quite new to linux but know my way around the computer. By default my Two Finger ...
1
vote
1answer
271 views

How to resolve conflicts when two binaries have the same name

Running OS X (10.9), I have a program called 'HEAD' in /Applications/XAMPP/xamppfiles/bin/, which is related to libwww-perl. The OS also has an unrelated program called 'head' in /usr/bin/ Since the ...
2
votes
1answer
3k views

Installing openssl on RHEL 6.2

Trying to install openssl-devel on RHEL 6.2. yum install openssl-devel And i am getting this error: --> Finished Dependency Resolution Error: Package: glibc-2.12-1.47.el6.i686 (rhel62) ...
1
vote
0answers
372 views

Use an audio/video file from a Linux laptop via USB to be played by Magic Sing ET-23H

I am one of the technical directors of a regular karaoke contest event. For the karaoke contest itself, due to tight budget, we are using what one of the sponsors are providing - Magic Sing ET-23H . ...
0
votes
2answers
1k views

Can TP-Link router make phone calls?

I have a TP-Link router TL-WR340G (54Mbps Wireless Router) with DSL service provided by a local company which serves it over the landline phone. My landline cord is plugged into an ethernet router ...
2
votes
1answer
190 views

How do I make git fetch ignore my private key?

I'm writing a cronjob that will git fetch. I have a private key that I often use for authenticated git things (like github) which has a passphrase on it, but this specific git fetch doesn't need the ...
4
votes
1answer
2k views

Ripping a home video VCD on Linux or Windows with VLC or otherwise

I have a VCD with 22 minutes of video on it. I would like to retain this footage and throw away the VCD. I can play the whole thing with VLC ("open disc -> vcd -> /dev/sr0 -> play"): all 22 minutes ...
1
vote
1answer
224 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
1
vote
1answer
772 views

rsync include all directories and certain subdirectories and *.java of the last sub

I am trying to rsync include all directories but only one of each of those subdirectories which contain certain files. For example, rsync -auvz --include '*' --include '*/certain_sub/' --include '*/...
3
votes
1answer
11k views

How to create a custom service that will autostart on boot on Archlinux?

I'would like to run a simple command upon startup on Archlinux (systemd): nohup fatrat -n & I've got this working on Debian: #! /bin/sh # /etc/init.d/fatratWS ### BEGIN INIT INFO # Provides: ...
0
votes
1answer
191 views

How to zip a file to a certain directory

I've googled this issue and I can't find anything. I'm trying to zip the contents of my htdocs, and so far it's great, but the zipped file always saves in /home, which over times gets annoying. $ ...
3
votes
1answer
520 views

How does sudo actually work?

How is it possible for sudo to actually function? If it's just a normal program, couldn't you make the same thing without requiring the user to authenticate, giving anyone with access to a computer ...
0
votes
1answer
434 views

RAID10 Recovery

I had a RAID10 array fail a few nights ago, I have to admit that I am fairly lost on all of this. I have googled this extensively and I don't understand what is going on. If anyone here can provide ...
1
vote
1answer
3k views

Windows 8.1 Professional Hyper-V - can I create my own linux VM through it?

I have a Windows 8.1 Professional desktop, and would like to have a Linux Mint VM on it so I can do some opensource web development work. I've tried VirtualBox, but it's giving me an IO error during ...
0
votes
1answer
43 views

RPM User specific updates

I have packaged my software as rpm and everything is working just fine with software however there is one part of contents of rpm which I can't find proper way to update. Every user in system has ~/...
6
votes
2answers
16k views

Synergy 1.4.14 fails with “Protocol error”

Server: Debian testing, with the 1.4.14 deb downloaded and installed. Client: Windows 7, with 1.4.14 downloaded and installed. Both are Premium. On Debian, start the server with synergys -f -c ...
2
votes
1answer
777 views

Uninstall gcc from source

For fun, I compiled and installed gcc 4.7.2 in ~/build, which contains bin, doc, lib, include, man, share, et al. directories, all of which are added to the appropriate environment variables. Now I ...
0
votes
1answer
719 views

No package available python-setuptools on centos 5.8

I am running oracle-linux (same as rhel) 5.8 and am trying to create a localized version of python including pip and a few modules. I have downloaded pip but am unable to install it: [root@oracle-...
2
votes
1answer
686 views

What is the easiest way to turn a list of music files into a playlist

I recently switched from windows to linux and the player I was using in windows stored the rating for flac files inside an id3v2 files which clementine, my preferred linux media player, cannot read. I'...
0
votes
1answer
691 views

Linux Live CD only works when Windows is in Legacy mode?

I have asked a similar question before and no one was able to help me but I think it was because I wasn't phrasing it properly. This is a better restatement of the question. I have Windows 8 and Linux ...
1
vote
0answers
69 views

does exportfs -r interrupts the existing nfs?

I'm trying to export a new nfs volume while keeping other ones running. my concern is if somehow, there is a risk for the processes that are writing in the others nfs volumes. am using /etc/exportfs ...
2
votes
1answer
503 views

Find video file position using an image match

What would be the best tool / method to automatically find a position from an video file, where the frame approximately matches* a given image? Basically, a command to: "Find the position where [...
0
votes
1answer
60 views

Why linux is live bootable and windows is not?

I have used different flavors of Linux.Most of them were live bootable i.e, they were able to boot off a USB media / CD and were able to run a live session.But I haven't yet found any Windows OS that ...
1
vote
0answers
107 views

Wine not finding some files

I'm having strange issues with Wine : If I look a C:\windows\system32\drivers\ in wine explorer, the directory looks empty, while the directory ~/.wine/drive_c/windows/system32/drivers is not. Plus,...
0
votes
2answers
34 views

Count the number of lines in a piped input?

While running ps -eaf I see a list of running processes. Is it possible to count the number to lines using awk?
0
votes
2answers
128 views

Replicate Log File Between *NIX Servers

I have an application running remotely on a vendor *NIX server. This application writes out log entries to a file. This logging process is very much a typical append-only approach, so the file only ...
0
votes
2answers
326 views

Multibootable USB with windows, linux and iso

I want to create a multibootable usb, that will contain some linux distros, some windows ones as well as some non-OS iso(such as Hiren's boot DVD, Parted Magic bootble CD etc). As far as multi-...
0
votes
1answer
433 views

Disable mouse support for Linux

How does one disable all mouse support on Linux? Be it USB mouse, be it PS mouse, how does one make all of the connected mouse devices to be disabled? I'm working on a surveillance camera monitoring ...
1
vote
1answer
732 views

What will happen if my DB server runs out of disk space?

I'm seeing a huge difference of free disk space between df -h and du -sxh / I've understood in my question Resolving unix server disk space not adding up that du -sxh / is a better estimation as ...