Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

0
votes
1answer
64 views

Programming lanuage for Linux and Windows [closed]

I made a small program for work at a tech support job. Consists mostly of hotkeys to autotype out commonly used commands (Instead of typing passowrd 50 times, just press your desired hotkey) and an ...
2
votes
0answers
28 views

How to find IP of the KVM Virtual Machine from Host system?

My KVM VMs are connected using MaCVTAP connection VM network Interfaces. I have to manually go into the VM to find the IP address. The VM interface doesn't ping to the host interface as the source ...
0
votes
0answers
18 views

#define SYSCALL_DEFINEx(x, sname, …) [migrated]

In the 3.14 linux kernel there is the following macro : #define SYSCALL_DEFINEx(x, sname, ...) It's located in include/linux/syscalls.h. I added a syscall in the source, I compiled it and I made ...
0
votes
2answers
25 views

merge mutiple files using common column [duplicate]

Say I have multiple files x1, x2,x3,x4, all with common header date, time, year, age. How can I merge them to one singe file X in shell scripting? File x1: date time year age 101014 1344 2012 52 ...
0
votes
1answer
72 views

Unable to add PPA repository from terminal

I am trying to install ap-hotspot on Ubuntu-14.04 When I enter the command: sudo add-apt-repository ppa:nilarimogard/webupd8 It gives me this message "Cannot add PPA: ...
0
votes
0answers
23 views

Show power consumption (not on battery)

