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
1answer
11 views

Linux command to find SD card serial number

What is the Linux command to find SD card serial number ?
0
votes
1answer
12 views

How to “export” configuration variables and “source” them on embedded Linux?

A router runs firmware containing BusyBox and in addition to flash memory the device has secondary memory storage. That USB stick is mounted at both /media/Main and /opt: # mount | grep sda /dev/sda1 ...
1
vote
1answer
16 views

Getting Ubuntu to Recognize USB Wifi

So, I'm really new to Linux systems and have just downloaded Ubuntu on my other desktop. The problem I'm having is getting it to recognize the USB wifi, TP-Link AC600 Archer T2UH. I went to the ...
4
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 to set permissions, and to allow programs to gain privileges (using setuid, setgid). I have recently discovered some newer commands, on GNU/Linux: ...
1
vote
1answer
48 views

Needed shell script modification to show IP and host DD-WRT

I am running DD-WRT v.3.0 on my Linksys EA6500 router and I have the following script running in order to give me access to the WiFi MAC address that are currently connected to the router: echo ...
1
vote
1answer
740 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
1
vote
2answers
10 views

Host key verification failed (exit code 255) while using pdcp

I am trying to install a particular software across all our machines one by one so I decided to use pdsh. By default, it will operate on several machines at once in parallel, but I will be using the ...
19
votes
10answers
6k views

What is the smallest possible Linux implementation?

What are the bare minimum components for a Linux OS to be functional, and that I can use as a base to expand and improve as I learn Linux and my understanding and needs grow?
-1
votes
1answer
12 views

Why %H%M%S is not working in .screenrc?

According to this answer, I can rename logfile of screen with date to avoid logfile appending problem But %c used in that answer contains a colon, like 19:00. Since I have to sync files with windows, ...
-3
votes
1answer
20 views

How to run my own Hello World C application on top of stand-alone Linux kernel in x86_64 machine.. [on hold]

I have compiled Linux kernel 4.5.2 & got below files. "vmlinuz-4.5.2" "System.map-4.5.2" "initrd.img-4.5.2" My requirement is very clear, I need to run my own Hello World C application on top of ...
3
votes
2answers
227 views

sysfs and devtmpfs

Ulrich Dangel explains very well the difference between devtmpfs and udev. What about sysfs? I understand that the kernel uses sysfs to export device nodes to user space to be used by udev. So ...
1
vote
3answers
19 views

Do I really need -dmS option in screen to run background job stably even log out?

I saw many place introduce screen to run background job stably even log out. They use sreen -dmS name According to screen -h, this option means -dmS name Start as daemon: Screen session in ...
1
vote
1answer
26 views

Is there a way to monitor disk i/o patterns? (i.e. random or sequential i/o?)

While an application is running, I can monitor disk bandwidth usage using linux tools including dstat. Now I'd like to know whether how many sequential or random disk I/Os are occurring in the ...
0
votes
0answers
34 views

Run sh script at system startup - Red Hat 7.2

I searched the Internet but there are too much different opinions about this issue. I have two scripts to run. One to run at system startup (not at system reboot as I read in some posts) and another ...
2
votes
0answers
23 views

Can not start wifi with systemd

With command netctl start wlp3s0-tian got error. Apr 29 18:28:13 ArchPad systemd[1]: Starting Networking for netctl profile wlp3s0-TP-1602... Apr 29 18:28:14 ArchPad network[320]: Starting network ...
0
votes
0answers
819 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
-3
votes
0answers
18 views

Writing a pseudo code to create a user [on hold]

I have created a shell script which can create users and I was wondering if someone can write a pseudo code to create a user for me I have read some websites but still don't really seem to understand ...
29
votes
5answers
23k views

How can I limit the bandwidth used by a process?

I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
2
votes
1answer
31 views

File execution is denied

I just can't execute any file. For example: And I use zsh now,bash has the same problem.
0
votes
0answers
15 views

