I’m new to Linux, and I just installed a distro korora based on fedora. I installed rails but when i try to create new project and write bundle install in the terminal i got this error I don’t know what to do and I want to solve this problem as possible as I can. Answer You need to install the
BASH / sed – not giving same output for simple sed commands
Box 1: uname -srm Box 2: uname -srm; cat /etc/debian_version BASH on box1 is: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16) BASH on box2 is: GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu) On both boxes, I’m have the following script: All commands are same. This is what I’m…
How can I “mount” within my process space without being root?
I’m trying to mount overlayfs without being root in my C++ code; I would want to be able to have this mount happen and be visible just for my own process and its descendants: Unfortunately the error I get is Operation not permitted. How can I make this happen? Even a simple tmpfs mount fails not being r…
How to install Cartopy to python-3.5 on linux-32
When I try to install it throught conda apper message: Fetching package metadata ……… Solving package specifications: . PackageNotFoundError: Package not found: ” Package missing in current linux-32 channels: – cartopy Close matches found; did you mean one of these? You can search…
mongodb wrong members id
I’m trying to change the priority of the members of the replica set: cfg = rs.conf(); output: } cfg.members[5].priority = 0.5 cfg.members[4].priority = 0.5 but id:3 change normaly: cfg.members[3].priority = 0.5 what am I doing wrong? And why my version of the config too big? So many times that I couldn&…
Running Nvim-R via PuTTy: setting up r_term_cdm
I would like to run Nvim-R on a remote machine via putty when I try to open a *.R file the remote machine returns an error message: Please set the variable g:R_term_cmd in your vimrc. Read the plugin documentation … According to the documentation, the R_term_cmd should be used in the following manner: I…
Open new project in WebStorm IDE from existing folder via terminal
Is it possible to open WebStorm IDE with new project via terminal. I want to create new folder and then launch IDE as new project with this folder as root. Answer First you have to create project root folder yourself. Then — just pass the full path to WebStorm executable (webstorm or (older name) wstorm…
VIM use system clipboard [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 6 years ago. Improve this question So I’m a real noob to VIM and trying now again to get finally…
Setting up Hadoop in Pseudo-distributed mode in ubuntu
I’m trying to teach myself Hadoop on my laptop. My objective is to get the pseudo distributed mode running. I’m following the guide from the Apache website to set up Hadoop and HDFS in Ubuntu, but I can’t get it to work. Here are the steps I have followed so far: 1) check Java version: retur…
Read line by line and print matches line by line
I am new to shell scripting, it would be great if I can get some help with the question below. I want to read a text file line by line, and print all matched patterns in that line to a line in a new text file. For example: The intended output is as follows: I tried the following code: which