Skip to content

Tag: linux

Segmentation fault on memcpy() function [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 4 years ago. Improve this question I hav…

Yum Repo Issues

My CentOS-Base.repo has the following mirrors: When I say yum install yum-utils, it fails with the error saying http://custom-url/centOS-updates/Packages/yum-utils-1.1.31-46.el7_5.noarch.rpm: [Errno 14] HTTP Error 500 – Internal Server Error Trying other mirror. Error downloading packages: yum-utils-1.1…

Install older version of gnu-make in Ubuntu 18.04

I want to install make 3.81 on Ubuntu 18.04. So I download this version of make and run ./configure and then make. But when compiling it gives me this error: Same situation at building version 3.82. My current version of make is 4.1. Is anybody know what could be wrong? Thanks EDIT: glob/libglob.a(glob.o): In…

How to list a directory content

How to access directory files when we don’t have index file. I used this htaccess code but it worked when I mention file but I want to show directory file without insert index file. Please check my htaccess code and tell me where i am wrong thanks Answer You can use the Options configuration option. The…

Why does this not kill remote process?

The follow command works in a local terminal: But this command doesn’t work remotely: …even though script.py on remote belongs to john, the user we are ssh as. I can ping successfully and other commands are successful. Answer You need to escape the pipes to cause them to be passed to the ssh comma…

rails s command issue

The rails s command is showing this issue bellow; I have no idea what it is? this project use to run fine; I haven’t change much either. My env: The weird thing is that I execute the same command in another project and it run just fine. I am missing something? If I try the command along it work but

Passing a Command as a Variable to another Program?

I’m creating an interactive script that allows me to plot specific parts of a data file using Gnuplot. These files contain multiple channels of instrumentation data and I’d like to plot specified channels together on the plot. At the moment I can only plot each channel independently with a script.…