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
16 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
46 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?
1
vote
2answers
48 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 ...
6
votes
1answer
45 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 ...
2
votes
0answers
18 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 ...
1
vote
2answers
49 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
33 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
17 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
15 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
54 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
24 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
4 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
162 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
40 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
37 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
34 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
17 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
19 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 ...
2
votes
1answer
41 views

Configure XDM to accept remote logins

How can I configure XDM server to accept remote X login and works as X server, which Configuration should be done on the clients if they want to connect to this X server?
0
votes
0answers
11 views

virtualbox shared clipboard not working [on hold]

I run linux mint on my laptop, and I installed the newest virtualbox software from oracle. I run windows 7 inside a virtualbox. Now I would like to copy and paste or drag and drop files from linux ...
1
vote
1answer
25 views

Routing table and multiply hops

I have 6 networks, I need to connect network 1 and network 5 via five routers. What’s the command to set multiply hops? ip route add IP_address/mask via IP_adrress dev eth0, but how do I set next hop? ...
-6
votes
0answers
28 views

Installation of watsapp on ubuntu 12.04 [on hold]

Please post the latest set of instructions to install whatsapp on ubuntu 12.04.
4
votes
1answer
36 views

why isn't monitor listed under /dev in linux?

If /dev is suppose to list all the devices that is connected, like usb, hdd, webcam, how come on my ubuntu 15 VM I don't see a monitor? I am running the desktop edition so there should be a monitor. ...
0
votes
1answer
14 views

what is tagging a socket in linux netfilter [on hold]

What is tagging in linux kernel netfilter module? This is the reference code : ...
1
vote
1answer
38 views

Why `ip addr` showing inet 192.168.122.1/24?

My local ip address is : 10.102.42.102, but i don't understand the rest of the address. Can someone explain why ? root@HitHiFitHai:~# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc ...
1
vote
1answer
19 views

How can I change the IP and gateway addresses permanently?

I recently installed Linux Ubuntu 14.04 to my computer. To enable internet connection I needed to change my IP and Gateway address. I did the following as a root user # ifconfig eth0 "my ip address ...
3
votes
0answers
31 views

Linux - mount command returns zero/0 but not working

Sounds strange, I have a shell script that it gets trigger by udev rules, to mount attached USB device to the system file tree. The script runs when an usb device attaches to system, so the rules ...
-1
votes
0answers
15 views

exchange from Manjaro to Ubuntu [on hold]

i have a big problem now i had deleted previous windows and Ubuntu and formatted my hard of the laptop now i already installed Manjaro but want to change it to ubuntu i tried to make boot usb by the ...
-1
votes
0answers
5 views

initramfs too slow and ISR taking too much time?

On my SMP (2 core with 10siblings each) platform i have a PCIe deivce which is a video card which does DMA transfers to the application buffers. This works fine with suse13.1 installed on a SSD drive. ...
1
vote
0answers
15 views

Configure the network interface to send frames with 802.3 format on freebsd

Is it possible to configure my Freebsd (or Linux) so that all frames are sent in the 802.3 frame format (with the LLC part of 802.2) rather than Ethernet 2 frame format ? Thank you
1
vote
3answers
18 views

Clone Linux user (copy user, based on another one)

How can I create a new system user, an exact copy of another one (having the same groups, permissions, privileges and settings), but with different username, password and home directory?
1
vote
0answers
13 views

Using a rados block device as block device in libvirt qemu

What is the difference between using a rados block device in libvirt qemu with disk type='network' and disk type='block'? The ceph guide tells me to do the following: <disk type='network' ...
0
votes
0answers
12 views

“yum-config-manager --disable <repoid>” How to get repoid for centos 7?

I mistaken installed centos7 minimal. But I want to install GUI for centos7. from this link: ...
1
vote
0answers
15 views

What is the correct way to start a container with a given command?

I want to create a set of containers for simulating network traffic. Inside each of the containers, I would like to set a different network delay. Right now I am doing it manually using this command, ...
0
votes
1answer
29 views

