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
1answer
9 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
2answers
26 views

Resolving IP address to get Domain Name

How to make my server be resolved by IP address and get the domain name. For example: then Anyone can use: resolveip <my-ip> And get the output of my domain name; like www.xyz.com.
0
votes
0answers
7 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 ...
0
votes
0answers
6 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
27 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
4 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
10 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
6 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
18 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
20 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
20 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
19 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
15 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
17 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
16 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
26 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
7 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
25 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
11 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
25 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
24 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
34 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
39 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
19 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 ...
6
votes
1answer
1k views

Ghost Vulnerability - CVE-2015-0235

Does the Ghost Vulnerability require access (as in being a logged in user) to the effected OS in question? Can someone clarify the 'remote attacker that is able to make an application call'? I only ...
1
vote
1answer
19 views

Kernel config: Is undefined the same as disabled?

Reading the Debian Kernel Handbook I came across the config option CONFIG_DEBUG_INFO. That option isn't in the official debian 3.2 kernel config, so what I'd like to know: If a certain option is not ...
0
votes
0answers
35 views

Switch between tabs command

By mistake I may have deleted the Switch between tabs shortcut, now I want to add it as a custom shortcut but I can't find the command to add. How do I add it back? I'm using kali Linux and I'm ...
0
votes
1answer
27 views

Installing linux Mint 17.1 on Acer s5 “No root file system defined”

I have booted Linux Mint from USB stick. Everything works fine until I'm trying to install it. So I launch Install Linux Mint choose my language ⇒ set up WiFi connection ⇒ Installation ...
0
votes
0answers
7 views

network connection issue with Ubuntu installed on VM player

The Ubuntu was installed on Windows 7 using VmWare Player. However, the internet cannot be accessed from Ubuntu. The Windows host works fine with internet. Examining the "Network and Sharing ...
6
votes
3answers
293 views

Can signal be ignored (lost)?

I have an application which is communicating with workers via signals (particullary SIGUSR1/SIGUSR2/SIGSTOP). Can I trust that whatever happens every signal will be delivered and processed by ...
0
votes
1answer
18 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot ...
0
votes
1answer
14 views

Linux RPC - server side

I am reading about RPC at this page. I understand that this a client/server model, and the server can respond to queries by the client. What I want to ask is that is it possible for a server side ...
0
votes
2answers
59 views

How to convert Log file to CSV using bash

Is it possible to turn this log entry into a properly formatted csv file using sed/awk? I've tried multiple ways to do this using sed/awk. Alas I couldn't do it. Before I do it in perl. is this ...
0
votes
0answers
22 views

How to write rules file to build /package_name/abc/xyz/Project for debian creation [on hold]

How do I create a package for the directory which has some text files and in some directory I have libtool project. I want to create debian for the package which tests libtool project builds ...
1
vote
1answer
22 views

Problem with grep on multiple files and not getting desired output

I am using the below command on a file to extract few lines based on chr# ( different chromosome numbers). This is just a single file am working on. i have 8 such files and for each file I have to do ...
1
vote
0answers
14 views

Initialize USB keyboard attached while suspended

I have a laptop that I sometimes want to use with separate peripherals; external monitor, external keyboard and external mouse. When in this mode, I want to keep the laptop closed and tucked away (as ...
0
votes
0answers
9 views

Removing Kali packages after out-of-the-box install

Recently installed Kali Linux 1.0.9 using the default image. Later on I decided to remove some of the packages, however it seems that it is not possible to remove packages since the kali-linux-full ...
0
votes
2answers
30 views

Logrotate: Log file not being rotated

I am trying to rotate a log file using logrorate. Following is the configuration: /etc/logrotate.conf: /var/log/test.log { size 1M rotate 6 create dateext ...
-4
votes
1answer
46 views

Would my programs run on freeBSD?

I tested freeBSD in a virtual machine on my Linux pc, and I kinda like it. I noticed that the file structure is similar to that of Linux, and many Linux commands will also work on freeBSD. My question ...
1
vote
1answer
30 views

Save and restore terminal tabs with custom tabs title

I have a Terminal window with a dozen named tabs open *(gnome-terminal) I would like to save the current configuration and have it restored with names and directories. Is there a way to do this? I've ...
0
votes
0answers
15 views

Using ks.cfg with virt-install?

I've been trying to get a virtual machine working with a cfg file on centos but unfortunately, I'm getting the error that ks.cfg file does not exist. Below is the command I ran to enable the VM. ...
-1
votes
0answers
16 views

Trying to write my on version of mesg [migrated]

I am tasked with writing my own version of write and at first thought I could use IXOFF as in the following code to stop all input coming in: #include <stdio.h> #include <sys/stat.h> ...
0
votes
3answers
54 views

How do I print a certain line of python code using the Linux terminal?

If I am writing some python and I only want the terminal to show a certain line, what command do I use? For example my program is: print("line one") print("line two") print("line three") And I only ...