everyone! I have got a bit of a problem. My OS is Ubuntu 16.04 LTS x64. Apt provide only Qt 5.5.1 as the latest version, but I needed to install Qt above 5.6 (I have gone with Qt 5.8) because I needed to compile one of the in-house tools (which require Qt >=5.6). But after installing Qt 5.8 (unfortunately,…
What does it means to have a capability only in the inheritable set?
My program is being run with cap_sys_admin,cap_setgid+i. Of course, I understand that they are inheritable across execve, but beside that : does they behave the same way as if I don’t have them at all since they are neither effective nor permitted? Answer OK so your process is running with some Inheritable ca…
Parsing error: Unexpected token .. when using eslint
I’m fairly new to the linux webapp development scheme but there was a readme attached with the project that the previous team left me. It said I have to call sudo npm install bower install grunt build/grunt server. firstly, my bower.json is empty with the exception of and secondly when I call grunt buil…
Error while compiling lsnes emulator on ubuntu
I’m currently trying to get the Mario project from https://github.com/aleju/mario-ai to work on my ubuntu (16.04) system. I followed the tutorial and already solved some errors, but now I get something that looks like a compile error on the lsnes emulator and that doesn’t make sense to me. My comm…
Shell script to list unformatted disks (partitions)
I’m looking to create a script that lists the unformatted partitions/disks in Linux OS. I couldn’t find a reliable way of listing the unformatted disks / partitions. I tried to use lsblk –output NAME,FSTYPE,MOUNTPOINT | grep “sd” which outputted: The names which do not have mount…
EC2 Linux : Error:Disconnected: No supported authentication methods available (server sent: publickey)
Few months back i have purchased AWS server and created one amazon linux instance(ec2-user) under its one year free subscription (t2-micro). I have been using instance for file input and output operation as well as server configuration via putty and filezilla as well. But recently when i tried connecting it v…
How to run multiple linux commands as a sequence of arguments through subprocess.Popen Python
code-1 : Passing linux commands as a sequence of arguments Output – 1: In the above code I am trying to run multiple linux commands by passing them as a sequence of arguments. If I am modifying the above code to the following one it works fine. code-2 : Pass linux commands as a string Output – 2 :…
exit from STDIN from bash script when the user want to close it
I’m automating the file creation from a bash script. I generated a file rc_notes.txt which has commit messages from two tags and want to re-write that in a new file as rc_device.txt. I want the user to write the customer release notes and exit from the BASH STDIN that I prompt in the terminal. The probl…
Switch user from bitbucket to github
I work for a team that stores its repositories on Bitbucket, so I have an account there. Now I’m starting to work simultaneously for another team that stores its repositories on GitHub. I have a couple of questions: Since on both Bitbucket and GitHub they use Git to manage their repository, can I use th…
preserve inline variable with sudo
Hi i’m trying to make something like this to work in bash but i keep getting an empty line, the only thing that works so far is: what i would like to achieve is the ability to inline a variable for the sudo command i also tried this as suggested here but with no luck, am i missing something? Answer