I need to use tools that depend on clang on a Unix machine I remote onto at work. Anything I install is locally installed onto ~/local. I do not have root permissions. /usr is pretty outdated, with gcc being at version 4.4.7. clang requires gcc 4.7+ I read on linux from scratch that a gcc 6.1 installation req…
Installing libxcb – No package ‘xcb-proto’ found
I’m attempting to install Xorg on linux (CentOS 6.6) by following “Beyond Linux From Scratch”(http://www.linuxfromscratch.org/blfs/view/cvs/x/xorg7.html), and had an issue while installing libxcb-1.12 with: where: And I got the error: I’ve already installed below by following the instr…
How to suppress npm WARN deprecated messages in bash
I have several version of node.js installed in Linux Mint 18.0. I manage them using nvm. Because of a project dependency, I need to have version 0.10 as the default version (nvm use 0.10). As a result of this, every time I start my terminal, I get the following output: How do I suppress these messages? Answer…
SailsJS skipper uploading files as root, how do I upload as the app’s owner?
I’m using skipper to upload images and the images keep uploading as being owned by root, not the desired outcome. The sails app is in a sub-folder in user X’s home directory, in which all files are owned by user X. I am running “sudo sails lift” to start the app, so maybe sudo has some…
Vagrant and virtualbox synced directory: permission issues moving from windows host to linux host
I’m currently using vagrant to provision a Linux (CentOS) guest for deploying a web app running on Websphere. The host environment is Windows 7, but I’d like to move to Linux (Arch) for further development. The virtual machine is running via VirtualBox and Vagrant provides it with a synced directo…
“cat a | cat b” ignoring contents of a
The formal definition of pipe states that the STDOUT of the left file will be immediately piped to the STDIN of the right file.I have two files, hello.txt and human.txt. cat hello.txt returns Hello and cat human.txt returns I am human.Now if I do cat hello.txt | cat human.txt, shouldn’t that return Hell…
cd command : how to go back an unknown number of levels from current subdirectory to a particular parent directory (unix and dos)
Ok, so I am trying to resolve a uri in an xmlcatalog and I want to go back from a particular sub-directory back to a parent-directory that is an-unknown-number-of-levels behind. eg: file:///D:/Sahil/WorkSpaces1/Cartridges1/Project1/ParticularFolder/Level1/Level2/<so-many-levels>/CurrentFolder I want to …
Magento 2 Installation – Key must not exceed 56 bytes
I’m having issues installing Magento 2 via command line. When setup is running it gets to: Module ‘Magento_Indexer’: Running recurring.. And it throws an error: [MagentoFrameworkExceptionLocalizedException] Key must not exceed 56 bytes. I have searched around and couldn’t find any clue…
Executing several commands at once [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago. Improve this question I am trying to write something in Perl (but I’m also happy with Python or PHP to do th…
Find out the shell which was used to run the process in linux?
I recently got stuck in a situation where I need to find out the name of the shell for a list of process (or for a single process, using pid). Is there a way we can find it out (preferably using ps and grep command). Answer Since you know that the processes have been started from a shell, you just