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

1
vote
1answer
13 views

What happens when a tmpfs volume is full and swap is full? Is Linux's OOM-killer involved?

I understand that if a persistent / disk-based volume is full, files need to be explicitly deleted to free up space before more can be added. Further, I understand that if memory is exhausted, the ...
0
votes
2answers
18 views

Using another's device resources for software execution

I have an old weak laptop (core duo at 1.7Ghz) and a quad core phone(arm cortex a7). Both are running linux. Could I use phone's resources from laptop to execute(process) stuff for laptop? Is there ...
0
votes
1answer
18 views

Hyphen/Dash “-” Symbol's use in Linux bash /dir + GRUB booting for newbs

I am attempting to complete this GitHub tutorial on creating a custom GRUB loader for a stubborn Asus Win8.1 laptop on which I am hoping to install Ubuntu: ...
1
vote
1answer
10 views

How do I turn a local yum repository into a local satellite for many other repositories

I am not sure I am asking this question in the best way. I am doing my best to ask it in the clearest way possible. I would like to build a local (to my cluster) yum repository server such that I ...
0
votes
1answer
13 views

to allow certain ips and block all other connections on AMAZON EC2 ubuntu 12.04

How do I allow certain IPs and block all other connection in iptables on AMAZON EC2?
1
vote
2answers
18 views

I can not install MySQL using yum on Centos7

I've installed centos7 recently, but, when I am trying to install MySQL using the command: yum install mysql-community-server I keep getting Exiting on user cancel while I am not hitting any ...
3
votes
1answer
22 views

Auto disconnect from WLAN if unused

For Nokia N900 there is an app called AutoDisconnect which monitors the WLAN usage and closes the connection if the traffic is very low. I'd like to have something like this on my future notebook in ...
3
votes
2answers
100 views

What's the difference between poweroff and halt? [duplicate]

To turn off my system, I can use one of these three commands: sudo halt Or: sudo poweroff Or: sudo shutdown -h now What are the differences between these commands, or are they all just ...
1
vote
0answers
10 views

How to get miniature(live thumnail preview) of open windows on linux?

Gnome-shell does it in the 'activities' screen, unity/compiz has it in 'Spread','Shift','ALT-Tab'. How do I get those live window previews in C++?
1
vote
1answer
16 views

Depends: libqtgui4 (>= 4.6.2) but it is not installed

I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be ...
1
vote
1answer
14 views

Random crashes on XFCE - how to diagnose what's happening?

I'm on Parabola (a fork of Arch), and I'm running the XFCE desktop environment. However, I periodically get these weird crashes, where my entire desktop freezes. I have no ability to move my cursor ...
2
votes
0answers
10 views

How to use blktrace to monitor the eMMC Flash access pattern?

I'm trying to simulate a FTL(Flash Translation Layer) algorithm and evaluate its performance. What I need is a trace file of a flash access(containing information about block and page access). I'm ...
0
votes
0answers
17 views

read failure error while connecting to the server [on hold]

There was a problem last night when I tried to connect to a remote server from my personal computer having Linux. First, I received the following error: ssh_exchange_identification: read: Connection ...
0
votes
2answers
25 views

Log file processing [on hold]

I have a log file like this; I can get NOW=HOUR=date +'%H' I can get login time in hour with something like cat file | awk '{print $2}' | cut -d: -f1 Is there a way I can compare the login times ...
0
votes
1answer
25 views

cant run dd command on android device

The main objective is to send a splited file to an android and join it back up with a .sh script, the file is splited to 5MB parts but its total size is unknown (trying to make an universal script), ...
2
votes
1answer
27 views

upgrade chroot version on centOS 5?

How do I upgrade chroot release on my centos 5 server? I want to install a service that uses a new capability available in later versions (--userspec) of chroot and I can't find any documentation of ...
0
votes
0answers
12 views

What can cause GRUB2 to suddenly not be recognized by EFI?

