when I’m trying to make shell script that error is shown ,what i must do ?? [sudo] password for rehamadel: [rehamadel@localhost bin]$ ls -l my_script.sh Answer Resolving the operation not permitted error: You created the file via: This means, the owner and group of the file is root. You are not allowed …
How to use source command within Jenkins pipeline script
I recently rewrite bash execution command into Jenkins pipeline. The old code is like Now I use pipeline script to wrap the command, like this However, I got an error, as…/.jenkins/script.sh: line 9: source: environment.sh: file not found. When I try to less environment.sh, it display correctly. So I su…
Installing node.js 6.3.1 – no such file or directory
I’m trying to install the latest version of node on Elementary OS based on Ubuntu 14.04. I’ve purged all other version of node. I run this command as explained in a few places on the web: Then I get this output: Any ideas? Answer You want to use https://deb.nodesource.com/setup_6.x as the URL and …
Understanding glibc malloc trimming
Some program that I am currently working on consumes much more memory than I think it should. So I am trying to understand how glibc malloc trimming works. I wrote the following test: Test output (without calling malloc_trim): Even though almost all memory was released, this test code consumes much more resid…
How does ${path} work, in this tutorial
I’m sure this is one of the dumbest problems asked on this site, but I am very new to linux, and a little out of my depths. I’m working off of this tutorial here and am stuck on the “add the path” and verify steps. For this one the tutorial told me to use this: I have already defined D…
Yum and RPM show that the number of installed packages is different [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Building C with automake under OS X and Linux
Currently I’m writing a RPC system for delay tolerant networks based on the Serval project from Australia (GitHub) in C. Mainly I’m developing on macOS El Capitan and everything works fine. But it is somewhat important that my code runs on macOS and Linux. But Linux makes trouble. I choose automak…
What does git -H do? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Get a radius of a circle in bash shell
I need to write a script to find radius of a circle and then find the area while the circumference is given The formula is: RADIUS=CIRCUMFERENCE/(2 * PI) The problem is I cant make this formula work because bash doesn’t accept decimal division I read a lot of answers there but still can’t get what…
Jenkins slave set-up – both master and slave nodes are Linux machines
I want to set up a Linux node as a slave to the Jenkins master. I was going through the tutorial on setting it up for a Linux machine. Have master launch slave agent via SSH Jenkins has a built-in SSH client implementation that it can use to talk to remote sshd and start a slave agent. This is the