There are several tools for showing the power consumption when running on battery (PowerTOP is one of the better knowns). Is there also a way of showing the power consumption when not on battery (i.e. ...
-4
votes
1answer
39 views

Environment Variable: PATH [closed]

Change the PATH variable in such way the command ls should not work. Restore the PATH variables content. Check whether ls is working or not.
1
vote
0answers
31 views

error: getrlimit(RLIMIT_CORE): Operation not permitted. Proftpd on Embbeded Linux enviorment

I've been trying to use proftpd on Arm7 Embedded linux. After starting the execution, it delivers this message: error: getrlimit(RLIMIT_CORE): Operation not permitted The Proftpf version is ...
0
votes
1answer
32 views

Mysql database didn't connect through sqlyog or any other mysql software?

I can connect to a MySQL server through a browser and also I can show all database list through PuTTY. But when I try to use sqlyog or running the mysqldump command through PuTTY it shows this error: ...
0
votes
0answers
26 views

fails to boot after reboot (update required), mouting failed and no init found

After updating my ubuntu system, it requires me to reboot the pc. So I did it and then the following message shows on the screen: mount: mouting /dev/loop0 on /root failed: Invalid argument mount: ...
1
vote
1answer
33 views

How can I determine what individual ulimit constraint a process has?

I have a service that sets a custom limit for open files (ulimit -n 5000) as part of its init script. My understanding is that this will be effectively for the service and its child processes. Since ...
2
votes
1answer
15 views

FAT Mountoption allow_utime explained

I trying to figure out what the following Mountoption for (v)FAT exactly does (in Linux): allow_utime=### -- This option controls the permission check of mtime/atime. 20 - If ...
0
votes
0answers
10 views

Choosing only several wallpapers in Wallch

I'd like to have my wallpaper changed periodically. Unfortunately, Wallch gives me the option only to auto change all wallpapers. Can I select some wallpapers to be changed without copying them ...
1
vote
1answer
53 views

Is it possible to create a Linux environment without a traditional command shell?

i.e. Using something like IPython, re.pl, or somesuch as a login shell, instead of bash/ksh/etc. Using initscripts, etc. written in Python or some other scripting language, and making no use of ...
1
vote
0answers
24 views

How build wireless-compat-old in-kernel?

I'm running linux 2.6.24 with custom patches from Freescale, on an embedded board. I want to use a usb wlan modem that uses the Realtek rtl8191su chipset. Realtek provides a driver out of tree, ...
1
vote
1answer
47 views

linux pgrep by excluding specific user

I'm using pgrep command on a shell script to monitor some java application. But there is a continues service from java which is giving problem on my code. That process belongs to another user. So, is ...
-1
votes
0answers
36 views

What does `udev` stand for in Linux?

According to wikipedia, "udev is a device manager for the Linux kernel." I just wonder what does udev stand for? Especially, what does the first letter u stand for? userspace or universal?
2
votes
2answers
43 views

What is the regex to validate Linux users?

When adding a new user, how is the string validated? I suppose there is a regular expression. What is that regular expression?
0
votes
1answer
74 views

ZFS support for linux kernel versions 3.16

Attempting to boot Funtoo with a debian-sources-3.16.2-3 kernel, in a system where the root file-system lives in a zpool, drops off to the rescue shell after failing to import the pool properly. Does ...
1
vote
1answer
70 views

Laravel , Composer and Curl installation on Linux Mint

I have a Linux Mint machine I am working on. I want to install Laravel on it. When I searched for this I got this command: curl -sS https://getcomposer.org/installer | php from ...
4
votes
1answer
42 views

Printing to an X terminal faster than printing to tty?

In Linux Mint 17, I was testing the printing speed of the default ttys versus the speed of a mate-terminal running on Xorg. To test the speeds, I generated a random file: dd if=/dev/urandom ...
2
votes
0answers
27 views

Send/Receive bandwidth monitor per application?

I'm looking for a tool that can monitor my system and create some summary how many data was sent or received by each application/process. Is something like this? I found nethogs but he shows only real ...
3
votes
0answers
40 views

Does Linux provide Predictive Self-Healing on x86?

Predictive Self Healing is a feature of the OS to predict, detect a fault with one of its components and automatically repair it. MINIX, Solaris OS and Linux on POWER all have this. But is it ...
1
vote
0answers
39 views

USB fails to be mounted or detected on Debian machine

My lsusb command says this: Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 002 Device 005: ID 0951:1642 Kingston Technology DT101 G2 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 ...
0
votes
1answer
76 views

How to install Binwalk on Debian without installing the graphs libraries?

What is the proper way to install the Binwalk tool on Debian 7.0 without the added graphing capabilities (and it dependencies)? I've read that I can skip the make deps command, but this deps.sh script ...
-1
votes
0answers
19 views

iptables forward too many interface

Can I build a FORWARD rule which gives both an in/out and SRC/DST IP host? I need to create a rule that does the following: PC -> switch (non-mgmt) -> Linux Router (VLAN) -> world: block ICMP $ ...
1
vote
1answer
23 views

Icon stops loading after the application restarts

I have a application which uses "self-restart" mechanism. It kills itself and runs again. When I run it first time (with .desktop file) it loads its icon correctly. The problem is that when it ...
0
votes
0answers
9 views

Change language of GNOME update manager

I was in France some weeks ago and used my laptop there. While being there and using the internet, I noticed that the GNOME update center changed its language from German (my locale) to French. I just ...
1
vote
0answers
20 views

extract Embedded initramfs

I have a kernel in which one initramfs is embedded. I want to extract it. I got the output x86 boot sector when I do file bzImage I have System.map file for this kernel image. Is there any way to ...
0
votes
1answer
34 views

Extracting lines from a file based on two columns in another text file [duplicate]

I currently have two files that look something like this: File 1: 2R 101 1:0:0:14:0:0 0:1:0:34:0:0 0:3:0:62:0:0 0:0:0:11:0:0 .02312 2R 201 0:2:0:24:0:0 0:0:0:44:0:0 0:0:0:15:0:0 0:0:0:22:0:0 .02312 ...
1
vote
3answers
73 views

How to get the pid of a process and invoke kill -9 on it in the shell script? [duplicate]

I have an application server which we start by running this below command and as soon as we run the below commnad, it will start my application server /opt/data/bin/test_start_stop.sh start And to ...
0
votes
0answers
16 views

How can I show battery percentage at u-boot?

I am checking the battery level from my sensor and able to display a static 'low battery' or 'in charging' image.How or what approach should I take to show the level of battery percentage through ...
0
votes
2answers
68 views

Permanent header in bash terminal [closed]

I'm working on a small server I want to put together (nothing big, an Android HDMI dongle, running Debian armhf, no desktop, just remote), and I want a small little feature I've seen at a few places ...
0
votes
1answer
142 views

ERROR: init: ttyS0 (/dev/ttyS0) main process (1612) terminated with status 1

I'm getting the following errors every 10-30 seconds on a virtual Red Hat Enterprise Linux 6.5 2 Server on Amazons EC2. Sep 23 09:57:05 ServerName init: ttyS0 (/dev/ttyS0) main process (1612) ...
1
vote
1answer
26 views

KVM bridge network requirement

I am following the following guide on installing my first KVM HV. http://wiki.centos.org/HowTos/KVM I thing I do not understand is the bit about bridge network setup. It states its optional, but what ...
0
votes
1answer
33 views

Disabling a keyboard key in console

I wrote a script that dialog command is vulnerable to Esc key, now I want to disable Esc key in console. NOTE: X11 has been not installed in server and xev or xmodmap doesn't work.
0
votes
0answers
12 views

tslib tools don't draw anything on the screen

Trying to calibrate touchscreen for Qt apps with tslib on ARM-device. When running ts_calibrate or ts_test, they both work (i.e. return info about touches) and ts_calibrate successfully calibrates ...
0
votes
1answer
35 views

How to map IP by iptables ?

I create a network namespace In this namespace, I open a nginx So for now, I can visit web server by 172.17.0.2 What I want to do is mapping this IP to 127.0.0.1 Lets say if I visit 127.0.0.1, I ...
1
vote
1answer
342 views

Chrome does not open Https websites [closed]

I am a corporate user with proxy server. I am working on the Fedora 20 OS and installed Chrome browser. I set proxy settings under Settings -> Network -> Change Proxy settings -> Network Proxy. ...
0
votes
2answers
66 views

What is the difference between installing software as root versus user?

I just installed CentOS 7 with Gnome desktop. In doing so, I created a root password, and added a user. Now I am logged in as the user. I like to install MariaDB server, PHP, and other software. To ...
0
votes
1answer
40 views

Permission denied while getting the md5sum of a file using shell script?

I am running my below shell script which gets the md5sum of a files in my PRIMARY directory #!/bin/bash export PRIMARY=/data01/primary for entry in "$PRIMARY"/* do local_md5sum=/usr/bin/md5sum ...
1
vote
1answer
28 views

What prevents RHEL7 default PAM config's “nullok” option from allowing empty passwords?

The config /etc/pam.d/password-auth is included by several PAM services including sshd. This is its auth stanza: auth required pam_env.so auth sufficient pam_unix.so nullok ...
0
votes
1answer
50 views

linux namespace, How to connect internet in network namespace?

I want to test linux network namespace. The current problem is I cannot connect internet in the namespace here is my commands: 1 Create network namespace netns1, create a pair of veths (A and B) ...
1
vote
1answer
57 views

How to set static IPv6 IP address to embedded Linux board using ifconfig (busybox)?

We want to set static IPv6 IP to custom embedded Linux board. So far we could enable IPv6 in Linux kernel and Busybox. We could test that kernel is IPv6 ready. We tried to configure a static IP using ...
-2
votes
2answers
60 views

New to Linux. Working out what commands do [closed]

How do I find out what commands such as LS do? I have recently been trying to write my first code and have became stuck with command names any help would be appreciated.
4
votes
1answer
35 views

New to linux, learning shell scripts [closed]

I am trying to teach myself to write Shell Scripts on my Raspberry Pi, but I am struggling to make a menu where a user can choose from these different options: •display a list of current users ...
0
votes
0answers
39 views

How good is ARBTT(Automatic Rule Based Time Tracker)? Is there any alternative for it?

ARBTT is a rule based time tracker. I was able to write small scripts to log what I do in system. But I was not able to understand how effective is it. Is there any good article preferably any blog ...
0
votes
0answers
20 views

Finding Out Serial Port Address in Linux? [migrated]

I've CCT-910 serial port hub and wh EMP 800 coin acceptor. Coin acceptor is connected to hub, and hub to computer. They're both using same serial port (/dev/ttyUSB0 in Ubuntu 14.04), but their ...
0
votes
1answer
29 views

Mount JFFS2 FS in openwrt

I'm trying to mount 1[MB] of flash as JFFS2 FS in openwrt environment, using 128[MB] NAND flash (4 bit ECC). I'm using the following sequence - flash_eraseall -j dev/mtd6 mount -t jffs2 -o noatime ...
0
votes
0answers
13 views

Linux - Install Wireless Card Driver

I trying to install a wireless LAN driver in my aircrack-ng v4 Virtual Machine but failed. I downloaded "iwlwifi-6000g2b-ucode-17.168.5.2.tgz" for my Chipset (Intel Centrono Wireless Card 1030) and ...