These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
12 views

Questions on /dev/mem, dumping using dd, and .bin and .rom formats

Following @ack 's answer on How to dump BIOS data to a file I would like to know: 1) when one is dumping memory from /dev/mem, is the file data in binary or some other format? I have done a dump ...
-1
votes
1answer
32 views

how can I see if my cron is running and doing the job?

how can I see if my backups is saved after the minute assigned? how can I test it if it's ok?
2
votes
3answers
45 views

How to check and run a script if it's not running?

I created a pretty simple script called main_start_script that will run 2 python programs in background, code is: python /opt/cuckoo/cuckoo-2/cuckoo.py 1>cuckoo_script/cuckoo_start.txt 2>&1 ...
2
votes
1answer
25 views

Kernel parameters “console” and “earlycon” refer to old hardware?

I first found this by investigating parameters for earlycon but found that the options for console look almost identical. Both are present below and were taken from this source: From documentation ...
1
vote
0answers
18 views

Booting kernel (FIT image) with no rootfs

An embedded Linux device I am working with has the following kernel parameter: root=/dev/ram0 Additionally, the kernel image is bundled together with an initrd and device tree to make a flattened ...
-1
votes
0answers
14 views

How to run a chef cookbook on 100 servers [on hold]

i am new to chef i have successfully configured chef workstation and server. here i am using hosted chef, I was bit confused how to launch 100 or more instances by knife EC2 command and how to run a ...
2
votes
0answers
21 views

How to Reflash Toshiba Satellite L855-10P BIOS in a Linux Distro?

Hi I need to Reflash the BIOS of my Toshiba Satellite L855-10P using a Linux distro. How can one do this? I have found lots of info on how to read the BIOS (windows & Linux), dump memory from it ...
0
votes
1answer
20 views

how to download poky onto a micro SD card [on hold]

How do I download Linux Poky onto a micro SD card? The goal is to be able to insert the SD card into a gumstix camera so that we can input commands directly to the camera.
1
vote
2answers
151 views

move IP address from one interface to another without interruption

When I need to move IP address from one interface to another, I have usually done simply for example ip addr flush dev eth0; ip addr add 10.10.10.181/26 dev eth0.35 over an SSH session. So far I have ...
2
votes
1answer
23 views

Large TCP backlog in docker container, but no visible connections

In a setup with three docker instances, one running haproxy and two others running a flask-based python application through uWsgi, we run into a situation after about a day where no new connections is ...
0
votes
0answers
37 views

Curl gets 200 OK, while browser shows 503

I have a bash script: code=$(curl -I -s -S --resolve $host:$port:$ip $link | grep 'HTTP/1.' | awk '{ print $2 }') if [ $code -eq 502 -o $code -eq 503 -o $code -eq 504 ]; then /usr/sbin/service ...
-5
votes
0answers
35 views

Using the top, kill and ps commands for system management [on hold]

I recognise that this question has been asked in multiple ways recently but I am required to complete research for an exam and I need an in-depth analysis. Hopefully this is specific enough as I don't ...
0
votes
0answers
21 views

Replacing Ubuntu 14.04 with Arch Linux on a dual boot Windows 10 configuration

I want to migrate to Arch Linux. I have read all about the installation process on Arch Wiki and got a fair idea about the process. But I have a doubt on how will the GRUB installed by Ubuntu behave ...
0
votes
0answers
14 views

How to automatically switch between DHCP Server and Client mode on startup of several devices?

I do wan't to have several embedded devices to boot up at the same time and automatically select the first booted device as the dhcp server and the others as client. But every client can be the server ...
0
votes
0answers
20 views

How to unbind a device from kernel space?

How to unbind a device from its driver from kernel space? I'm looking for the equivalent of echo 0000:00:dev > /sys/bus.../unbind but from kernel space itself.
0
votes
1answer
59 views

Trying to get my system running without an initrd

I've been trying to configure a kernel that will not require an initrd to boot. I haven't succeeded. The filesystem I'm attempting to boot from is ext4, and I have all the extended filesystems ...
0
votes
1answer
18 views

apt-get broke after trying to install wine