Problem in writing to a File after Power on/off? [on hold]

I am writing the content of my script to a .log file using > operator. I am doing it on a Raspberry Pi. After a Power on/off if I try to execute the script it doesn't write to the file. I then ...
0
votes
0answers
12 views

Delay in writing hexdump data to a file

I have a script which does hexdump along with pipeline commands and finally I am redirecting it to a file. Now I am logging data from the serial port of my Raspberry Pi. The data is received with a ...
0
votes
0answers
11 views

Qemu/KVM, windows guest password prompt

Ubuntu 16.04 Qemu/KVM Windows 8.1 guest SSH from remote host into hypervisor, run virt-manager. Get prompted for creds: user1@hypervisor, authenticate successfully. Open guest, get prompted for ...
57
votes
3answers
31k views

Why is swappiness set to 60 by default?

I just read some stuff about swappiness on Linux. I don't understand why the default is set to 60. According to me this parameter should be set to 10 in order to reduce swap. Swap is on my hard ...
3
votes
1answer
117 views

Making a touchpad without buttons like a normal touchpad with buttons

Assume a synaptics compatible mousepad that has no physical buttons, but where the whole surface is physically clickable (not a tap, but physically clickable). A particular touchpad with these ...
9
votes
4answers
17k views

how to redirect output to multiple log files

How to redirect standard output to multiple log files Following seems to be not working. Any help is appreciated. some_command 1> output_log_1 output_log_2 2>&1
1
vote
1answer
34 views

Installing Linux on spare SSD

