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
5answers
45 views

df -k + how to match the root volume line

please advise how to match the "/" volume from df -k command? I tried the following: [root@machine /]# df -k | grep "/" /dev/vx/dsk/bootdg/rootvol 130926685 71378710 58238709 56% / /devices ...
1
vote
2answers
76 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
0
votes
1answer
50 views

how to find out the name of the server on which the files are hosted on? [closed]

I've tried numerous thing such as uname -a, env, findsmb, amongst other things but that will only give the hostname which is not the server where the files are hosted... I get that there is nfs ...
0
votes
0answers
13 views

fsix Gold Server with Goldkey smartcard. Need to decrypt volume

I have a client that stopped paying support to WideBand and I have no clue how to get their files off that server and onto something newer. I can logon over the network but when trying to bulk copy ...
0
votes
1answer
61 views

What's the pros and cons of disabling the swap partition if the RAM is large enough? [duplicate]

My computer has 16GB RAM and 1TB SSD. So I think the swap partition is not needful. What's the pros and cons of disabling the swap partition if the RAM is large enough? Is it recommended to disable ...
1
vote
0answers
22 views

Failing to load a module on udev event

I have a pretty simple udev rule which is executed when a USB is plugged into my Debian machine: SUBSYSTEMS=="usb", KERNEL=="sd?", ACTION=="add", RUN+="/usr/local/bin/USB/t.sh \ %k" My t.sh is also ...
1
vote
0answers
40 views

Iptables and --tcp-flags

If I have the following rule in the nat-table in the prerouting chain: 0 0 REDIRECT tcp -- eth5 any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN redir ports ...
-7
votes
1answer
108 views

Display a sorted list of all files in the home directory that contain the word “ignou” inside them in UNIX [closed]

Display a sorted list of all files in the home directory that contain the word ignou inside them in UNIX. Hint: Use find and grep and sort.
0
votes
1answer
38 views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
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
77 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
24 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
27 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
34 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
16 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
54 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
76 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
75 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
77 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
21 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
35 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
74 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
17 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
148 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
28 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
359 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
41 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 ...