Category "linux"

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

Find multiple files and rename them in Linux

I am having files like a_dbg.txt, b_dbg.txt ... in a Suse 10 system. I want to write a bash shell script which should rename these files by removing "_dbg" from

hex code implementation for spawning a shell

I am trying to implement the codes given in smashing the stack for fun and profit by Aleph to learn the basics of buffer overflow attacks. Machine architecture:

hex code implementation for spawning a shell

I am trying to implement the codes given in smashing the stack for fun and profit by Aleph to learn the basics of buffer overflow attacks. Machine architecture: