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

2
votes
3answers
79 views

How to repair a file system corruption?

Debian on external USB SSD drive. There was some error in dmesg log file: ...[ 3.320718] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem [ 3.320721] EXT4-fs (sdb2): write access ...
1
vote
2answers
45 views

How to get a procesess's actual memory usage (including data in swap)

I'm trying to check how much memory strain a process is actually putting on the system, but ps, top and friends are almost useless for that purpose as they only report 3 statistics: RES - the ...
1
vote
3answers
29 views

Linux SW RAID and physical volumes

In each guide about software RAID in Linux, I could find online I see that people usually create/assemble RAID devices using partitions, like: mdadm --create --verbose /dev/md0 --level=5 ...
0
votes
2answers
36 views

Compilation error when building a custom kernel

I'm trying to build a custom kernel from a git repository on my Ubuntu virtual machine. I run the make command as follows : sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags mkdir ...
0
votes
1answer
53 views

open gnome terminal with serveral tabs and execute a few commands in every tab

This is what I want to accomplish: I want to open a gnome terminal with five tabs in it I want to run a set of commands (5 – 10 commands) in each tab automatically First tab: shall set clear-case ...
0
votes
2answers
64 views

How to check SSD disk for errors from a Live CD?

Debian on SSD. How to check SSD disk for errors from a Live CD? Additionally, to save results to a txt file. Partitions are sdb1 /boot ext2 sdb2 root ext4 sdb3 swap Should I unmount partitions ...
2
votes
1answer
32 views

Why is Linux load average reported as the exponential moving average? [duplicate]

Why is the Linux load average over the past 1, 5 and 15 minutes reported as the exponential moving average, instead of just simple (unweighted mean) moving average? It seems to me that the simple ...
0
votes
3answers
18 views

How to make a grep which excludes a bunch of pipes?

I want to make a diff of hostnames using grep. I have 2 files. One yaml and one .pp. In the yaml I have domain names with ips and in the .pp file I have fqdn and ip in hash style. Like this: In the ...
0
votes
0answers
49 views

network manager not listing wifi

When I use NetworkManager command tool to scan for wireless networks the output is empty. root@radxa:~# nmcli dev wifi list SSID BSSID MODE FREQ RATE SIGNAL SECURITY ACTIVE ...
3
votes
1answer
64 views

Real chroot on a systemd machine

I'm trying to get used to systemd, because it seems to be the way that Debian is going. I want to run Xorg in a chroot on hardware, rather than using networking (which seems to be the canonical way ...
6
votes
1answer
158 views

What's the purpose of the /proc/pid/mountinfo file?

What's the purpose of the /proc/pid/mountinfo file (with pid being numerical process id)? As far as I can see it reflects contents of the /proc/mounts file but with added information. Also the file ...
0
votes
0answers
23 views

Help with a bash script [duplicate]

I'm trying to get a script working that will examine two directories and list all of the duplicate files found in both. Looking for duplicates based on content. And then have the script report the ...
0
votes
0answers
6 views

How to walk the Kernel's VMA? [migrated]

I'm writing a kernel module that finds and parses the VM_EXEC pages of a process. This is doable through walking the virtual memory of the process, similar to what /proc/$PID/maps does. However, I ...
1
vote
0answers
73 views

Surface Pro Wifi Issues on Mint KDE 17

I'm running Mint 17 KDE on the Surface Pro 1. Wifi worked on installation, however, after about an hour of use the internet stops working and will not reconnect to any wifi. I have to shut the ...
-2
votes
1answer
771 views

convert CSV to XLS file on linux [closed]

The following Perl script can convert CSV file to XLS file the problem is that I need to install on customer Linux machine many Perl modules in order to run this Perl script , and actually I cant ...
0
votes
0answers
23 views

GRUB Loading stage 1.5 error 15 [duplicate]

I am sitting at a client machine (previous IT guy left with no handover) with an error that says GRUB Loading stage 1.5 GRUB Loading, please wait Error 15 I can't get pass this. When I restart a ...
-3
votes
2answers
42 views

What does the '>' do? [duplicate]

What does ls > list and ls >> list do? They don't seem to do anything on my system.
0
votes
5answers
49 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
62 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
42 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
65 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
84 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
40 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
33 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
29 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
36 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
82 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
76 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
40 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 ...