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

0
votes
0answers
3 views

Can I tell postgres to automatically stop after I log out?

I'm running a PostgreSQL database in a Linux (CentOS) cluster environment. Each time I log in the cluster I type pg_ctl start to start the server. Sometimes, when I log out, I forget to type pg_ctl ...
0
votes
0answers
9 views

How can I use ausearch to log the IP of a user when they modify a file over SSH?

My team logs in on a development server using the same root password; we have not set up separate user accounts. I am now trying to create a log of file changes and I want to distinguish between ...
0
votes
0answers
6 views

How to autocomplete python class in vim

In sublime text 3, if I'm editing a file.py and I type class it will automatically create this for me class ClassName(object): """docstring for ClassName""" def __init__(self, arg): ...
0
votes
0answers
6 views

Suggestions on how to set up my dev server for dev clients (Linux and WIndows)?

I am creating web intranet systems and have always struggled with developing on multiple clients with moving files and databases over back and forth trying to keep everything in sync. I have now set ...
0
votes
0answers
6 views

How do I move several LVM PV's on a pair of software RAID5 arrays from one Ubuntu install to another?

I have two RAID5 arrays with LVM sat on top. I'm moving from Ubuntu 10.04 on an old PATA drive to Ubuntu 14.04 on a new SATA drive. I have the basic system up and running but now I'd like to move my ...
0
votes
0answers
8 views

laptop screen blinking on linux

