Creating bindings splitting window in 4 parts

Linux
I'm pretty new to tmux and would like to know if it's possible to split a terminal window in 4 parts by a single command like Ctrl+b, \. I can do it w...
3 years ago

linux kallsyms R symbol not showing

Linux
I wan't to find the kernel address of system call table. I usually do this by grepping sys_call but in one system, I can see the address but in other,...
3 years ago

subprocess.Popen: 'OSError: [Errno 13] Permission denied' only on Linux

Linux
Code and logs have changed a lot (due to a major rewrite) since the question was asked. When my code (given below) executes on Windows (both my l...
3 years ago

Portable way to determine sector size in Linux

Linux
I want to write a small program in C which can determine the sector size of a hard disk. I wanted to read the file located in /sys/block/sd[X]/queue/h...
3 years ago

How can I SSH remotely into my linux VirtualBox?

Linux
I am trying to remotely access a virtual box remotely. Because this is a virtualbox hosted on a windows machine, it does not have it's own IP address ...
3 years ago

Using grep to find words that have a certain prefix and suffix

Linux
I'm trying to figure out how to find certain words in a file that start with the letters air and end with the letters ne. I'd like to print the words...
3 years ago

How does awk's ^ (caret) exclusion work?

Linux
I got shown the below (running on fedora 24): Input example: /sys/devices/system/memory/memory101/state:offline /sys/devices/system/memory/memory104...
3 years ago

Python - using env variables of remote host with / SSH

Linux
Any help on this issue would be greatly appreciated. Basically I'm writing a python script that will ssh onto various servers and to execute scripts....
3 years ago

root.query_pointer()._data causes high CPU usage

Linux
I'm a total noob in Python, programming and Linux. I wrote a simple python script to track usage time of various apps. I've noticed that after some ti...
3 years ago

calling write() over ssh

Linux
I wrote the following code on a host called node00 and save as main.c. #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h&...
3 years ago

Linux kernel module - opening created char device results in a bug

Linux
I've just started reading Ldd3 and tried to implement a simple module, more or less following the examples in the book. Module adds char device with c...
3 years ago

Fix Mismatch Between Data And Local In Awk Command

Linux
I am receiving the following error: awk: cmd. line:1: (FILENAME=- FNR=798) warning: Invalid multibyte data detected. There may be a mismatch between ...
3 years ago

Golang os/exec, realtime memory usage

Linux
I'm using Linux, go, and os/exec to run some commands. I want to know a process' realtime memory usage. That means that I can ask for memory usage any...
3 years ago

Converting AVI Frames to JPGs on Linux

Linux
What program on Linux would allow you to convert all the frames in an AVI into a series of JPEG files?
3 years ago

ffmpeg in not working in php exec()

Linux
FFMPEG is not working in exec but its working when using ssh on that us but other commands work with exec ! Here is the code : exec("ffmpeg -i /home...
3 years ago

Pipe to/from the clipboard

Linux
Is it possible to pipe to/from the clipboard in Bash? Whether it is piping to/from a device handle or using an auxiliary application, I can't find an...
3 years ago

Is there a way to inquire the amount of data available at a serial port?

Linux
I just started looking into serial data acquisition and was wondering if there is a way to check, if data is available at a given port and if so how m...
3 years ago

Installing pip: python-pip? or from python-setuptools

Linux
I first use python in windows and now moved to Ubuntu. What's the difference between these two ways of installing pip? I tried to install python-pip ...
3 years ago

Parse string using shell

Linux
I want to get NetworkActivity_5851_*_09-04-2016.done string from NetworkActivity_5851_2326316_09-04-2016.log.gz and here the code I wrote local file=...
3 years ago

Find all files recursively newer than given time

Linux
Given a time_t: ⚡ date -ur 1312603983 Sat 6 Aug 2011 04:13:03 UTC I'm looking for a bash one-liner that lists all files newer. The comparison shou...
3 years ago