passing bootloader arguments to the kernel

We know that the bootloader parameters are passed to the kernel before the init process starts executing. What file in the /proc directory actually does this job?
0
votes
0answers
17 views

memtest86+ doesn't show up in grub

According to my package manager memtest is installed and both memtest68+.elf and memtest86+.bin are in my boot partition yet grub doesn't give me the option to boot to them. Is there anyway to add the ...
0
votes
0answers
15 views

Where am I supposed to put PyCharm files?

I've just downloaded PyCharm (pro) for Linux (I'm running Ubuntu). It's basically a zipped directory containing everything it needs to run (tree below), including an entry point (bin/pycharm.sh). ...
0
votes
0answers
13 views

Centos 7.1.1503 no longer has some static libs that python packages assume are present

I ran repoquery -ql readline-devel and it revealed that only various .so libs are a part of this repository. /usr/include/readline /usr/include/readline/chardefs.h /usr/include/readline/history.h ...
0
votes
0answers
18 views

2 X 2TB HD in RAID1 config, “Data volume failed to mount” error

I am using a Western Digital My Book Live Duo and for some reason it decided to go bad on me. The WD support people usual answer is that the device is bad and they even upgraded my warranty to get a ...
0
votes
1answer
26 views

Linux driver privileges

I've loaded a custom driver to linux via mknod. However, now any programs I write to use it need to be run using sudo, which is difficult to do when I'm using an IDE. Is there any way to adjust the ...
0
votes
0answers
9 views

How to remove previous version of centos7 and install fresh centos7 in Toshiba Satellite using bootable USB

My centos 7 has been corrupted. I want to install fresh centos7. When I run rpm -q kernel. It gives the following results kernel-3.10.0-123.el7.x86_64 kernel-3.10.0-123.20.1.el7.x86_64 ...
1
vote
1answer
42 views

Is it possible to speed up my Linux Clock?

Is it possible to modify the Unix Time Clock so that the clock is running ten times faster? Something like a fast-forward by increasing a clock frequency or change the clock tick time? Background is ...
-1
votes
0answers
17 views

Do not work shortcuts in Fedora 21

In Fedora 21 some shortcuts don't work. There is a problem with combinations which have more than two keys (ctrl+shift+tab, ctrl+shift+← etc). Another problem with the Win+R or F12 hotkeys to call ...
0
votes
1answer
32 views

Windows to Linux (rsync and ssh) [on hold]

I'm trying to backup the folders in Windows Pictures to a remote Linux directory. This is what I have: rsync -av ssh /cygdrive/c/users/Owner/Pictures/ blah@192.168.1.10:/var/files/ImageSync/ I got ...
0
votes
0answers
20 views

Link Speed for wireless connections [migrated]

I am working to implement a benchmarker for wireless connections. How can I determine the link speed in mbps? I am working with C language and Linux system.
-1
votes
0answers
14 views

Can I install and work with pycuda if I have ubuntu linux 32bit and boot from usb? [on hold]

System is 32bit. Have Nvidia Geforce 610M graphics card on my laptop. Am booting ubuntu 14.04 lts from usb
1
vote
1answer
40 views

sort file based one colum and group by another column

I have a file of three columns: 1 A 0.5 2 B 0.7 3 A 10 4 C 4 5 B 4 I want to sort the file by increasing order of column 3 and group by column 2 1 A 0.5 3 A 10 ...
2
votes
3answers
53 views

Bash | port killing loop fails

I am trying to create a bash function which should kill all processes using some ports specified in port_array. The kill-port function works if I call it myself with a port e.g. with kill-port "80";. ...
0
votes
1answer
21 views

page up and page down alternative for horizontal scrolling in less

In vertical scrolling using less the page up and page down keys are working. Which keys scrolls one page down/up vertically? The less was started with -S option.
0
votes
1answer
31 views

How to format old laptop and install CentOS

I have an old laptop with Windows 7. I want to remove everything and install CentOS 7 to turn it into a server. What I know is that I should format the old OS somehow and get iso image of CentOS and ...