Category "linux"

PyCharm project files have disappeared

I was working on a python project in JetBrains PyCharm 2016.2 on Lubuntu and all of a sudden, all my project files have disappeared from the IDE. I have tried

Running shell script in parallel

I have a shell script which shuffles a large text file (6 million rows and 6 columns) sorts the file based the first column outputs 1000 files So the pseu

How to disassemble a binary executable in Linux to get the assembly code?

I was told to use a disassembler. Does gcc have anything built in? What is the easiest way to do this?

Qt 5.1.1 compiler setup on Ubuntu

First of all, I should point out that I've never used linux before. I have a clean install of 64bit ubuntu, I downloaded Qt 5.1.1 for linux 64 bit from http://

How do I get out of 'screen' without typing 'exit'?

I screen -r'd into a Django server that's running and I can't simply Ctrl + C and exit out of it. Are there any alternative ways to get out of screen? Currently

How can I show the wget progress bar only? [closed]

For example: wget http://somesite.com/TheFile.jpeg downloading: TheFile.tar.gz ... --09:30:42-- http://somesite.com/TheFile.jpeg

How does `gdb` compute the bounds of a stack frame?

I am debugging a new thread library, in which I set the stack register rsp manually (to switch to a user-managed stack), and then invoke a function which never

How do I ignore line breaks in input using NASM Assembly?

Learning NASM Assembly, I am trying to make a program that reads two one-digit number inputs. I have two variables declared in the .bss: num1 resb 1 num2 resb

How do I ignore line breaks in input using NASM Assembly?

Learning NASM Assembly, I am trying to make a program that reads two one-digit number inputs. I have two variables declared in the .bss: num1 resb 1 num2 resb

How I can directly login to rails console through ssh?

Time to time I repeat the following commands: ssh username@servername cd /projects/rails_project bundle exec rails c production I want to create a shell scri

apache2 and mod wsgi : Target WSGI script cannot be loaded as Python module

I am trying to install mod_wsgi on apache2, on ubuntu. So I install libapache2-mod-wsgi package, I activate him with a2enmod. I got a web site (languageAnalyz)

X11: Detect general Mouse and Keyboard events

Is there a way to detect if the mouse has been moved ANYWHERE on the X Server or a keyboard event occured? I need to react on the user doing anything with the X

How to convert YYYYMMDDHHMMSS to a date readable by `date`

I have a set of date/time strings in the YYYYMMDDHHMMSS format that I want to convert to something readable by the date utility. Usually, I can do something li

convert .pem to .ppk on macos

There are lots of SO posts on this topic but most of them are for Windows and use the GUI. All others posts seem to use the CLI. Is there a GUI version of put

How to define a cron expression that execute a script in the first monday of each month?

I have a script such as that: * * * * * path/to/my/script.sh I need to define the cron expression " * * * * * " to run once a month in the first Monday of ea

Colors with unix command "watch"? [closed]

Some commands that I use display colors, but when I use them with watch the colors disappears: watch -n 1 node file.js Is it possible to ha

Backspace in zsh fails to work in quite the strange way

I'm on a fresh Virtualbox install of CentOS 6.4. After installing zsh 5.0.2 from source using ./configure --prefix=/usr && make && make install

why struct cdev has kobject member?

It's strange that struct cdev has struct kobject member, do any body knows the reason?

PhpStorm asks each time for a username and password for GitHub

I work with the operating system Linux-Mint and PhpStorm. Every time I make a push, fetch, pull etc. with PhpStorm, PhpStorm asks me for a username and password

why password less ssh not working?

I connected 3 data nodes(in all these data nodes pass-wordless is working fine) in my cluster which are working fine but when i try to connect another data node