Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

0
votes
0answers
3 views

After crash: Phantom input signals

My (debian 8/kde) system did an emergency heat shutdown while playing a game. After reboot (bios wanted me to wait until the cpu had cooled down enough) the system runs as usual. Largely. I can watch ...
0
votes
1answer
17 views

How to create a symbolic link to a single file rather than directory?

I would like to know, how can I create a symbolic link to AAA.mpg (12GB). I tried with ln -s, but it can only create symbolic link of a directory, if it's a single file, the shortcut will consume the ...
0
votes
1answer
15 views

rpm -Uvh - How to replace modified config file

The question is a duplicate from Stackoverflow site I upgrade rpm package with rpm -Uvh command. Original and new configuration file is the same, but current file on disk has been changed. This ...
0
votes
1answer
18 views

Calling bash getopts from a function fails the 2nd time

I'm trying to parse arguments passed to a bash function using getopts inside that function. It works when the function is called for the first time but fails on all subsequent calls. Here is a simple ...
0
votes
1answer
24 views

How to select read/write time and again? [on hold]

This program only waits one time and I don't understand why. Actually, I don't think this question should be put on hold as off-topic. #include <stdio.h> #include <sys/types.h> #include ...
0
votes
2answers
24 views

how to delete files from a specific date and extension

Short and sweet: One of my hosting subscriptions got hacked. I ran this command: find path-to-folder/ -mtime -7 -name "*.php" –print this produced about 11 pages worth of malicious code which was ...
2
votes
2answers
52 views

Share files between Linux host and Windows guest

I am trying to share files between Linux host and Windows guest and I came across the link: Use virt-manager to share files between Linux host and Windows guest? As suggested in the third answer, I ...
1
vote
0answers
4 views

GUFW or Firestarter in Fedora

Physician using Fedora 21 - I have very limited knowledge of Linux. I cannot make sense of iptables in Fedora. I used Debian before but moved away from Debian in great disgust after I realized their ...
1
vote
1answer
9 views

“not a valid package archive” when trying to install PHP extension?

I'm running CENTOS 6.6 on a VPS and am trying to install the ZMQ PHP extension and tried installing using the command shown in the instructions: sudo pecl install zmq-beta However, it fails, ...
0
votes
0answers
9 views

Parallella Board release date? [on hold]

Does anybody know when the parallella board with 64 cores gets released? I cannot find any information or shop for buying it. Would be really nice to know it..
0
votes
0answers
7 views