I'm a new Linux user. I use Kali Linux and tried to install wine via: sudo apt-get install wine winetricks This, however, didn't work as there were some errors. After that, I cannot install, update ...
3
votes
1answer
37 views

Linux router - Throughput speed of clients

I have a computer that is configured as a router with two NIC's, one is connected to Internet, the other is connected to the local network switch. I know that I can get the current throughput of NIC'...
0
votes
0answers
36 views

How to convert from virtual address to physical address and back? [migrated]

I'm given a task to write an application that will talk to a device. However this is not a driver since device is still being developed and the application is intended to exercises its first revision. ...
1
vote
1answer
19 views

Installing Proprietary NVidia 304 drivers on Debian Testing/Stretch

I am trying to install the legacy nvidia 304 drivers on my old Latitude D820, which has a GeForce Go 7300, but the installer fails saying : Failed to build the NVIDIA kernel module . Here is the ...
2
votes
0answers
24 views

How to identify what capabilities are required for a command?

When I run a command within a docker container, I see: # ip netns exec 9ee961d90990 ifconfig setting the network namespace "9ee961d90990" failed: Operation not permitted I can launch my container ...
1
vote
0answers
21 views

expanding /var/lib [on hold]

There are many requests to increase /var and /var/lib by the app teams. I would like to know what are good practices to increase filesystems. I know these fs are under rootvg, it is not a good idea to ...
0
votes
1answer
32 views

xfce gtk themes problem [duplicate]

I'm using "delorean-dark-theme.3.8" (wich support gtk2 and 3) on xfce, all xfce gtk2 and some gtk3 apps looks great but some gtk3 apps especially gnome apps looks terrible button backgrounds and ...
1
vote
1answer
27 views

Use same IP for 2 Ethernet Adapters in different Physical networks

We have a Linux Panel with 2 Network Interfaces. On this Panel runs a software wich needs to comunicate to our devices in our network, and needs to be accessible from the customers network. One ...
1
vote
1answer
17 views

Does the format or columns of /proc/dev/net change often?

I'm writing a script to scrape some data from this. I'm wondering if this file changes often or is different between distros.
2
votes
2answers
59 views

using systemd timers instead of cron

