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

add 10G fiber NIC however not able to see it go to up state

I have added a 10G Intel PCIe card to my Linux machine. I have connected both sides of the cable and the remote side comes up when I plug the cable into my linux machine and goes down when I remove ...
0
votes
0answers
8 views

How to get Ansible to reload Playbooks after update from Git/Rsync?

I want to have a playbook that Rsync (or check out from a version control system) Playbooks from another server then use the new Playbooks. Is there a way to tell Ansible to reload Playbooks after ...
-3
votes
0answers
14 views

after fixing vmware “take ownership message” wifi are not working [closed]

Hello i installed Linux but after some time VM shutdown and demand for taking ownership, So i used this tutorial task manager >> Open Services >> VMware authorization Services >> right click ...
0
votes
0answers
35 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
1answer
23 views

Doing Complete Induction with Nano [closed]

I have an assignment in which I have to do a few induction and check them into an repository with svn. The maths are not the problem however doing it with nano or emacs is. I tried the sigma symbol ...
0
votes
0answers
15 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
35 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
48 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? [migrated]

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
32 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
21 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
0answers
13 views

Computational cost [closed]

I would like to estimate the computational cost for my programs. I am using a Makefile to compile and to execute I am using ./[PROGRAM] [datafile] Time t=0; iteration=1; iteration=2; ...
0
votes
1answer
15 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
7 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
20 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
30 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
12 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
19 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
13 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
18 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
45 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
1answer
42 views

bash cd command keeps rerunning old gzip command - why? [closed]

A weird thing has been happening for the last day on a Linux system I'm using. Every time I log in or cd to a different directory the system tries to unzip a file that I unzipped on a prior login - ...
-3
votes
0answers
24 views

how to send an email from my localhost to external emails using Exim? [closed]

Actually, i'm trying to use exim as an MTA within debian, to send emails from my localhost to externall accounts, after i configured it, still doesn't send emails, how can i acheive that? thanks in ...
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
68 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 ...
-1
votes
0answers
11 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
44 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
28 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
14 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
81 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
28 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.
0
votes
0answers
41 views

Most stable Linux distro? [closed]

I'm new to Linux and I'd like to know (and try out) some popular distros which are the most stable and newbie-friendly, and least buggy, while having a pretty good-looking UI. I already know some ...
-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 ...