These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
40 views

Cannot install mysql binaries for linux x64 to another directory

I am watching the install mysql-5.6.22-linux-glibc2.5-x86_64 binaries instructions as : Example A : shell> groupadd mysql shell> useradd -r -g mysql -s /bin/false mysql shell> cd ...
0
votes
5answers
60 views

copy file from user to another in linux

I'm trying to copy a file from my home directory to another user's directory. I have a sudo access for the other user with no password. I tried doing something like: sudo secondUser cp ...
0
votes
0answers
16 views

Linux:how java applications having 1000 threads are managed by 2 CPU's os?

Linux: 2CPU's, 16gb ram Let's say, for example, tomcat having 1000 threads. How this application threads will be shared between two CPU's, and what is the value of run queue length? In my case when ...
0
votes
0answers
2 views

Using Bluetooth inside a netns

Is there a way to use Bluetooth inside a network namespace? For some reason, almost no program is able to work with Bluetooth devices at all. To simplify, here are the (almost) last lines from strace ...
3
votes
1answer
44 views

Keep a process in RAM (prevent it from swapping)

I want to keep a process in RAM. It should never go into swap. Is this possible? The process is a Java program. I'm running CentoS 7.
1
vote
0answers
29 views

Deleted file being written to by running process, can I recreate it? [duplicate]

I've started a long running process with nohup and redirected it's output to a log file Example: nohup ./bin/zkServer.sh start-foreground > /usr/local/myuser/logs/zkout.log 2>&1 & I ...
2
votes
0answers
36 views

Why would all our CLOSE_WAIT connections have 24 bytes in the receive queue?

