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

1
vote
1answer
8 views

Recursive comparison and deletion (without rsync or hashing)

I've been using rsync to synchronise folders and it works well. The problem is that more recently I've started syncing folders with larger files in them, and it takes much longer than I'd like it to (...
1
vote
1answer
23 views

User home directory

I am learning CentOS and I created some users and then deleted, but I used userdel without any option. So will it remove the home directory and other things related to those users? If not then is ...
1
vote
1answer
13 views

Visible portions of windows not redrawn in some applications

Some applications are not updating of their windows, except when the window is made visible again after having been on a hidden virtual workspace. Clicking on menus results in the opened menu being ...
0
votes
0answers
19 views

File attributes and permissions

From above example barney isn't owner or member of group for file lfile2 then why he can't delete that file ? I mean that, answer of last question is none. Barney is supposed to be able to delete ...
0
votes
0answers
8 views

Intel 7 audio no HDMI audio for headphone and dell notebook works [on hold]

Clean install of Fedora 24 and wish to get the HDMI working on Monitor, believe the HDMI is turned off on the Intel Chip, there's no highlighted/selected HDMI in pulseaudio. The notebook speakers and ...
1
vote
0answers
5 views

iwconfig wlan0 txpower 20 does nothing

I am on Linux Mint 17.3 Cinnamon. I am trying to boost my Wi-Fi signal well under our country specification. Suppose my maximum TX power allowed by our law is 20. Ok, now my integrated laptop card ...
10
votes
2answers
6k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
0
votes
1answer
23 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?
0
votes
0answers
9 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 ...
2
votes
2answers
30 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 ...
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. ...
4
votes
1answer
433 views

Why does activation of LVM partition with large snapshot take a long time?

After creating a large snapshot (I assume it drifted about 30GB from the original) I noticed that vgchange -ay took noticeable longer (to the point I thought computer hanged). What does the ...
0
votes
1answer
17 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.
2
votes
1answer
15 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 ...
2
votes
2answers
51 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 [...
1
vote
0answers
8 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
12 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 ...
5
votes
1answer
1k views

What are the different ways to set file permissions etc on gnu/linux

On Unix, a long time back, I learned about chmod: the traditional way to set permissions, on Unix (and to allow programs to gain privileges, using setuid, setgid). I have recently discovered some ...
2
votes
0answers
12 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 ...
1
vote
2answers
136 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
0answers
180 views

Which boot loader is used for live CD and why? [on hold]

I have been using Ubuntu on my local machine and occasionally running Debian and other Linux distributions for experience. Until recently I thought GRUB 2 is far common, but that was misleading. ...
0
votes
0answers
30 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 ...
0
votes
1answer
28 views

Redirect keyboard input to unfocused program

I'm looking for some help with a computing issue. I'm running Openbox 3.5.2 on Raspbian/Pi3 and a single monitor. I want to have one program focused and in fullscreen while the keyboard outputs to ...
2
votes
0answers
13 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 ...
1
vote
2answers
1k views

Installing Popcorn Time SE

After extracting Popcorn-Time-linux32.tar.gz, it shows these 4 files: libffmpegsumo.so, nw.pak, package.nw e o Popcorn-time. How to install it on Linux Mint 17 Cinnamon 32-bit (v 2.2.16)?
-5
votes
0answers
22 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
15 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
12 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
12 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.
1
vote
1answer
13 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 ...
0
votes
1answer
38 views

IO benchmark tools block size impact?

Many IO benchmark tools (fio, dd, etc...) provide way to set block size. Lets say that I change 4K to 64k and test read/write on mounted SATA disk. I will get higher data throughput in sequential ...
0
votes
1answer
16 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 ...
2
votes
1answer
17 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
565 views

Is there a version of linux that can be run on the 2015 Kindle Fire

I have been doing some research and I have been reading all kinds of answers but none of them fully answer my question. I wanted to know if the 2015 Kindle Fire can support a version of Linux? If so, ...
0
votes
0answers
33 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 ...
1
vote
2answers
28 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 ...
1
vote
1answer
15 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.
143
votes
21answers
136k views

How can I get my external IP address in a shell script?

I need to find my external IP address from a shell script. At the moment I use this function: myip () { lwp-request -o text checkip.dyndns.org | awk '{ print $NF }' } But it depends on perl-...
1
vote
2answers
9k views

Apache 2 and PHP 5 not working

I have a test.php file in the web server directory with php phpinfo(); content. When I try to execute php test.php at a shell then it executes correctly. But when I try to open the web page in a ...
0
votes
1answer
21 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 ...
2
votes
0answers
20 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
16 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 ...
1
vote
1answer
23 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 ...
3
votes
1answer
4k views

Why does startx give a black screen, with no errors?

I recently wanted to solve a problem with using a second monitor from my laptop that is running debian (jessie) but because I lack knowledge things didn't go as planned. Now I am getting booted into ...
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 "...
6
votes
3answers
7k views

How to permanently enable scl CentOS 6.4?

I installed a newer version of devtoolset (1.1) and was wondering how I would go about permanently setting these to be default. Right now, when I ssh into my server running CentOS, I have to run this ...
3
votes
1answer
51 views
+100

Automatically switch display on lenovo docking and linux

I have a lenovo thinkpad with nvidia optimus and a mini docking station series 3. I want that while docked, it should automatically switch to an external monitor if possible and if I undock it, it ...
5
votes
3answers
27k views

Movie Player requires additional plugins to decode this file

I'm using RHEL 6 .Newbie to Linux. I'm unable to play the video using Movie Player. It shows an error, Movie Player requires additional plugins to decode this file. The following plugins are required ...
10
votes
1answer
983 views

Why are there two different values for the size of a drive and how to reconcile them with device-mapper and LVM?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
1
vote
2answers
790 views

bcmwl-kernel-source driver issues on install

I am installing Mint 17.1 (MATE) on my MacBook Pro Retina (due to it having much better hardware than my PC, on which I successfully installed Mint 17.1 in the past). I followed the instructions on ...