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

CentOS install spanning 2 or more CDs

I have a custom CentOS install which used to fit on 1 CD. With recent additions, it takes up more space than can fit on 1 CD. Some of our customers have old systems that aren't DVD compatible so we ...
0
votes
0answers
21 views

Two *different* mountpoints having the *same* absolute path (bind-mount problem)

Scenario a NFS share is mounted on /mnt/temp/dir (and other shares are mounted in subdirectories), I umount everything there but supposedly, it doesn't work well (maybe I start with umount ...
0
votes
0answers
2 views

Bad resolution (max 1024x768) ElementaryOS (Ubuntu)

I installed Ubuntu (Elementary OS) a week ago and the resolution was always max 1024x768, but I want 1920x1080. I have searched in the internet for solutions, but I didn't find working ones. I tried ...
1
vote
0answers
8 views

How to map Alt+H to the Arrow-left key?

I would like to have my HJKL keys to function as arrow keys whenever the alt-key is pressed down. Also other combinations should work, such as Ctrl-Left should be executed when Alt-Ctrl-H is pressed. ...
1
vote
0answers
15 views

HDD and SDD partition help

I have just got my Thinkpad T420 with an additional mSATA drive and i couldn't be more excited. My current partition layout is: HDD: /boot 256MB, /var 30GB, /opt 50GB SDD: / 15GB, /home/ 50GB, ...
1
vote
1answer
22 views

Calculating RAM/Swap Space Requirements [duplicate]

I have been developing a MySQL database that makes some use of BLObs. This has now been transferred on to a virtual machine (VM) in preparation for going fully into the 'cloud'. However some of the ...
0
votes
1answer
50 views

Did Linux have a bug where reading /dev/null would crash the system?

About 10 years ago I've been told by someone that for years Linux used to crash whenever you tried to read /dev/null (ie. cat /dev/null). Is this actually true? Did such a bug exist? And if it did, ...
0
votes
0answers
14 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
0
votes
0answers
8 views

No cursor/caret in Linux VMC under Windows Hyper-V?

I have just installed CentOS-7, Minimal Installation, into a Hyper-V VM under Windows Server 2008 R2. When I Start the VM from Hyper-V Manager it opens a window it calls Virtual Machine Connection, ...
0
votes
0answers
11 views

Plain remote Linux desktop on my VNC Viewer?

So for some reason my VNC Viewer is not showing any desktop icons on the remote Linux. I remember it first happened after I clicked on the button "Quit this session". I am using putty as a terminal ...
0
votes
0answers
16 views

tar --occurrence= option ignored?

Using GNU tar 1.26 on Linux, I'm looking for a way to stop processing after the N-th occurrence of a file in a .tar archive. This should work: tar --file=archive.tar --list --occurrence=1 filename ...
0
votes
1answer
15 views

IPTables Firewall/Router/Gateway needing to block outbound traffic from users

I have multiple ethX interfaces. eth0 is connected to the internet. eth1 is connected to a trusted network. eth2 is connected to a network I need to impose usage rules. What I'd like to do is ...
-2
votes
0answers
19 views

CentOS Software RAID 1 Issue

I have configured the CentOS Software RAID 1 with two hard disk of 250 GB. I checked the status of the hard disk in raid.Then I tried to boot the hard disk in separate but the hard disk did not boot ...
2
votes
0answers
9 views

Linux, SVN and Dropbox — Which directory should store my svn repository?

I'm trying to set up a linux server for a small team of programmers / artists to use as a svn repository. This repository will be restricted to lan usage but will be backed up online using dropbox. ...
-1
votes
1answer
12 views

How to take virtual machines state/back-up automatically?

My problem is, I want to take state/back-up of those 4 virtual machines(VMs) automatically after every 2 days. I am using Oracle virtual box(VB). I just want to know Is there any way or ...
0
votes
0answers
5 views

Can I mount a share and enable the user_xattr mount option?

I have a ext4 drive that is mounted using defaults mount options. It is a RedHat Enterprise Linux version 6.5, 64 bits. I can call lsattr on any file on that server. I need to share that drive with 3 ...
-2
votes
1answer
23 views

