Category "linux"

Only homepage url is working in django app. Other urls are not working

My Django app is working on shared Linux hosting but only homepage is working. When I try to access other pages 404 error occurs. I believe urls.py is causing p

Why does ld need /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 while its default dynamic linker is /lib64/ld-linux-x86-64.so.2?

In x86-64 target Debian, most of the programs are link against shared objects with the /lib64/ld-linux-x86-64.so.2. And there is also one in /lib/x86_64-linux-g

VI editor - saving filename in :wq

After typing whatever that I need in VI, i wanted to save it to a file with :wq filename. But if I have type in the wrong filename , there is no way for me to

How to edit ELF files in Linux?

I have written two similar C programs. How can I make the outputs of both code same by editing one of the ELF files not the actual code? /** * prg1.c */ #includ

command blkid don't show my partitions UUID

I'm using Ubuntu. command blkid or blk /dev/sda2 in LPIC-1 module 104.3 (mounting and unmounting). but these commands don't show me the expected results. blkid

Running docker shiny app on my own domain

I have a VPS Linux (Ubuntu) server with specific IP and I would like to run my shiny app on my own domain http://my_domain.com. Therefore, I have built a docker

Default field separator for awk

Is the default separator only space for awk?

Libtool: link: unable to infer tagged configuration

I am trying to cross-compile linphone for ARM. I configure it using ./configure --host=arm-linux-gnueabi --with-gnu-ld --disable-static --disable-glib --with-o

From where alsa getting their default states?

I am trying to get knowledge on alsa. When I saw it, it is automatically storing the previous states of the mixer controls and restoring them in the reboots. So

Linux CentOS 7, how to set Python2.7 as default Python version?

I'm using a laptop running Linux CentOS 7. I installed Python2.7, and then I installed Anaconda, which installed Python3.5.2 I want my system to use Python2.7

Chromium Auto Refresh command line

Using a digital signage setup on my raspberry pi with raspian OS. Currently have the webpage displayed and full screen however, after 20 minutes it stops reload

adding patch and another git source does not work in yocto

I have tried to add another git sources from another project and a patch like follwoing in bbappend file (fyi in the bb file I have the first git repo where I g

How to create an alias in a shell to go to parent directories

I'm wondering how to create an alias with endless arguments for going parent directories without alias name! Currently I have written this function to achieve

How to create an alias in a shell to go to parent directories

I'm wondering how to create an alias with endless arguments for going parent directories without alias name! Currently I have written this function to achieve

use make configure/install to create a fat binary [duplicate]

On a Linux machine I can do: ./configure make install to build from source. However, when I copy that build to another machine, obviously

How to fix wmctrl Cannot open display when Python open subprocess

This is my program, and it works very well. import subprocess result = subprocess.check_output("wmctrl -l",shell=True,stderr=subprocess.STDOUT) result = resul

using mogrify on lot of images gives error

I am using mogrify to resize the images in a directory using the following command mogrify -resize 100x100 *.jpg due to the huge number of images, I get

MissingPluginException for Linux desktop app

Just added desktop support to my flutter app, it runs fine in the android emulator, but wont render any element in neither browser nor desktop, just a simple bl

What's the meaning of "cpu_intr" and "cpu_sintr" in ganglia

Where can I see these metrics of explanation? cpu_ctxt, cpu_intr, cpu_sintr, cpu_aidle, cpu_steal

What is the difference between kill and kill -9?

Can anyone explain the difference between kill and kill -9. Thanks in advance.