Nvidia Proprietory Drivers for Linux Mint 17.1 (http://www.dell.com/in/p/inspiron-15-3542-laptop/pd)

My laptop has dual graphics (Intel + Nvidia GeForce 820M) and i'm finding it difficult to install Proprietory graphic card drivers for the GeForce. Have tried many methods on Ubuntu 14.04, and they ...
0
votes
0answers
10 views

When running some X prog. remotely with ssh -X, it says “libGL error: failed to load driver: r600”

OS: CentOS Linux release 7.0.1406 (Core) Kernel: 3.10.0-123.8.1.el7.x86_64 When I run xcrysden (http://www.xcrysden.org/) remotely through ssh -X, it crashes with error: "libGL error: failed to load ...
0
votes
0answers
12 views

when reinstalled windows 7 no such partition rescue mode grub>

On my laptop i have windows 7 and ubuntu,then i have reinstalled windows 7 home premium after finishing installation it went to rescue mode it says no such partition grub
0
votes
0answers
13 views

File limits getrlimit(RLIMIT_NOFILE) failed

(32-bit system) Posted a Q/A earlier regarding Chrome crashing because of exhausted limit in open files. Chrome has since run more smooth, (after increasing limit), but still crashes from time to ...
0
votes
1answer
24 views

computer freezes [on hold]

I'm running mint 13 mate,computer started freezing recently,I thought it might have been due to running old version of firefox(12.0)however I have discovered that the freeze happens even without a ...
1
vote
1answer
27 views

Open UDP Ports; Can I Close Them?

I'm trying to secure my internet browsing. I just reinstalled Xubuntu 14.04 and GUFW firewall. I have 8 UDP ports open. I don't understand why. The software I currently have open are Firefox, GUFW, ...
1
vote
0answers
50 views

Can't use SSH anymore on my local machine

for some days now I'm experiencing some issues with SSH on my local machine. It's very problematic as I use the versioning software called Git to work on some projects. I'm 100 % sure the problem is ...
0
votes
1answer
35 views

Remote terminal application

Does anyone know if there exist an application which allows admin run other apps in kind of desktop environment. What i mean is a kind of VNC application which only gives user the terminal console, ...
0
votes
0answers
7 views

Initialise USB devices before hard disks during grub2 boot

I have a CentOS installation on a portable USB stick, with a grub2 installation on it's first partition. The system can boot when there are no internal hard drives plugged into a machine, but fails if ...
0
votes
0answers
12 views

Fn key results in backslashes rather than brightness, etc

I recently upgraded from Ubuntu 14.04 to 14.10. On 14.04, the Fn key controlled bits and pieces such as mute, brightness, volume, lock touchpad, etc. all worked fine. After the upgrade, they don't. ...
0
votes
1answer
12 views

Proper create user account with permissions on CentOS/Apache

I have setup a CentOS VPS to run apache, I am having trouble with permissions when creating an account. I have setup a virtual host host to point a domain to /home/user/public_html <VirtualHost ...
0
votes
1answer
12 views

What port uses my backportpackage or bzr?

I am working in a company what uses Ubuntu Precise on the desktops behind a proxy. The Proxy is available in /etc/environment and set as: http_proxy, https_proxy, ftp_proxy, no proxy and their ...
1
vote
1answer
27 views

Why Linux inside KVM gets busy after I put the host to suspend-to-ram?

I run another Linux instance inside KVM on my laptop. When I suspend-to-ram the laptop and wake it up again, the guest Linux starts consuming 100% CPU for some time (maybe proportional to the sleep ...
1
vote
1answer
37 views

ss is replacing netstat, how can I get it to list ports similarly to what I am used to?

I've been trying to modernise my way with Linux by, for one thing, ditching netstat for ss. I looked up my favourite command line flag for netstat in the ss man pages, and was very glad to find that ...
0
votes
0answers
5 views

oracle11g DB dump importin

I tried to import the oracle11g DB dump but i got below below exception. This command i am using: impdp USERNAME/Password directory=ks dumpfile=dumpfilename.dmp logfile=logfilename.log ...
0
votes
2answers
13 views

htop, show cpu side by side

how can I show the cpu usage side by side rather than a list. basically I have this : but I want to show it like this:
0
votes
0answers
11 views

Kali Linux screen resolution problems [on hold]

So I bought a brand new laptop, I bought a Lenovo Y50. It runs a Nvidia GEFORCE GTX. I installed Kali linux on the HDD and the screen is to large and does not fit on the actual computer screen. ...
0
votes
1answer
28 views

vim - “Press ENTER or type command to continue” right after loading only?

Recently my vim has developed the habit of displaying Press ENTER or type command to continue the first time I do certain things right after I open it. For example, if I'm at my shell prompt and type ...
0
votes
2answers
22 views

find the application that consuming large memory

How to find which application is consuming large memory? Is there any other way than using top?
1
vote
2answers
22 views

How to find a yum repository

Hi I'm trying to find a repository on the web for oddjob-mkhomedir. I'm then going to try and add it to linux so I can install the library with these instructions ...
0
votes
1answer
22 views

How to install oddjob-mkhomedir repository on AMI box using command line

I'm trying to install oddjob-mkhomedir and it comes back with no package available nothing to do. I used sudo yum install oddjob-mkhomedir so I'm assuming the repository is not available. My ...
2
votes
1answer
16 views

QoS with TC qdiscs: is it possible to have ALL outbound connections have x speed limit per unique IP?

I'm trying to setup QoS in my VPS so that I can have any new outbound connection to a unique IP gets limited x speed. For instance: have 5 public IP's requesting data from my VPS. When the VPS ...
3
votes
1answer
22 views

How to connect to several AP's using a single physical wlan interface?

For research purposes and concerning hardware limitations in an environment where my machine does not have more than one wifi adapter, I need to connect in several AP's at the same time to perform ...
0
votes
0answers
21 views

dyanamically creating directories with pam_mkhomedir and mysql for vsftpd

I'm a Linux noob, so hopefully someone will be able to help me to get this up and running. I've installed vsftpd using the following instructions ...
4
votes
1answer
32 views

Why is there AF_NETLINK? Is AF_UNIX not enough?

As far as I understand, AF_NETLINK socket protocol is for communicating between the kernel and userspace and AF_UNIX is for communication between two userspace processes. Why does Linux need a ...
1
vote
0answers
10 views

java version not found in redhat

My OS is redhat linux. It's having the default java 1.4.2, but I need java 1.7.45, for that I am trying as follows: /usr/sbin/alternatives --install /usr/bin/java java /u01/java7/bin/java 5 ...
0
votes
0answers
26 views

ssh into fedora inside virtual box over internet

I am running fedora server in a virtual box inside a windows 7 host. I can ssh into fedora from this windows 7 host. How ever, I stay out of my place most of the times with a laptop at my disposal, ...
0
votes
0answers
12 views

How can I make the most of my non-server hardware with server software installed? [on hold]

I have a standard computer device running UBUNTU 14.04 server. I'm using it for testing but I'll need to expose my work soon enough. I have other machines laying around here - some strong, some not as ...
0
votes
1answer
12 views

mysql high availablity for LAMP application (ubuntu 14.04)

im trying to achieve HIGH Availability (HA) for a LAMP application(News Portal website) which might be of interest to many unfamiliar users.For files im using Glusterfs (replica) for redundancy ...
0
votes
1answer
36 views

Trying to install rpm package in Fedora 21, but dependency on OpenJDK 7 results in errors

I am running Fedora 21 32bit workstation version. Trying to install iris-4.22.0-1.noarch.rpm: [itse@localhost Downloads]$ sudo yum install iris-4.22.0-1.noarch.rpm [sudo] password for itse: Loaded ...
0
votes
1answer
25 views

Error while running script with nohup

I got this error while running my script with nohup sh: syntax error near unexpected token `(' My script is as follow: #!/bin/bash report_log="report.log"; grep -A 3 'successful\|ERROR COUNT ...
-5
votes
1answer
35 views

Bash history for specific user? [on hold]

Please provide bash history particular user linux command? (or) How to verify the bash history particular users in linux?
1
vote
1answer
19 views

3 versions of BerkelyDB installed

I have 3 versions of BerkelyDB installed on my server following 2 versions Package db4-4.3.29-10.el5_5.2.x86_64 Package db4-4.3.29-10.el5_5.2.i386 which are included in the Centos 5 Distro and ...
-1
votes
1answer
45 views

Linux command error : not working in cmd prompt

I'm a newbie to Linux. I have encountered an error when working with Cygwin and cmd prompt in Windows. I posted the snapshots. I'm trying to use carat ^ to find the info that begin with K. But getting ...
0
votes
0answers
26 views

Linux RPC - security options

I am reading about Linux RPC at this link. I want to ask, in comparison to Linux IPC (like system V IPC), where the recipient of the interaction can configure allowed access using Linux DAC, what ...
0
votes
0answers
11 views

How to use tshark or tcpdump to calculate bytes transmitted

I am using this command with tshark: tshark -r pcapfile "tcp and ip.src==192.168.1.1" -T text -V -x | grep 'Total Length' This essentially parses the pcap for only connections from the source ip and ...
1
vote
0answers
6 views

routing through a GVPE network

The following is a GVPE network (VPN) setup on Debian Linux systems. It is how I interpreted the two paragraphs starting at line 174 in the GVPE README. Sadly, there is not much detail and my ...
0
votes
0answers
27 views

Does Linux use Byte Order Mark? [on hold]

I just can't find any information about that, does Linux use Byte Order Mark (BOM)?
0
votes
0answers
16 views

udev/udisks detect blank usb drive

I'm trying to write a web app that allows me to remotely see all usb drives plugged in my box, and allow me to format or eject them from the web page. I've got it all working except for one case: ...
0
votes
0answers
23 views

Is it logical to give root execution to some commands executed by a normal user? [on hold]

Given a C/C++ program that uses some system calls or commands, say for example sockets. In this question the solution gives root access to a normal user to run a specific one executable, which means ...