I am on Arch Linux where I am trying to create a systemd timer as a cron alternative for hibernating my laptop on low battery. So I wrote these three files: /etc/systemd/system/battery.service [...
-2
votes
2answers
60 views

To filter out input in lowercase characters [on hold]

I need to filter out input in lowercase characters. I tried giving a file to the command: cat ws2.txt | sed "s/[a-zA-Z0-9]/[A-Z]/g"
0
votes
0answers
11 views

KDE: Does not log dbus name

I'm new with KDE. I have ubuntu 14.04 and installed KDE on it, I'm logged in as user A, create process as user B, that process creates session for user B(using /etc/gdm/Xsession startkde), as I know ...
1
vote
1answer
30 views

how to search file for begin of string and save a variable

i am trying to find a way of searching a file for string, it needs to work by searching then file and if any line in the file begin with what i am searching for, then take that whole line and save it ...
0
votes
0answers
35 views

How to Rename files in subfolders with subfolder name? [duplicate]

The directory structure is as follows: PWD/ A1/ acc.bam A2/ acc.bam A3/ acc.bam A4/ acc.bam All the acc.bam files should be renamed with subfolders names. For eg: "acc.bam" ...
1
vote
3answers
35 views

Create Partition (Standard partition vs LVM physical volume) in CentOS installation

All. Forgive me I not familiar with the Linux. I am trying to install CentOS in the VMWare. As I knew, Linux can only create three kinds of partitions. they are primary, extended, and logical, For ...
0
votes
2answers
43 views

Booted from NFS Linux has no permission for su command

I've booted Linux from NFS with Android system. And now I have to execute command as super use in minicom. But system doesn't allow me to switch to super user mode. Every time when I type: shell@...
1
vote
1answer
20 views

Any consideration for oracle installation which need to be done in OS installation?

Please forgive me if I post the question in the inappropriate place. Because I am not sure if it belongs to the DBA SO. Thanks. I am trying to install CentOS 64bit in the VMware for Oracle 11g 64bit. ...
1
vote
3answers
221 views

Hide ones command history from other users on a Linux server

When I log in via ssh on a Linux(Ubuntu) server, I notice that all the bash commands executed by other users on the server are saved in the command history. Is there a way that could allow me to hide ...
0
votes
1answer
16 views

linux server memory leakage, it grows inactive memory, how to find the process in inactive memory and to kill?

I have a problem with my Linux cent OS server, leakage of memory grows inactive memory, so how to find the process consists with huge memory in inactive memory to kill
3
votes
3answers
126 views

How was kernel written? [on hold]

Running a program in kernel mode forbids using standard C library because the only thing your program linked to is kernel itself. So I'm allowed to use functions defined in kernel. But kernel itself ...
1
vote
2answers
31 views

Lost in the world of VPN

The Q. If i have a server, is it possible to have that server with a VPN connection, while simultaneously having an entirely separate connection to be able to SSH to from client machine. The Why. I ...
0
votes
0answers
18 views

What exactly is the metadata in a journaling filesystem like ext3 or ext4? [duplicate]

I was going through this link on filesystem journaling, but nowhere it is mentioned what exactly is a metadata. In some other links, it vaguely says it is data about files and directories. Could ...
0
votes
0answers
23 views

Badblocks, test read/write non-destructively on a mounted disk [closed]

I started a test read/write non-destructively with badblocks, everything was going well until, by accident, a person mounted the file system and began to access Some video files in it for a few ...
0
votes
1answer
19 views

How to create extended partition in Ubuntu

All, I am tring to create partition in the installation of Ubuntu. As I knew. MBR partitioning scheme allows you to have up to 4 partitions on a drive, one of those partitions can be an "...
2
votes
0answers
34 views

Mount point for specific USB port

I have a USB hub connected to my laptop, always through the same port - my question is how can I make my linux installation always mount whatever is plugged into one of the specific ports on this hub ...
0
votes
1answer
9 views

Can I VNC directly into my “Linux Deploy” from OS X?

I use Linux Deploy to run desktop Linux distributions on my Android devices. The way it works is the I start the system in the LD app, and then I go to VNC Viewer on the same device to get a GUI. ...
-1
votes
3answers
44 views

What does it mean “Everything in the Linux is file” [duplicate]

Forgive me I am a novice of Linux. I just read the post here. It just said. This statement is true because there are special files that are more than just files (named pipes and sockets, for ...
-1
votes
0answers
16 views

How to run a function for a specific received packet? [duplicate]

I am doing an experiment for my master thesis. I want to run a function (e.g. multiply two numbers) when a specific packet is received (e.g. a packet with destination TCP port 6666). For example, I ...
-1
votes
0answers
32 views

sources.list Debian 8 doesn't work!

Recently I've installed Debian 8 Jessie, so I wanted to install some packages but I got the message that I need to insert the System Installation CD in order to proceed with package installation. I'...
0
votes
0answers
40 views

Exchange apache2 for nginx problem

I installed apache2 and now I wont use nginx now. I could reached my html page on local network on 192.168.1.11. The html file is saved in var/www/html/index.html. Now I installed nginx. I try to ...
0
votes
1answer
24 views

Installing Lubuntu on Old Computer

I am trying to revive an old computer of mine. It is a Dell Inspiron 9300 running Windows XP. I am using unetbootin with Grub to install Lubuntu, however when I try to install after restarting the ...
0
votes
2answers
29 views

SCP command keeps asking password

I've been struggling for days with this now and can't find what I'm doing wrong. I've got a website on a VPS server. Every night I make a backup of the database. It gets stored on my VPS server. I ...
-5
votes
1answer
37 views

Squaring all numbers in a file

Please, can someone share with me, or show me the script for Linux command to read from a file until EOF and compute the square of all numbers read. The result of this computation must be stored in an ...
1
vote
0answers
16 views

Dbus: Terminate not working on other user

I'm new with dbus(Using Ubuntu 14.04, Unity). So I'm logged with user A, create process as user B and that process creates session for user B, now I want to use dbus messages to shut down session from ...