I have two hard drives in my PC. The first one contains an ext4 partition with Debian, a swap partition and the EFI partition for Debian. The second hard drive contains Win8 and it's EFI partition. ...
-1
votes
0answers
11 views

Linux light SIP server

I'm looking light sip server. He wants it to run next to Android in a chroot environment. Best if it were a configurable via the terminal or www. I've used so far miniSipServer, but the client is only ...
0
votes
1answer
15 views

How to search for a defined parameter/IP [on hold]

Kindly i want to know whether a certain IP is defined or binded to any service or no, How can I do that?
3
votes
0answers
30 views

Book for understanding latest Linux kernel [on hold]

I want to understand the Linux kernel. For this I have the book "UnderStanding the Linux Kernel, 3e". Inside the book I have found that the book has written based on Linux kernel 2.6. But as my ...
3
votes
0answers
8 views

Radiusd(freeradius): User only for a special client

Is it possible to restrict a user from the "users" file to a special client? I try to use one radiusd server for two wifi access points but I will use one user credentials only for one access point ...
-1
votes
1answer
20 views

Suggestions for a GUI light distribution [on hold]

I am looking for a scaled down version of Linux/Unix I am looking for the most scaled down distribution of Linux/Unix that I can install on an old computer. Features listed below. Minimal GUI: ...
0
votes
1answer
45 views

Extend functionality of commands such as reboot to record a reason

Is it possible to extend the functionality of system commands such as reboot, shutdown -r now or init 6 so that when they are issued, the user must enter a reason and other information as part of an ...
2
votes
0answers
12 views

How to resolve dracut problem when intall Fedora 21

I'm Ubuntu User. But I wanted to change my OS from Ubuntu to Fedora. So I wanted to Fedora 21. But there is a problem. I'm using USB Drive to boot Fedora 21. When I try to install Fedora I get a ...
1
vote
2answers
8 views

How to install RHEL 7 through pendrive?

I have 7gb RHEL 7 image file. I used UniBoot to make pendrive bootable. But when i try to install during startup of pc, grub cmd screen comes every time. What to do??
0
votes
0answers
21 views

Moved CentOS VM From One Server To Another; Networking Issues

I was running a CentOS box on a VMware server and I had to move it off to another server. Since booting up on the new server, I have been experiencing networking issues. On boot, I receive the ...
0
votes
1answer
16 views

Booting Windows from GRUB rescue

I tried installed Xubuntu via YUMI and I restarted my PC – the GUI for YUMI came up and I tried to carry on the installation by tabbing down to 'Linux Distributions' and there was nothing ahead but ...
2
votes
0answers
25 views

Linux Mint 17.1 Rebecca - “import from file” when setting up VPN [on hold]

Trying to setup VPN in Linux Mint 17.1 and when going through the network manager when I click the + button add a new connection type, then select VPN it only has an option to import files? When ...
1
vote
0answers
19 views