What ./configure make and make install does [on hold]

I would like to know exact backgounf taks that happen when you install an application from source What happens when you run ./configure What happens when you run make What happens when you run make ...
1
vote
1answer
7 views

Login using Private key on USB Dongle on SSH@linux

I'm presently using PPK file (public and private key pair) generated from putty to Login (password less) through ssh in Linux server and it is working well. I am exploring possibility in using my ...
2
votes
0answers
9 views

Set SLIP Between xenix and linux

For study purpose i want to set a slip-serial tcp connection between a new linux machine and old xenix machine wich run on VirtualBox. I've setup xenix Virtual Machine with two serial ports: one on ...
1
vote
0answers
14 views

Turn off mirror display on startup on Elementary OS

I'm running Elementary OS Freya Beta 2 with dual displays. I added some xrandr commands to run at startup so the monitor I want is the primary monitor and that the dock starts on the right monitor. ...
3
votes
2answers
26 views

Exchange data between two identical hard drives

I have two identical hard drives (same model) in my system. One is used for data which is not important (could be downloaded again but would take an eternity). The other is my system disk. Now my ...
2
votes
0answers
19 views

How to restore RAID5 Array

I have a RAID5 array consisting of 3 identical 2TB drives. Suddenly GRUB wouldn't boot anymore and gave the error out of disk. Eventually booted a livecd and ran some mdadm commands: mdadm --examine ...
2
votes
1answer
25 views

Mount a windows share without having root credentials

I am trying to mount a Windows shared folder in my home folder. I am able to execute the following command from a Linux (i.e., CentOS) machine which I have sudo access. The command that I am using ...
1
vote
0answers
16 views

process blocked in msgrcv

I have a process that is blocked in msgrcv as shown by ps -eo pid,tid,wchan. Is there any way to find the PID of the process that my process is expecting to receive a message from? The communication ...
0
votes
0answers
24 views

keep getting broken pipe when ssh

I'm using Ubuntu 14 LTS with two machines. When I ssh into the remote machine, I keep getting pipe broken after une minute or two, and in my ssh client I set up the keepalive already. This happens ...
0
votes
0answers
29 views

Why must a server know its own host-name and domain-name?

In Linux, a server can set its own host-name and domain-name through sethostname() and setdomainname(). I just wonder, however, why must a server know its own host-name and domain-name? To my ...
0
votes
1answer
21 views

Run windows local program from remote linux

I'm trying to run a python script on a remote linux machine accessed by SSH from my local Windows machine. The script contains a loop where for all files in a directory it's going to go to a certain ...
-1
votes
1answer
50 views

Do Linux system administration skills transfer across distributions?

If I learned Linux administration on a specific distribution, will those skills be applicable to any other distribution as well? Do I have to re-learn everything from scratch each time I touch ...
1
vote
1answer
41 views

Core File In unix

I have some doubts about core file. 1) what is core file. 2) where it is located. 3) what is the use of core fie. 4) How to generate core files while compiling c programs. 5) what is the difference ...
1
vote
0answers
10 views

Unable To Bridge Two Teamed Interfaces - Advice?

Before the wall of code I'll explain the situation. I'm trying to set up two interfaces to be teamed together, and from that team create a bridge. I've been studying for the RHCE and I believe this ...
-5
votes
1answer
24 views

Remove characters from string with sed [on hold]

I have this header: >tr|G3Q381|G3Q381_GASAC Uncharacterized protein OS=Gasterosteus aculeatus PE=4 SV=1 and I was thankfully helped on here to get it to: >G3Q381_GASAC but now I need to ...
0
votes
0answers
6 views

Refresh/reinstall CentOS 7 in automatic mode remotely

Is it able to fully reinstall (with erasing disk data) CentOS 7 without physical access to the computer, only remotely SSH?
0
votes
0answers
11 views

PHP execute find + cp from page

I would like to copy some files from one folder to another in a Linux system through the use of PHP's methods exec or shell_exec. Currently, the bash shell executes this line correctly and the files ...
3
votes
1answer
29 views

log PID of each connection attempt

Finding the PID of an established connection is trivial using netstat or lsof. However, I have a process which is creating a connection ever 60 seconds to our database and locking it up by maxing out ...
1
vote
0answers
52 views