We have an Apache reverse proxy that is having connectivity issues with the back-end. This results in timeout errors such as this: [Thu Apr 21 12:12:26.031207 2016] [proxy_http:error] [pid 64620:tid ...
0
votes
2answers
49 views

python virtual environment

I have to install python package locally/globally on a machine using pip, so for I do not want to install pip on local machine. I can successfully create a new virtual environment using easy_install ...
0
votes
3answers
47 views

Grep file modified in 24 hours unix

I need to get the files which have been modified in the last 24 hours, and get owner and group of these files. How can I do that? The command ls -lrt /dirpath | grep 'Util' only gives this output: ...
0
votes
0answers
15 views

How can I run GUI emacs (using a shortcut) in a very light xmonad installation? [closed]

I am trying to launch Emacs through a keyboard shortcut on my Debian/xmonad system. Relevant lines from my xmonad.hs: ~$ cat .xmonad/xmonad.hs import XMonad ... main = xmonad =<< xmobar ...
1
vote
2answers
36 views

Get full directory of $file

My first shell script #!/bin/bash echo "Input your file" read $file path=(readlink -f $file) echo "$USER, $path" >> scriptlog.txt it said missing operand. How can I fix it?
1
vote
0answers
23 views

Numlock on by default on Linux Kali

I am fairly new to this version of Linux. I have it set so that when it boots, it automatically boots into the GUI for the operating system. This means when I load up the OS I am greeted with a login ...
0
votes
0answers
10 views

ORA-12560: TNS: protocol adapter error

I have tried to install Oracle 11g R2 on Solaris 10 in Virtual Box. While installing it get completed 95% but while it try to install "Database Configuration Assistant" it shows "ORA-12560: TNS: ...
1
vote
0answers
24 views

Strange X11 forwarding issue [closed]

I have a strange issue regarding ssh x11 forwarding. Assume I have an host named node71. Firstly, I start Cygwin/X and mintty in Windows, now the local DISPLAY=0.0 Next, I can do ssh root@node71 -Y, ...
1
vote
0answers
39 views

Is compatibility technically easier to achieve for Darling than for Wine?

I hope this question isn't too theoretical. I find it very interesting. A project called Darling is attempting to create an OS X compatibility layer for Linux. If successful, this will allow users to ...
0
votes
1answer
18 views

xclock not runnnig for another user

I have install new solaris 10 in Virtual box in my pc. I have set below command as a root user. bash-3.2#export DISPLAY=":0.0" DISPLAY bash-3.2#xclock It is working fine for root user but I have ...
0
votes
0answers
8 views

Open HDMV PGS subtitles in GNU/Linux

I wanted to know if there's any software in GNU/Linux which can read BluRay subtitles (HDMV PGS). I'm not talking about making an OCR to convert them to SRT like everyone asks, but just reading them ...
0
votes
0answers
25 views

Linux stops booting after eth0 link up. How to make it show more log?

I compiled the latest OpenWRT with Linux kernel 4.4.7 and flashed it into a Netgear WNDR3700v2. Here's the boot log from serial port. U-Boot 1.1.4 (Jan 15 2015 - 11:30:07) AP96 (AR7161 rev 2) U-Boot ...
2
votes
1answer
34 views

run Mac OS X applications on Linux

According to this Wikipedia article: OS X is a series of Unix-based graphical interface operating systems developed and marketed by Apple Inc. so i was thinking: is there any similar ...
0
votes
0answers
14 views

Is there a synaptic package manager for Scientific Linux?

I am wondering if there is a package management system available for Scientific Linux. So far I'm downloading and installing one package at a time, and running into conflicts/dependency issues. A ...
1
vote
0answers
23 views

Native Linux installation on Allwinner tablet

I would like to know if it is possible to do a clean install (I mean a native install, just like on a computer) of a Linux distro on an Allwinner a33-based tablet (or more generally speaking on an ...
-1
votes
2answers
44 views

shell script replace and add next line with special characters [closed]

I am trying replace a line with another line and add new line below that using a shell script. I want to replace: export PATH with: ...
0
votes
0answers
18 views

Z170-A motherboard HDMI video issue with ubuntu

I purchased Z170-A motherboard PC with on-board HDMI port and i have installed Ubuntu 14.04.4 OS but problem is if i connect Monitor to HDMI port it's not working. but if i put external VGA card it ...
2
votes
0answers
19 views

How to support 64-bit times on a 32-bit Linux platform

I need to support 64-bit times on a 32-bit ARM embedded Linux system based on kernel version 4.1. I use clock_gettime() and clock_settime() to get/set the time, but they are limited to 32-bit seconds ...
2
votes
0answers
37 views

Samba unable to write when mounting from linux

I'm having some weird issues with samba. Somehow im not able to write to the mounted share from Linux over VPN but it works without problems when mounting from Windows hosts on the same local network. ...
0
votes
2answers
23 views

Install Linux distro with gcc4

How can I find a linux-distro with gcc4-installed? I've searched internet but without success for instance this wikipedia page
3
votes
1answer
48 views

Accessing a shadowed mount point

A mount point /mnt/sub is shadowed by another mount point /mnt. Is it always possible to access the mounted filesystem? Root access is a given. The system is a reasonably recent Linux. Example ...
0
votes
0answers
16 views

VirtualBox guest (Windows 7) resets host (Slackware 13.1)

As pointed in the title I'm in a situation where a VirtualBox guest (Windows 7) resets host (Slackware 13.1). This happens when the guest (Windows) in booting up. The same happens with two virtual ...
2
votes
1answer
79 views

Can login and browse in shares on samba server, can not access files

I´m pretty new to Linux so I've been having a hard time fixing this. Running the latest version of Mint. The files are stored on an auto-mounted NTFS partition. I can access the share, I can ...
1
vote
0answers
9 views

Files backing loop devices opened without O_EXCL

Loop devices are the primary way (and perhaps the only way) to treat normal files as block devices in Linux. It's strange that backing files aren't protected by O_EXCL flag. Why is that? Why nobody ...
0
votes
0answers
12 views

redhat + how to find the oracle JRE version 1.7 from redhat site

I am searching the JRE 1.7.x version from red-hat site by yum command bot not find anything yum list | grep java | grep "1.7" | grep -i jre no such patch or maybe redhat not hold JRE 1,7 ...
1
vote
1answer
51 views

Create encrypted live USB Kali or Ubuntu (Debian) [closed]

I'd like to: Configure Linux os, for example Kali or Ubuntu for my needs. Then encrypt the WHOLE bootable USB drive. If it's not possible to encrypt the WHOLE USB drive, maybe leave just /boot ...
1
vote
0answers
30 views

how does systemd activate encrypted swap file on alternate partition?

I have 2 partitions: / and /data. My swap file is encrypted at /data/swap. So /etc/crypttab looks like: root_crypt UUID=6666 none luks swap /data/swap /dev/urandom swap And /etc/fstab looks like ...
0
votes
0answers
15 views

How to connect Ubuntu 14.04 NIS Client to a IRIX NIS Server

I'm trying to connect a new Ubuntu 14.04 Server (64Bit) as NIS Client to an SGI Irix NIS Server. It's a standard installation of Ubuntu, only ssh, nfs and nis (pam and other stuff came along by ...
0
votes
1answer
110 views

Linux Mint: Can't install chrome, after uninstalling it

I just uninstalled Chrome via the software manager due to an annoying bug with the console in devtools - thinking that an uninstall and reinstall was worth a try to fix it. Trying to install it ...
-5
votes
1answer
49 views

help with a bash shell script that creates directories

I have a problem I been trying to tackle. If anyone can help, it would save me a headache! For reference,I started self learning so I'll be looking for problems around but can't find the answer for ...
-2
votes
2answers
33 views

linux + ssh login took time from one server to another

I have a central Linux server (Red Hat version 6.5), and from this server I establish SSH sessions to other servers. To one server the SSH login took around 5 seconds, while to all others it took ...
1
vote
1answer
25 views

Compare and merge config file in CentOS

I was trying to setup an auto-update (for multiple servers) bash script via cron to a config file (text based) by downloading the new file everyday and replacing it directly. The script works fine, ...
-7
votes
1answer
30 views

How To Copy Files From Local Windows Machine To Remote Server [closed]

I want to copy a file from my local machine to a remote server. My local machine is running on Windows 10 and I use PuTTY to connect to the remote server, which is running Ubuntu.
-3
votes
0answers
31 views

how do i print every other line in text file

I'm using using and I have a text file with 5436 lines and I need to print out to another file starting from 2 4 6 8 etc. For example here is my file b2185155 b2185156 b2186289 b2186290 b2185159 ...
1
vote
0answers
15 views

Loss of personal data in my /home partition [closed]

I was saving a project in NetBeans IDE , then my laptop has stuck while looking in my directories to save the project , when the notebook is restarted , all my files in the / home partition gone, ...
0
votes
0answers
13 views

Dual booting Oracle/RedHat Linux installations

I've searched for answers on this and it seems no one is dual booting two installations of Linux. It's all Linux vs Windows. I have a system with two hard drives in it. Both have Oracle Enterprise ...
0
votes
0answers
21 views

Where can I find the definition for a system call parameter? [migrated]

In the ioctl man page it defines: int ioctl(int d,int request,...); For example: ioctl(fd,FIONREAD,&nread); Where can I find this FIONREAD information in Linux? Where is this information ...
0
votes
0answers
39 views

Centos 7 root passwd reset

I was stupid enough to log my root password on one spot and that crashed so I lost my root password to my server. I followed the guild of ...
2
votes
2answers
67 views

What is the best way to setup 3 HDDs with 3 OS on one computer?

I am building a new PC, I am a developer of whatever people want me to make, but I personally like to code games. To do this, I have a simple set of requirements: Machine must run Windows 7, to run ...
1
vote
1answer
30 views

How can a daemon user connect through SSH? [closed]

I have launched process named redmine that launched by deamon user – redmine. Some inner redmine (as process) plugin needs SSH connection to outer service and make it from redmine (user), but this ...
0
votes
0answers
10 views

ALG IPSEC and RSTP

I have linux 3.18. my Linux is installet on a router. in this router I activate a NAT from the wan side. Does this Linux support ALG of IPSEC and RSTP ?
1
vote
1answer
31 views

Aptitude deleted a buttload of modules when I tried to install Imagemagick, how do I undo this?

Yesterday I tried to install Imagemagick, I used apt-get at first, which returned an error. I was already trying to install ImageMagick for hours, so I got impatient. A post on stackoverflow said that ...
1
vote
0answers
13 views
+100

Internal speaker unmuted when I press volume up/down buttons on my headphones

It is logical to expect the volume up/down buttons on my USB headphones to only control the volume of the headphones, but in fact they also unmute all other audio output devices. I'm using KDE on ...
0
votes
2answers
42 views

calculate ratio using awk

awk 'NR==1{$4="ratio"}NR>1{$4 = ($3)/($2)} {print $1 "\t" $2 "\t" $3 "\t" $4}' A B awk: cmd. line:1: (FILENAME=A FNR=18) fatal: division by zero attempted Can anybody help with this error? ...