I have a wierd issue with my alienware 14 laptop, that is running debian testing. If I use it without ac adapter pluged in, after some time the screen start blinking randomly (it looks like ...
0
votes
0answers
5 views

Elementary OS not using proper display on Intel HD graphics laptop

I'm using Elementary OS 0.3 beta "Freya" and when I use the 3.13-43 kernel my laptop doesn't output to the proper display. When I boot up my laptop the login screen displays normally. Yet when I log ...
0
votes
2answers
8 views

Linux: How to kill a root owned process by parameter's name?

I would like to know how to kill processes owned by the root based on their parameter's information: root 3176 0.0 0.8 3604 2252 ? S 21:33 0:00 sudo python main.py root ...
0
votes
1answer
8 views

Downloading FEniCS Binary for Linux Mint, what is the difference between the two icons in the following download link?

I am a new to Linux/Ubuntu operating systems. In this link, I'm not sure which of the first two OS Icons I will need to use. I'll be using Linux Mint. Which one will I need to use? An explanation of ...
0
votes
1answer
5 views

Linux stuck on booting automatically in x seconds

I've recently found an old HP Mini of mine, and its hard drive was on its last legs. I decided to replace the HDD (Win 7) with an SD card running Ubuntu. The problem is, whenever I start the ...
0
votes
1answer
13 views

How can I prevent firefox from switching to search tab?

In firefox when you highlight Some Text and click right mouse button there is option Search google for "Some text". It is all nice, but firefox switches to the search tab immediately, how do I prevent ...
0
votes
0answers
4 views

How can I change a ChrUbuntu 12.04 install over to Arch ARM on a first generation Samsung Chromebook XE500C21?

I installed ChrUbuntu 12.04 on my Chromebook (Samsung XE500C21) using this script. Is there a way to swap my distro over to Arch ARM? Failing that, is there an easy way to install Arch ARM on the ...
0
votes
0answers
4 views

RTNETLINK answers: File exists Failed to bring up eth0

I have 3 identical servers which I SSH into, but couldn't on one of them after a restart. service networking restart just bring up "RTNETLINK answers: File exists Failed to bring up eth0" route just ...
0
votes
1answer
16 views

How to delete lost files in NTFS drive

I faced a problem like the one described here. Basically, after connecting my NTFS external hard drive to my TV, two folders were lost, appearing only as a 0KB file. I have been able to recover the ...
0
votes
1answer
13 views

How can I erase a 250gb external usb drive with linux partedmagic boot cd

I run a dual boot of windows 7 and xp on Dell Optiplex 280 with a Pentium 4 mobo, a CPU of 3 Ghz and 2GB ram. My question is "How do I use the ERASER TOOL in Linux Partedmagic Boot Cd to completely ...
0
votes
0answers
5 views

How do extract filesystem from firmware dump of Sunell IP Camera

I have Sunell IP Camera and I need to extract file system from firmware dump. I try to use firmware-mod-kit: ./extract-firmware firmware.ntt The process completed successfully and I get result like ...
1
vote
1answer
10 views

restoring files after doing rsync with compression

I understand that you can rsync with arg -z and -a for compress and archive. Can someone tell me with these options, does it affect the files being backed up in any way if ever they need to be ...
-2
votes
0answers
7 views

Linux Mint Cinderella 17 stuck on setting up host name dose not seem to move?

Installing Linux Mint Cindarella 17, It just seems to be stuck on setting up host name and just not doing anything else is this normal? Or have I done something wrong? Would greatly appreciate your ...
0
votes
0answers
10 views

Not registering on Asterisk over VPN

I want to work in local area from home, I configured OpenVPN on my Asterisk server (it is only one Linux server in LAN), it works fine. I enabled forwarding on Asterisk server, and client now can ...
1
vote
2answers
27 views

Renaming multiple files to start with a capital letter

i'm trying to update my website to use CodeIgniter 3 but Starting with CodeIgniter 3.0, all class filenames (libraries, drivers, controllers and models) must be named in a Ucfirst-like manner or in ...
0
votes
0answers
13 views

install php-fpm on centos after remoe it

i install php-fpm and php-mysql and nginx then i remove it and update servers kernel. now, when i want to install php-fpm ,.. dont install $>uname -a 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 ...
0
votes
1answer
13 views

Switch Server to use GCC version 4.8.1

I'm banging my head against a wall, I followed the instructions detailed here: http://superuser.com/a/677640 When I ran yum install devtoolset-2-gcc-4.8.1 devtoolset-2-gcc-c++-4.8.1 this was the ...
1
vote
0answers
11 views

Dual workspaces, One monitor

I'm currently using Linux Mint, and have a single 24 inch monitor. Does anyone know of an application that will allow two workspaces to be viewed \ used at the same time? I know of window managers ...
-1
votes
0answers
7 views

Round-Robin Outbound Source IPv6 Iptables

I'm trying to do this: http://linuxbutler.com/tcpip-outbound-round-robin-load-balancing-iptables/ But with IPv6. It doesn't work, however. Seems nat doesn't exist in IPv6. Can you guys help me out ...
0
votes
0answers
7 views

Webcam problems on Centos 6.6

I've been unable to get a few different webcams working on CentOS 6.6. (Logitech C270 & Creative Live! Cam Sync HD) I think it's related udev but unsure. The following are my /var/log/Xorg.0.log ...
0
votes
0answers
10 views

Installing CUDA toolchain in linux without botching X

I've been trying for some time to install the CUDA toolchain on my linux (Fedora 20 x64, GeForce GT 540M) system. The main issue is that the drivers that curently allow X to run ...
0
votes
1answer
13 views

swap file vs partition

I needed some more swap for something I'm doing so I set up a swap file rather than editing partitions. Are there any disadvantages to using a swap file instead of a swap partition? My OS is ...
0
votes
1answer
15 views

Iptables rules suddenly not working

I'm trying to set up a webserver using an Odroid U3; as OS I have Debian 7.4. The issue came when trying to load the iptables rules with iptables-persistent. I'm using the same file with rules I've ...
0
votes
1answer
14 views

chmod throws missing operand on 764, OK on 664

Having set everything in my project to 777 (rwxrwxrwx) for debugging purposes, I wanted to dial down the openness and set the directories (not the files) in the root folder to 664 (rw-rw-r--). To do ...
1
vote
0answers
12 views

SSD seems to be read-only, nothing can be written to it (linux ext4 filesystem)

After two week of normal use my new SSD began to work strange. Now it seems that no file is written to it. An example: root@hooker3:~# mount |grep ssdhome /dev/sda3 on /ssdhome type ext4 ...
1
vote
0answers
18 views

Gnu screen, using the exec command in .screenrc

I have added the following lines to my .screenrc bind -c music u exec amixer sset Master,0 5+ >& /dev/null bind -c music d exec amixer sset Master,0 5- >& /dev/null bind -c music t exec ...
0
votes
0answers
11 views

In programs like Xterm, Xpdf, Nedit does refer to some Library?

These software have a menu different from other apps (in my gnome system) and they look like a light weight GUI. Can anyone please tell me what is the difference between this X and Gnome's ...
0
votes
0answers
11 views

Ansible: can't del user

I'm trying del user with the same name on all my servers. I'm using ansible all -m user -a "name=tim-g state=absent remove=yes" -s After this, system ask me the sudo password, but it's no work, I ...
0
votes
0answers
6 views

Netcat server execute program and return result

I am attempting to create a minimal local listen server that takes an input request, pipes the input to a program and then returns the result of the command. What I have at the moment is the program ...
0
votes
0answers
18 views

Iptables stops the network after a while

I have 3 dedicated servers (same hardware Supermicro X8STi and same bios) with CeontOS 7 Linux 64Bit and I'm having a problem with one of them, with iptables to be precise. When I change the policy ...
2
votes
1answer
20 views

Delete .avi videos by length using Linux terminal

How can I delete videos, via terminal, by length of the video? I have a cutoff point of 30 seconds, and I want to delete anything under that. If I select by size (find . -type f -size +27818098c) it ...
0
votes
1answer
4 views

Setting ACL for group read access

Let me introduce you to margaret and pepijn, my two LDAP users. Pepijn is at the bottom of my non-existent corporation's food chain and is therefore member of only one LDAP-group: pepijn@srv:/$ ...
0
votes
0answers
8 views

Linux cannot work with file “-c” [duplicate]

I have this file created accidently I guess but cannot handle it: -rw-r--r-- 1 root root 329 Dec 11 08:59 -c :~# cat "-c" cat: invalid option -- 'c' :~# cat '-c' cat: invalid option -- 'c' :~# ...
0
votes
0answers
6 views

Correct external HDD permissions

I have just reformatted a 2T external to use the EXT4 file-system with GPT partitioning from NTFS using ms-dos. Currently the permissions for this device are 755. I think this is correct, but I am ...
0
votes
1answer
18 views

How to match one or more non-slash characters

I am given a relative path that descends n levels deep and want to produce the "reverse" path that ascends the same number of levels. I want to produce the same number of levels with or without a ...
0
votes
1answer
6 views

In a single terminal window capture the command to start a.out 3 times each running as background job

On linux terminal window is there a way i can start a program like ./a.out 3 times each running as background jobs. I was told that IO redirection is helpful.
0
votes
1answer
13 views

Serial device not detected by Lubuntu

“Serial Wacom Tablet stylus” and “Serial Wacom Tablet eraser” should appear in the xinput list in a Motion LE 1700 Tablet PC, however they are missing in Lubuntu 14 (32bit). Is there a way to make ...
0
votes
2answers
9 views

Trying to run Konsole from XMing (Windows) fails

Connecting from XMing latest running on a Windows 7 laptop to an Ubuntu 14.04 server running KDE. I get the following error: cpatti@hab: ~ $ konsole ...
0
votes
0answers
19 views

Cannot boot onto any OS after deleting Linux partition on UEFI system

Today, I decided to delete Ubuntu 14.10 from my computer. Everything was OK, I had created the USB recovery drive of Windows 8.1. After formating the Linux, I restarted. Sadly, I forgot to delete the ...
0
votes
0answers
10 views

Harddrive spinning down though time increased with hdparm

I have an external harddrive connected via USB. The usual method to set the spindown / standby time of harddrives seems to be using hdparm. So I run sudo hdparm -S 200 /dev/sdb and get /dev/sdb: ...
0
votes
0answers
18 views

Fix program freeze with ram buffer

I'm using program with small bug. It's closed - source, so i cant change it code. It's very good for what its doing, and there is no apps like that one. So i can't use other programs. But that ...
0
votes
1answer
32 views

How to prevent installation of software with known vulnerabilities in Linux?

Is there any tool for Linux which scans software during installation for known vulnerabilities (weaknesses that could later be exploited)? In addition to scanning software after it is installed, I ...
0
votes
0answers
10 views

Owncloud in subdirectoy on arch + nginx + uwsgi

After several system updates of my Arch linux server, the owncloud web interface it is hosting stopped working. Unfortunately I noticed it only recently and I can't really go back to working system ...
0
votes
0answers
13 views

Trying to create two LVM groups using Preseed

Here's the trick of what I'm trying to do. I have VMs that I'm going to use to test a product feature. Testing that product feature requires that I configure the disks in different ways. My plan is to ...
0
votes
2answers
14 views

Replace Referenced files with Symlink

I have a git repo I am working with that has files and folders that need to be symlink to files and folders inside another folder. All of the symlinks are refrenced as text in the second projects ...