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 Exchange site, you can leave a comment to explain where the question
Tag: centos
How to find all files on a *NIX server containing a certain string
I want to produce a list of every file on my server that contains a certain email address within the file. Starting with htdocs and all of its sub-directories. I am using this command: I seem to be getting the files that contain the string, but I am alos getting a listing of all directories, which I do not want
list files that start with two dots and change file names in bulk
I’ve got file that start with two dots located in different directories. I need to list them all and change their names in bulk and remove the dots completely. Any suggestions how to do that? Answer Not very efficient, due to the sh invocation for each file, but this should work, and is safe: How it works: Find files starting
escape one variable but not the other in awk
I’m facing a problem with awk in Linux. I would like to do make this script work : The problem here is that I want the variable “var” to be interpreted (it works) and the variable $OTHERVAR not to be interpreted, and this I what I can’t manage to do. In the end, I want to do this: I have
Why there are many i686 RPMs in CentOS x86_64 repository?
I’m looking at http://mirror.centos.org/centos-7/7.3.1611/os/x86_64/Packages where there are many i686 RPMs included. Not every x86_64 RPM has its i686 RPM counterpart though. I thought i686 packages are for 32 bit machine only, but why are they present under x86_64 directory? Are they really needed for 64 bit distribution? Answer I thought i686 packages are for 32 bit machine only, but why
Need to get Linux Dist name from different Dists
want to code a script that is for multiple linux distributions. Also want to add commands that check, and if not exist install some packages.. So, need a solution to ckeck Dist name (like Debian or RedHat) to execute the right command for this Dist. I have tryed “lsb_release” but is this working all the follow dists? : Debian /
How to force yum to update only to exact minor OS version
I have a default AWS image with the version CentOS 6.7. If I run I am getting CentOS 6.9. Is there any way to force yum to update only to version 6.8 and not 6.9? Answer Yes it is possible. Follow these steps: Find a mirror that is closer to you using: http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os. Replace 6.9 with 6.8, e.g., the URL
Dedicated CoreNLP Server Control Issues
Question: How can I confirm whether or not my “Dedicated Server” is running properly? Background: I am working to get a ‘Dedicated CoreNLP Server’ running on a stand-alone Linux system. This system is a laptop running CentOS 7. This OS was chosen because the directions for a Dedicated CoreNLP Server specifically state that they apply to CentOS. I have followed
Nginx not finding PHP files
I’ve been searching through all the questions asked and all answers haven’t worked. I’m trying to install Damn Vulnerable Web App to my Centos 6.9 server, but when I try to access the page, I’m greeted with a 404 File Not Found error. I can access html files perfectly, just not PHP. /etc/nginx/conf.d/default.conf: Can anyone help at all please? UPDATE:
How to get colord to install ICC profile when no devices detected?
I currently have a problem calibrating monitors on centos7. Using gnome or kde, I cannot properly use the color settings to apply a newly created ICC profile. The devices tab has not display listed (only a printer installed). After some reading I found that colord uses xrandr to detect displays and they should appear with the following call: This does