I installed linux distribution (a debian-based one,called pardus) on HP EliteBook Folio 1040 G2 Notebook PC (http://store.hp.com/us/en/pdp/Laptops/hp-elitebook-folio-1040-g2-f6r38av-1) and it has a ...
0
votes
0answers
19 views

Linux is crashing without throwing core dump or error message

I am working on a development board to make custom linux working(built through Yocto) on it. Right now, I am facing very weird issue. System boots and after some time it hangs and restarts without any ...
0
votes
1answer
21 views

Script to get GET METHOD of HTTP REQUEST time in cycle

I want to run a script/command which with some interval (5 seconds) will make http request to certain site and shows the time of this request. At the same time I would like to set timeout for such ...
-1
votes
0answers
19 views

GREP to sort a particular error log from server log [on hold]

I want to sort particular error log from server logs. I want to see when did it last happen , and how many times a day it happened. Thank you.
0
votes
0answers
22 views

How can I add linux grub entry in windows bootloader? [on hold]

While i am booting at startup my open suse grub will appear i want this linux entry into my windows bootloader. Like at the time of booting it would be windows boot manager showing two choices 1. ...
0
votes
1answer
1k views

Issue with Hugepage reservation in linux

I have reserved hugepages for my process using below commands: #echo 64 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages #mkdir -p /mnt/huge && mount -t hugetlbfs nodev /mnt/huge ...
0
votes
0answers
9 views

second shm_open() fails with ENOENT [migrated]

mode_t mode = S_IRWXU | S_IRWXG | S_IRWXO; shm_fd = shm_open("/ipc_shm", O_CREAT | O_RDWR, mode); This works, returns 4 for shm_fd. The same process then calls a library function that also calls fd ...
2
votes
1answer
116 views

Enable numlock only for external keyboard

I'm not sure this is possible, but I thought why not to ask. I have a laptop without a numeric block, and use it sometimes with external keyboard. Numlock for the internal keyboard = useless, so I ...
1
vote
0answers
21 views

Numlock on by default on Linux Kali

I am fairly new to this version of Linux. I have it set so that when it boots, it automatically boots into the GUI for the operating system. This means when I load up the OS I am greeted with a login ...
1
vote
1answer
109 views

Resync NumLock light with NumLock status

I plugged a second keyboard into my computer to test something, and now my NumLock light is out of sync with the lock status (the light is off when NumLock is on, and vice-versa). How can I get the ...
0
votes
3answers
29 views

Is group priority available?

[tjm@ArchPad bin]$ LANG=en [tjm@ArchPad bin]$ pwd /usr/bin [tjm@ArchPad bin]$ ll | grep wireshark -rwxr-x--- 1 root wireshark 88K Apr 25 00:22 dumpcap -rwxr-xr-x 1 root wireshark 2.0M Apr 25 00:23 ...
0
votes
1answer
30 views

command /opt/bin/date --date '-15 minutes 2016-04-27T14:14:47' producing result many hours before stated time

I'm using the following command in an attempt to work out the time 15 minutes before the timestamp: /opt/bin/date --date "-15 minutes 2016-04-28T16:58:55" '+%Y-%m-%dT%H:%I:%S' The problem is the ...
1
vote
0answers
158 views

Installing Linux distro on PogoplugPro

I have a PogoplugPro and I want to install a Linux distro on it. However, none of the tutorials I have found cover the model I have: Model: POGOPLUG PRO BusyBox v1.16.1 (2010-11-30 12:06:37 PST) ...
2
votes
4answers
47 views

Install Linux Distro on USB Stick

I'd like to install a full linux distro on my usb stick. I already tried Lili USB Creator, but it did not boot correctly(I had the option "Install" and "Try", but after that I had a black screen). It ...
0
votes
2answers
23 views

Install Linux distro with gcc4

How can I find a linux-distro with gcc4-installed? I've searched internet but without success for instance this wikipedia page
5
votes
2answers
1k views

Linux Distro specifically for benchmarking?

At my current position, we use some outdated proprietary software in order to benchmark new computers that the company is testing and evaluating for purchase. We would like to move on to something ...
1
vote
0answers
16 views

what is difference between .deb pakage file and ddeb pakage file in linux

I need to install SystemTap in Ubuntu 14 and i would need to install debug symbols for kernel i encountered ddeb file how i could uninstall this file after installation ? i got ERROR: Build-id ...
1
vote
0answers
12 views

unshare -m seemingly not creating mount namespace

I ran unshare -mfp sh -c 'mount -tproc none /proc ; ls /proc' That printed a /proc with only directories for PID 1 and PID 3, and exited, leaving me back in my old prompt in the root namespace, as ...
0
votes
1answer
823 views

Samba share open for all to all

thanks for viewing at this question. I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. ...
0
votes
1answer
43 views

Designing a new Operation System

I want to design a new OS to learn more about how an OS works. This OS is only for educational purpose and I had a few doubts choosing its kernel. Is there any legal issue for using an Ubuntu ...
1
vote
1answer
38 views

Aligning Hexdump Data in a Specific format?

I am reading serial data from my Raspberry Pi and all I am doing is a Hexdump I have to find the header and then go to the 2nd byte of data from header for ex: ed 13 74, I have to take the value 4 , ...
0
votes
0answers
12 views

KDE Plasma 5 panels multi monitor

Every time I plug in or out the external monitor its panel changes to the secondary one. Also, new windows always opens on the laptop monitor which is the secondary. Is there a way to solve this?
10
votes
2answers
3k views

Check ping statistics without stopping

Is there a way to tell ping to show its usual termination statistics without stopping the execution? For instance, I'd like to quickly view: --- 8.8.8.8 ping statistics --- 2410 packets transmitted, ...
0
votes
1answer
20 views

Can I see the summed up results of the ping command while it is running? [duplicate]

When I run the ping command it outputs information for each ping and in the end, when I kill the process it outputs some overall statistics --- 192.168.0.1 ping statistics --- 10 packets transmitted, ...
4
votes
1answer
33 views

How does Linux decide the /proc/PID/stat “name” of a process?

Currently my machine has 5 processes running scripts through python, but Linux thinks only 2 of them have the name python (according to /proc/$pid/stat). That is, pgrep -af python shows: 1784 ...