Samba Tuning (Very low data transfer rates)

I have been trying to tune my Samba server for a while now and have had very little luck. At first I thought it could have had something to do with my router but recently purchased a new one with ...
1
vote
0answers
6 views

How to enable Acer Aspire One 725 0802 touchpad & F Keys?

I recently tried to install the Elementary Luna OS using Unetbootin. Instead of installing to a USB or CD to boot from, I installed the OS to the hard drive. It seemed to install fine, the BIOS ...
1
vote
0answers
15 views

Set hostname without root, and without CAP_SYS_ADMIN

I have an application that I want to be able to change the hostname in Linux. Currently doing so by running the hostname command. I don't want to set CAP_SYS_ADMIN either. I also don't want to edit ...
1
vote
1answer
30 views

Which unix / linux flavor should I learn looking at job opportunities in future? [on hold]

I am a Computer Engineer and I want to start exploring the Unix & Linux environment. Which flavor of Unix and also Linux should I learn looking at a job opportunity in these two fields in future? ...
2
votes
0answers
49 views

Solution for private keys on a remote machine?

I have to manage several servers, with services that can be cron, and integration jobs, deployments, backups. The common thing with all of these, is that they sometimes require access to other ...
0
votes
0answers
12 views

Rsync Issue (AWS EC2)

I have spent quite a bit of time trying to Rsync from a remote to a local machine but been having issues with finding the synced files apparently. The command I entered is: sync -avzhe ...
-1
votes
1answer
27 views

Which of the following is a Linux representation of a physical USB device?

I'm trying to figure out which of these could be a physical USB device: /dev/hda /dev/hda1 /dev/bin /dev/sda /dev/sda2 What's the difference between hda and sda? Between hda and hda1? Which could ...
0
votes
0answers
4 views

How to get a grsecurity kernel on Debian Wheezy using the linux-patch-grsecurity2 package?

There is a package linux-patch-grsecurity2. But it seems to be lacking documentation. How to make use of linux-patch-grsecurity2 to get a grsecurity enabled kernel?
0
votes
0answers
10 views

Do dracut handles boot parameters mentioned in dracut.cmdline (7)

If I understand correctly, in boot time the kernel will mount initramfs and then calls /sbin/init from it(which is a symbolic link to /lib/systemd/systemd on Fedora/RHEL systems) and dracut itself ...
2
votes
1answer
20 views

File transfers with SSH and switch-user

Have a situation that SCP and SFTP wouldn't work for. I've RTFM for SSH, but can't find what I'm looking for. The scenario is that in order to transfer files to the server, I first SCP them into a ...
-1
votes
0answers
18 views

SSH Password less while using a service account with “ -i interactive mode”

I have a problem with my "service account". When I log into my service account sudo rootsh -i -u groot I am prompted for the service account password when I try to ssh to another app server. I have ...
0
votes
0answers
15 views

migrating local users to LDAP

I have sucessfully setup LDAP and LAM on a raspberry pi in my home network. I have several Linux machines around the house, some Windows machines, aswell as a QNAP TS-210 NAS. They all have the same ...
1
vote
2answers
59 views

Search for matching files with wildcards without using find in a bash script

For an assignment, I'm supposed to write a bash script that can act as a very basic find, but without actually using the find command. For example, if I put in this input: my_find ~/homedir/ -name ...
0
votes
0answers
24 views

how to give read, write and execute permission to other user to access mounted shared directory

I set up nfs server and client on two different servers. On nfs server I create a shared directory. /home/share On nfs client I created mounted point /home/nfs_local now everything is working ...
0
votes
0answers
11 views

Intel Edison interfacing [on hold]

I have to interface the Intel Edison board with an inertial measurement unit (IMU) via the I2C Bus. Where will the raw data be stored ON the Edison board? How to collect data from the I2C?
1
vote
0answers
24 views

scp stdin: is not a tty, and write failed, connection reset by peer

I have used scp for years between linux servers, as well as with Mac OSX systems. But now, I have installed cygwin and ssh, bash and openssl in order to pull large files from my linux box on the web ...