Syslog flooded with “pci 0000:00:14.4: PCI bridge to [bus 04” messages, what's going on here?

I operate an HP Microserver N54L for offsite backups operated by Ubuntu 14.04 LTS (running Linux 3.16), which I recently equipped with an HP MicroServer Remote Access Card 615095-B21. Since plugging ...
0
votes
2answers
30 views

SD-Card doesn't work anymore

I have a SD-Card and it doesn't work anymore. If I enter dmesg, this console will show this: [ 646.467407] mmc0: new SD card at address d555 [ 646.468578] mmcblk0: mmc0:d555 SD032 30.6 MiB [ ...
2
votes
2answers
34 views

How to hold terminal open (excepting gnome-terminal)?

I find useful the gnome-terminal feature of editing (and creating) profiles with the option of holding the terminal open after the command exists. (I like to use context menu file manager to run ...
0
votes
1answer
44 views

Problem with Dual boot Linux Mint in my win 8 laptop

This is my first time experience with any Linux OS. I am trying to dual boot linux Mint to my Toshiba Satellite Win 8.1 laptop(64 bit). I searched google on how to dual boot linux mint and below are ...
1
vote
1answer
62 views

Which one works faster - regular operators (such as <,>,=) or using (-lt, -gt, -eq)? and why?

Which one works faster - regular operators (such as <,>,=) or using (-lt, -gt, -eq)? and why?
6
votes
1answer
42 views

What sets the size of tmpfs? What happens when its full?

What sets the size of the tmpfs? (On my machine it resides in /dev/shm) I can see its entry in /etc/fstab, but no notation of its size. When checking with df -h, it seems to be half the size of the ...
2
votes
2answers
58 views

How do I check which files are written by an application?

On my system, sar reports an average write to disk about 5MB/s. Using dstat I found that it's not so permanently, but there are peaks to 30-50MB/s, and then are sleeps. Using iotop i found that most ...
7
votes
1answer
58 views

how to check what is in swap?

On my system i have some amount of swap used: undefine@uml:~$ free total used free shared buffers cached Mem: 16109684 15848264 261420 633496 ...
3
votes
1answer
32 views

What exactly is an ifconfig dropped RX packet?

I'm seeing very high RX dropped packets in the output of ifconfig: Thousands of packets per second, an order of magnitude more than regular RX packets. wlan0 Link encap:Ethernet HWaddr ...
4
votes
3answers
104 views

What is the difference between home$ and ~$?

I'm learning Linux, and I'm a little confused right now. In the below screenshot, I was not able to understand the third shortcut of Table 2-1. It says that cd ~user_name will change the working ...
-1
votes
2answers
45 views

Error in file comparison - awk [duplicate]

I have two files file1.txt, file2.txt. I want to select records which are common to both file1.txt and file2.txtbased on column 2 and column 3 and copy them to out.txt with additional column(column 4 ...
1
vote
0answers
19 views

Change Partion Drive Space

Okay I am having some trouble here - pretty new to the Linux environment and need some help. I have a 2.7 TB RAID array, and someone configured a partition at around 200 GB but it really needs to be ...
1
vote
1answer
16 views

How to prevent UDEV rules assigning a device to a specific set of names

I have some UDEV rules for a RAID array; 10 hard disks are assigned names from /dev/sda to /dev/sdj. The disks can be absent at any time. How do I write a UDEV rule to prevent a device such as an ...
0
votes
4answers
55 views

sudo for command with specific options

Is it possible to configure sudo to get root privilege to a user for running a program with some special switches? for example, how can I configure it for user admin to run netstat command as the root ...
0
votes
2answers
25 views

Timeout function return value

I'm using the timeout function on debian to wait 5 seconds for my script. Works great but the problem I have is that I need a return value. Like 1 for timeout and 0 for no timeout How am I going to ...
1
vote
0answers
8 views

Remove orphaned rados block device

I'm testing ceph at the moment. Today I decided to start over with my cluster and deleted the old one to setup a new one. I forgot to unmap and delete a mapped rbd device from another host. Now I see ...
3
votes
2answers
166 views

What are the programs/commands which the magic SysRq key invoke?

From Magic SysRq key The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low level commands regardless of the system's state. It ...
-3
votes
0answers
41 views

What does this output of ls -l mean? [on hold]

What does the line .-rwxr-xr-x 1 root root 920788 Mar 28 2013 bash mean? I want to create a new text file of the directory entries that I find in the /bin directory making sure that I display the ...
3
votes
4answers
39 views

How to get the PID of a sub process across to the parent process in a bash shell script?

My shell script is as following: #!/bin/bash ./process1 #It will create a sub process: sub_process1 while [ condition ]; do break done kill -9 process1 and sub_process1 In my script, it will ...
1
vote
1answer
39 views

fork: retry: Resource temporarily unavailable

While I am connecting to my server I get, -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily ...
1
vote
0answers
23 views

How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...
3
votes
2answers
21 views

Multiple screens on one physical monitor

I've recently bought one large monitor to replace my two smaller ones. I use i3 and as it turns out I miss the screen switching mechanism in a big way. Is it possible to configure X11 to split my one ...