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
0answers
4 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 ...
0
votes
0answers
5 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 ...
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 ...
1
vote
2answers
42 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 ...
2
votes
1answer
39 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?
-1
votes
2answers
23 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 ...
4
votes
1answer
33 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
4answers
52 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 ...
1
vote
0answers
14 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
0answers
16 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 ...
0
votes
2answers
629 views

How to disable core dump generation in Centos (cPanel Server)?

I want to disable core dump generation, How can I disable it ? One of the website keeps generating core dumps every second and eats up all the disk space. OS Details: CentOs cPanel Server ...
1
vote
1answer
507 views

Live Linux distribution with preinstalled NVIDIA CUDA support

Is there any Linux distribution with preinstalled NVIDIA CUDA support that could be launched from a live CD/USB drive?
22
votes
11answers
19k views

Linux replacement for Apple Keynote software?

I am trying to migrate from Mac OS X to a Linux distribution, maybe/probably Ubuntu. One of my favorite applications for the Mac was Apple Keynote, which makes amazing sideshow presentations. Is ...
1
vote
0answers
91 views

Why, by design, are group permissions ignored for the owner of a file? [duplicate]

From what I can tell, it would be very useful to have owner/group/other permissions ORed together. This way you can set owner permissions to less than the group permissions when you want to share ...
0
votes
2answers
653 views

Is CDPATH behavior broken in bourne shell (/bin/sh)

I have the following script: #!/bin/sh mkdir -p /tmp/test/foo cd /tmp/test unset CDPATH echo "TEST1: Current working directory: ${PWD}" echo "TEST1: attempting to 'cd foo'" cd foo echo "TEST1: ...
1
vote
1answer
616 views

Possible to download all the packages from “groupinstall” and then run ( yum --nogpgcheck localinstall *.rpm )?

This is the original command: yum groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" I would like to create 4 folders for these. (1 folder for each). mkdir Desktop mkdir ...
15
votes
6answers
2k views

How to achieve portability with sed -i (in-place editing)?

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...
1
vote
1answer
13 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
2answers
19 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 ...
0
votes
0answers
12 views

OpenSuse does not show .eps files

I am running on this machine on a cluster: > lsb_release -r -i -c -d Distributor ID: openSUSE project Description: openSUSE 13.2 (Harlequin) (x86_64) Release: 13.2 Codename: Harlequin ...
3
votes
1answer
531 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
8
votes
1answer
18k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
1
vote
0answers
15 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
157 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 ...
1
vote
1answer
30 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 ...
2
votes
3answers
32 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
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? ...
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 ...
-3
votes
0answers
38 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 ...
0
votes
1answer
2k views

Cannot add new partition using fdisk - No free sectors available

I would like to add new partitions to sda3, but fdisk says "No free sectors available". What can I do?
1
vote
3answers
15 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?
3
votes
3answers
237 views

USB device to be detected at the “same” /dev point always?

In Linux (actually I'm with CentOS v6.5), whenever I plug in my USB Terminal/Character Device (some kind of USB Adapter) for the first time (after booted), it is detected at: /dev/ttyUSB0 But ...
0
votes
0answers
11 views

virtualbox shared clipboard not working

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
707 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
1
vote
2answers
585 views

How to install jdk in Linux Mint

I am unable to install jdk on Linux Mint. I tried the following: # apt-get install openjdk-7-jdk openjdk-7-doc openjdk-7-jre-lib Reading package lists... Done Building dependency tree Reading ...
-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.
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
3answers
78 views

How to decode base64 text in xml file in Linux?

I'm new in linux (shell). I need to decode base64 text in xml file using linux shell script. Could you please help me to write linux shell script for decoding the values of those tags where attribute ...
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 ...
0
votes
2answers
897 views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
1
vote
1answer
57 views

Apache / OpenSSL configuration keywords `SSLProtocol` vs. `SSLCipherSuite`

According to the Apache docs I can configure the cipher suite with (a.o.) two different keywords and examples on Internet often use both (but not necessarily identical to below example). What is the ...
1
vote
1answer
18 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 ...
0
votes
1answer
28 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?
2
votes
1answer
104 views

Simulate Initial Login of user without using sudo

I'm writing a script to interface 2 third-party programs. (Datadog and AWS) The data mining script uses sudo -u to run my script. The script that I need to retrieve data from will segfault if ...
0
votes
2answers
46 views

How to find out the current (active) XServer DISPLAY number?

I'm using Arch Linux and things are not so easy when you try to discover the current Xorg DISPLAY (not through the env variable). Here is a working example: $ cat /sys/class/tty/tty0/active tty2 ...
2
votes
1answer
676 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
2
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 ...
4
votes
1answer
502 views

GNU/Linux, IO performance problems

I have some problems with my system performance. As I was adviced here, I used sar: $sar -u 5 and found out that the problems are caused by a low HDD performance, as I supposed (high %iowait). ...
2
votes
1answer
631 views

How to monitor per user disk usage in Linux

I have local disk with 2T capacity attached to a host. Nearly 60 user home directories are stored on this disk. Currently no disk quotas are enabled. I need monitor the disk usage of individual ...