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

i can't install any package on debian jessie

I've tried dpkg, apt-get, aptitude but nothing works; I don't have even the sudo package and I can't install it. First the terminal stopped working (the application) then I started using xterm. After ...
1
vote
0answers
9 views

Easy way to compare BIOS information between two machines?

I have two machines - machineA and machineB running Ubuntu 12.04 Is there any easy way I can compare BIOS settings between those two machine and see the difference instead of doing it manually and ...
0
votes
3answers
128 views

Script to check if file exists and copy

Pretty new to shell script, want to write script which checks if any file .300 extension exists on /exports/files on server 10.xx.xx.xx. If *.300 exists, move file to /exports/files/arch and send an ...
0
votes
3answers
18 views

On a Linux system, see how busy is file system

I want to know of a command that will show me how (currently) busy is the file system. I'm assuming there exists such a command that will show me this. With such command, are there specific arguments ...
0
votes
0answers
8 views

“date -d” command fails on Docker Alpine Linux container

I built Alpine Linux in a Docker container with the following Dockerfile: FROM alpine:3.2 RUN apk add --update jq curl && rm -rf /var/cache/apk/* the build run successfully: $ docker build ...
1
vote
1answer
13 views

Skip syslog/rsyslog logging of certain cron jobs

In most GNU/Linux distributions the default is to log start (and many different events) of every cron job to syslog. It's rather convenient, but not for a very frequent jobs, which started, say, every ...
0
votes
1answer
33 views

“yum-config-manager --disable <repoid>” How to get repoid for centos 7?

I mistaken installed centos7 minimal. But I want to install GUI for Centos 7.From this link, I try the following commands: yum groupinstall "GNOME Desktop" "Graphical Administration Tools" But It ...
6
votes
3answers
395 views

How can I delete a file named “>”?

I was running a Python script that malfunctioned and used sudo to create a file named >. How can I get rid of this file? Of course, when I try sudo rm >, I get the error bash: syntax error ...
1
vote
1answer
493 views

Connect Linux to two networks simultaneously

I want to connect to two networks simultaneously using the Ethernet and in-built WiFi or to two WiFi networks by installing an additional WiFi adapter. My requirement: I have two sets of devices ...
1
vote
1answer
1k views

GNU/Linux: “device mapper: create ioctl failed” “device or resource busy”

I can't mount my encrypted devices anymore. The error is: device mapper: create ioctl failed device or resource busy This error arises both with two different programs to access TrueCrypt ...
1
vote
2answers
27 views

CRON Job To Execute Command On Low Memory

I have a situation where I may need to execute an SAP command line tool hdbsql when memory gets too low (to help clean out the HANA table cache). I'm not well versed in Unix/Linux, and was wondering ...
1
vote
2answers
7k views

Install NVIDIA GTX graphics driver on Linux Mint 17.1

I can't get my NVIDIA graphics card to run on Linux Mint 17.1. All I get is a black screen. I tried installing the driver with $ sudo add-apt-repository ppa:xorg-edgers/ppa $ sudo apt-get update $ ...
21
votes
6answers
26k views

Linux: allowing an user to listen to a port below 1024

I need to allow an user (different from root) to run a server listening on port 80. Is there any way to do this?
1
vote
1answer
19 views

Why gcc show `unknown` in Target: x86_64-unknown-linux-gnu in Arch Linux?

I would like to know why when I run gcc -v under Arch Linux, it shows the unknown word in these outputs: Using built-in specs. COLLECT_GCC=gcc ...
8
votes
1answer
19k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
1
vote
1answer
839 views

Unable to install CentOS in VirtualBox

I am trying to install CentOS 5.6 in My VirtualBox but I got this error on boot screen. Your CPU Does not support long mode : use a 32 bit Distribution My CPU is 64 bit I checked that using uname -a ...
4
votes
2answers
52 views

What does an @ symbol denotes in the beginning of a unix domain socket path in Linux?

When I run netstat --protocol unix or lsof -U I see that some unix socket paths are prepended with @ symbol, for example, @/tmp/dbus-qj8V39Yrpa. Then when I run ls -l /tmp I don't see file named ...
0
votes
0answers
20 views

Installing a linux distro on a reformatted gateway pc [on hold]

I was given a four year old gateway PC that doesn't have an operating system installed and the hard drive is reformatted. I'm trying to install Opensuse or Kali Linux on the system from a boot-able ...
3
votes
0answers
2k views

Kali Linux USB Live Boot Not Working

I downloaded the Kali Linux ISO 64-bit off of this page: http://www.kali.org/downloads Then, I used the Kali Linux Live USB Install Procedure on this page for Windows. I boot my computer from my ...
3
votes
3answers
2k views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...
5
votes
3answers
217 views

How do Linux permissions work when a process is running as a specific group?

This is something I haven't been able to find much info on so any help would be appreciated. My understanding is thus. Take the following file: -rw-r----- 1 root adm 69524 May 21 17:31 ...
-4
votes
1answer
42 views

Problem with sudoers file. Syntax error at line 82, but cannot find exactly what? [on hold]

I ssh'ed into my new Linux machine (no physical access) and I have root credentials. However, I cannot run sudo commands because of some error in the sudoers file made by someone else who logged in as ...
1
vote
1answer
50 views

eth0:<name> interfaces in Linux

I have a server which shows following three "secondary" IPv4 addresses in ip addr show output under physical interface eth0 section: inet 10.10.1.26/32 scope global eth0:vpn inet 10.10.1.19/32 scope ...
0
votes
0answers
8 views

Why my limit on CPU does not validate via cgroups

/etc/cgconfig.conf ... group memlimit { memory { memory.limit_in_bytes = 8589934592; } } group cpulimit { cpu { cpu.shares = 1024; } } /etc/cgrules.conf: ...
0
votes
0answers
35 views

Kill the process and restart server when memory is exceeded - bash and cron

I have a site on webfaction, using django and python. However, I have problem with memory. The problem arises, because I use external library, that can run forever (consuming much time and memory). ...
1
vote
2answers
36 views

Using another's device resources for software execution

I have an old weak laptop (core duo at 1.7Ghz) and a quad core phone(arm cortex a7). Both are running linux. Could I use phone's resources from laptop to execute(process) stuff for laptop? Is there ...
1
vote
2answers
591 views

laptop enery management for improving battery lifetime Linux

I have bought a Lenovo Ideapad that cames with Windows preinstalled. I installed Ubuntu 14.04 to dual boot. There is a tool for Windows called Lenovo Energy Manager that allows to control the charge ...
-3
votes
0answers
24 views

Display main menu upon pressing enter jey [on hold]

How do i display the main menu again when a user enters the key? I've tried read null, nut it just takes me back to the console
-1
votes
0answers
14 views

How Can I recieve messages from more than one named pipes?

I have to use fifo in my code. I use sock to accept new client. For each client I create new thread to send and recieve message to him. In the function of the thread I use fifo to send and recieve ...
1
vote
0answers
8 views

What is the difference between Local timer interrupts and the timer?

When I do cat /proc/interrupts on my multicore x86_64 desktop PC (kernel 3.16) I see this: 0: 16 0 IO-APIC-edge timer LOC: 529283 401319 Local timer interrupts ...
1
vote
2answers
10 views

Shell script exit code and logging

I have got following simple shell script, in which I am trying to send STDERR & STDOUT to both screen and log it in a file(test.log). Also, while exiting I am trying to exit with appropriate exit ...
0
votes
0answers
29 views

How come BSD has less driver support than Linux? [on hold]

BSD can easily use Linux binaries... So how come BSD has less support for graphics than Linux? Isn't it just a matter of porting the driver to BSD, which means BSD should have the same support for ...
2
votes
1answer
42 views

chroot ssh users

I am using CentOS 7. I need to give shell access to ssh users but restrict them in a jail. I have used jailkit to set up the jail. I have copied all necessary libraries, binaries that are needed for ...
0
votes
1answer
23 views

Rsync dry-run statistics- Different statistics after executing 'cp' and 'rsync' commands

In order to generate some random files, I have created a script which is as follows: #!/bin/bash for dir in `seq 1 10` do mkdir /root/mandar/RsyncSrc/$dir cd ...
7
votes
1answer
203 views

Know which process does I/O without iotop

On Linux, I want to know which process uses my disk I/O bandwith. I know I can use iotop but I have a machine where, for various reasons, iotop cannot be installed. How can I manually get that ...
2
votes
3answers
1k views

Linux / JVM - OutOfMemoryError: unable to create new native thread

I have a memory problem with a Linux server (CentOS). It is a VM. Below is the context. It has 70Gb of RAM. There are 2 tomcat running on it. One tomcat is given a heap of 13Gb and the other one a ...
0
votes
0answers
16 views

Reshareing a Samba share

Thanks for looking at my question. I have 2 Networks on my firewall, 1 for the users and 1 for some servers. Now I have 1 server as sort of portal to some shares on other servers. the portal server ...
15
votes
6answers
30k views

Why is USB not working in Linux when it works in UEFI/BIOS?

For background I have just built a new machine with modern hardware including: AMD FX-8350 Gigabyte GA-990FXA-UD3 motherboard 16GB RAM NVidia GTX 650 Ti Kingston SSD Given that, I tried to install ...
0
votes
0answers
22 views

mysql service exiting without error

I have installed mysql-community-server on openSUSE and am having trouble starting it as a service. I can start it using sudo mysqld --user=mysql without a problem and access the database normally. ...
3
votes
1answer
2k views

snmpwalk community results to timeout

My snmpwalk suddenly stopped working, which was working earlier, after restarting the snmp also didn't work out, snmpwalk -v1 -c gives me timeout and it's working for other machines as well. I tried ...
1
vote
2answers
35 views

Wifi is not working on Linux Mint

I have a Dell Latitude E4310 laptop which ran Ubuntu for the last 4 years (with various versions). Recently I have installed Linux Mint (version 17), and afterwards the WiFi is not working. It was ...
0
votes
1answer
15 views

Restrict user to do SFTP on the www folder owned by www-data group

I would like to create a new user with read/write privileges ONLY in the /var/www/ directory including all sub-directories. The /var/www/ is owned by a group called www-data. Best way to do it I ...
0
votes
1answer
11 views

Centos 7.1: how to record from audio input (not microphone)

I use centos 7.1. What application can I use to record audio input (not microphone) from sound adapter? For example I connect TV sound output to PC sound card input.
0
votes
0answers
9 views

Upgrading Portage?

I'm attempting to upgrade portage on my Chromium OS VM and I get a masking on the upgrade saying it's masked by EAPI 5 and that my current version is EAPI 4. In order to upgrade portage I need EAPI 5 ...
3
votes
1answer
36 views

Size difference between an iso file burnt to a cd and the file retrieved with dd

I have an iso file (foo.iso) that I burnt to a dvd with the command : growisofs -dvd-compat -Z /dev/cdrom=foo.iso I then tried the command dd if=/dev/cdrom of=foo2.iso However, foo2.iso is ...
2
votes
1answer
599 views

How to enable/disable a serial port?

I need to disable and then enable a serial port for testing purposes on a Java program. Since the man page of setserial is stating: "Using UART type none will disable the port.", I use sudo setserial ...
1
vote
0answers
19 views

Blocking or forwarding packets as access point

I set up my Pi 2 as a wifi access point following this tutorial. I'd like to implement a rudimentary QoS, according to the DSCP field in every packet's header. That means, blocking packets using low ...
1
vote
0answers
22 views

How to know file name of sockets or pipes in /proc/[pid]/fd

In Android, #ls -l 15843/fd gives following output, lrwx------ u0_a179 u0_a179 2015-05-28 11:58 90 -> socket:[193728] lrwx------ u0_a179 u0_a179 2015-05-28 11:58 91 -> ...
0
votes
1answer
552 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
0
votes
1answer
24 views

FreeBSD bootable usb

How can I make a bootable USB stick with FreeBSD on it and then boot the image from Plop Linux? (I am using Linux mint) I want to install this OS ,also I want to know if Plop will detect the the BSD ...