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

Is Linux really more vulnerable than Windows and Mac?

These days, I have seen many articles in the internet like this one that are trying to say that Windows is now less vulnerable than Linux. I think this is the number of solved issues so it means more ...
4
votes
1answer
274 views

What are the differences between rdesktop and xfreerdp?

rdesktop and xfreerdp are both linux clients for RDP. However from their respective websites it is not clear what advantages/drawbacks of using one over other are there. I found one post, which ...
1
vote
1answer
22 views

Mount USB stick without partitions using udev rules

I need to have udev mount a USB device that has raw data, which appears like /dev/sdc, but in the same time if another stick has partitions I only need to have folders mounted only for those ...
0
votes
1answer
1k views

Upgrading centOS 6.6 to 7

I have recently upgraded centOS 6.6 to 7. It seemingly boots up, but it can not open the log in page, Actually the systems is frozen here. Does anybody have similar experience? If so, it would be ...
24
votes
10answers
35k views

List partition labels from the command line

Is there a command that will list all partitions along with their labels? sudo fdisk -l and sudo parted -l don't show labels by default. EDIT: (as per comment below) I'm talking about ext2 labels - ...
0
votes
2answers
41 views

use `mv` command and my file gone [on hold]

i want to move myfile.tar.gz to folder My command is mkdir backup mv myfile.tar.gz /backup arrrgh, and the file gone in /backup directory not exist, try using find command not shown how to ...
0
votes
0answers
11 views

Help filtering logs - auditd

System: RHEL release 6.3 (santiago) Issue: Once I start the audit service I'm starting to get thousands of logs in /var/log/audit/audit.log Most of the logs received are of - sshd Log sample: ...
0
votes
1answer
29 views

setting (system-wide) CPU affinities for running processes on a Linux platform

I am conducting a kind of research in that I schedule multiple parallel applications (e.g., OpenMP/pthreaded applications) and execute the applications on specific (partitioned) cores on Linux-based ...
1
vote
0answers
26 views

How to install custom plugin on Google Ghrome Ubuntu 14.04

I have a problem while trying to install rutoken plugin for Google Chrome v. 40.0.2214.115 (64-bit) on Ubuntu 14.04. That's what I try: Download plugin from ...
1
vote
1answer
531 views

Why isn't sda1 showing up in dev and how can I fix that?

I have an embedded Linux device and I was trying to copy some files to it. I plugged in a USB stick, the dmesg shows that it was recognized, but for some reason /dev/sda1 never showed up. I'm trying ...
0
votes
0answers
19 views

Why doesn't Red Hat detect hard drive on HP BL460C Gen 8?

EDIT: The server I am using is HP BL460C Gen 8 having real hardware RAID. I am trying to install Red Hat Enterprise x86_64 bit on an HP ProLiant (iLO 4) server with an Array of 2 hard drives ...
0
votes
0answers
5 views

Why is traffic matching the public zone instead of the desired zone

Trying to self-train on firewalld I set up apache and configured the zones as follow: My expected result is that traffic from the hypervisor would match the "work" zone and since http isn't allowed ...
-3
votes
0answers
31 views

Scripts in init.d [on hold]

I have a script in init.d directory that runs while system is booting and that script calls for another script that is present in my home directory. A) Could anyone please explain how the calling of ...
3
votes
3answers
45 views

Modifying binary during execution

I often come across the situation when developing, where I am running a binary file, say a.out in the background as it does some lengthy job. While it's doing that, I make changes to the C code which ...
1
vote
0answers
7 views

Red Hat Enterprise Linux 6.5 remounts root filesystem read-only after hibernating

I have a Lenovo ThinkPad T430 running Red Hat Enterprise Linux 6.5, kernel 2.6.32-431.30.1.el6.x86_64, and my filesystem structure consists of a master LUKS partition holding two logical volumes, one ...
3
votes
1answer
18k views

read only root filesystem

Somehow my Debian went to read only in root file system. I have no idea how this could have happened. For example when I am in /root folder and type command nano and after that press Tab to list ...
-1
votes
0answers
5 views

Samba DC - account is saved only with temponary file [on hold]

I have problem with Samba AD. When I log in to account on Windows computer, account will not be saved. smb.conf: [global] workgroup = miegl server string = Home server netbios name = ...
0
votes
1answer
14 views

Helping to find power consumers in Cinnamon

I would like to identify what draws power in Cinnamon aka what eats the cpu and causes the context switches. It is not about finding out what draws power overall in my machine. Any good tips how to ...
2
votes
0answers
25 views

Random file showing up in various directories. How to trace its creator?

I am finding a 0 byte file named ^- (that is a caret and a dash) in various directories on my file system. I use zsh with oh-my-zsh and I am pretty sure something in there is creating it but I really ...
2
votes
4answers
56 views

Why does Linux use an Initial Ram Disk at boot?

I was wondering : What's the goal of using an initrd in the first part of the boot process and then use pivot_root to put the root on the real disk ? Why not only use what's on the disk ?
0
votes
0answers
35 views

Get first day of the month

I need to get the first day of the month in this format "%y%m%d" or 150301 I can get the current day in this format: date +"%y%m%d" But the first day of the month is a lot trickier. Any thoughts? ...
0
votes
0answers
12 views

Executing Minecraft Server Commands via SSH and Screen

I'm extremely new to linux, so please help me out if you can! I have read many of the posts about managing/monitoring servers using SSH and Screen, but have not found anything regarding my particular ...
-1
votes
1answer
34 views

How to copy authorized_keys to another user on linux? [duplicate]

I can ssh into a Linux node on the cloud with root. I've created another user, web, and I want to add my ssh keys to that user. Here's what I've tried so far (as root): mkdir -p /home/web/.ssh cp ...
0
votes
0answers
8 views

Installing Slax 7.0.09

Halo,folks.How do i install Slax 7.0.9 on the same hard drive as my Windows XP.Isit possible.I already have partitioned the hard drive to ext.4 for linux using gparted.The hard drive also has a ...
0
votes
2answers
1k views

Unknown hard disk partition?

I want to mount my second hard disk from my Linux VMware guest but when I try mount -t ext3 /dev/sdb2 it is not available. fdisk -l /dev/sdb gives me unknown format: /dev/sdb1 2048 ...
0
votes
0answers
11 views

Ubuntu Linux 14.04 on Parallels Desktop 10, Mac OS X 10.10.2: Parallels and/or Ubuntu update broke Terminal (no command-line prompt) [on hold]

Apologies if reposts are not welcome; I just asked this question on "Ask Ubuntu" and was advised to post it here. I'm not clear on whether the problem is with Ubuntu or if it is more general, as I ...
1
vote
0answers
35 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 ...
10
votes
3answers
466 views

How do I replace the last occurrence of a character in a string using sed?

How do I replace only the last occurrence of "-" in a string with a space using sed? For example: echo $MASTER_DISK_RELEASE swp-RedHat-Linux-OS-5.5.0.0-03 but I want to get the following output ( ...
1
vote
0answers
9 views

Standard convention installation folder for GitEye on Linux and how to start it

I couldn't find an answer for this here already (maybe didn't know the right keywords to search for...) - my apologies if this kind of question have already been asked. What about be a "good ...
0
votes
0answers
9 views

Learning about interface between Network and Running Daemons (PHP,MySQL) - for scaling

I am a PHP/MySQL/jQuery programmer and coder, not a hardware guy. My new job involves scaling a LAMP server. This is a question of "what are the terms I should even be searching for" as I need to ...
0
votes
0answers
9 views

sending NEDIT to background on launching

I have this problem - for opening nedit it will open in the foreground. Then either you open it using & ex- prompt> nedit & is there any way where I can open nedit directly in the ...
3
votes
3answers
4k views

Where / How to install CentOS 7 for 32 bit system?

I have windows 7 with 32 bit system, and previously I used CentOS-6.5-i386-minimal to run centos on my virtual box, but now I would like to run CentOS 7 and it seems (if I am not mistaken) that there ...
2
votes
1answer
22 views

Mount my mtp in my android phone on a directory?

I have installed mtp-tools on my debian7.8. mtp-files can list all my files on android phone. How can I mount all my files on android phone on the directory /tmp/myphone? root@debian:/home/debian# ...
0
votes
0answers
9 views

How to add adobe reader plugin in chrome linux

I have installed adobe acrobat reader in my linux machine(lite). How to acrobat reader to chrome. I tried in the chrome settings (extension->developer mode->load unpacked extension)but what file to ...
2
votes
2answers
45 views

How do daemons like apache or bind open ports below 1024?

I know that ports below 1024 are protected and can't be opened by a user without sufficient permission. However, I'm wondering how daemons such as bind or apache can do so, though they aren't running ...
2
votes
1answer
56 views

Test if postfix is running

I'm searching for a reliable way to test if postfix is running from inside a bash script. My first attempt was simply trying pidof postfix, which doesn't work. Then I tried to get the postfix ...
0
votes
0answers
8 views

Update Oracle Linux 5.5 to 5.8 with RDAC Driver

I need to update Oracle Linux 5.5 to 5.8, that's the easy part. The problem is that on the system it's mapped an IBM DS3k (DS3512) storage with RDAC. Actual configuration: OS: cat /etc/*-release ...
1
vote
0answers
13 views

FS on NFS share responding slow

We have two server ex name app1 and app2.Both server have a nfs mount from same server as below:- nfsserver:/prlocal 249G 190G 46G 81% /prlocal Now the problem is when we try to access the FS ...
12
votes
4answers
23k views

How to check password with Linux?

I want to check, from the linux command line, if a given cleartext password is the same of a crypted password on a /etc/shadow (I need this to authenticate web users. I'm running an embedded linux.) ...
2
votes
1answer
655 views

azap from LinuxTV dvb-apps strange signal behavior with Hauppauge WinTV-HVR 950Q

What I want to do I have a Hauppauge WinTV-HVR 950Q USB-TV-Stick. I want to use this stick to successively tune to and read in a certain live TV stream. What I do I trigger a scan and save the scan ...
2
votes
1answer
58 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 ...
1
vote
1answer
27 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 ...
7
votes
5answers
26k views

Checking if HyperThreading is enabled or not?

How can I check if hyperthreading is enabled on a Linux machine, using a perl script to check for it? I'm trying the following way: dmidecode -t processor | grep HTT Let me know if I'm on right ...
0
votes
1answer
23 views

After installing Linux Mint, only a terminal is showen when I boot into it

I have been using windows for as far back as I could remember and developing in virtual boxes but I have decided to install Linux Mint onto a second hard drive on my main computer. Sadly, when I boot ...
0
votes
1answer
118 views

Why Linux games are less performanced than Win 7?

I had Windows 7 x64 and now I have Ubuntu 14.04 on notebook HP 4535s. I expected games to be faster in Linux than on Windows because of fewer machine requirements. But it isn't so... E.g., games via ...
0
votes
1answer
22 views

how to get list of all processes accessing a shared library [duplicate]

I know that ldd utility can list all libraries linked to a process but I want it the other way around. I want all processes linked to a library. I want to replace a shared library without crashing the ...
1
vote
1answer
148 views

Can't connect to a server via SSH (with my PC only)

For some days I'm experiencing issues with SSH on my machine (I guess after having installed some softs that I don't remember... (sic)) It's very problematic as I use Git to work on some code ...
1
vote
0answers
26 views

How does the Linux kernel initialize console graphics?

Observation: I switch on a Linux box Boot loader displays its output on screen Boot starts with first output messages Screen goes blank, and never comes back on. Note: this is about the console, ...
0
votes
0answers
7 views

Xen ERROR Couldn't find xen kernel for Ubuntu tree

xen-4.2 running on server with multiple CentOS running guest, But when i am trying to install Ubuntu i got following error. How do i install Ubuntu on CentOS Xen Server? [root@example ~]# ...
3
votes
2answers
2k views

How to permamently disable SELinux?

We run a site with big traffic surges and, because of that, SELinux usually thinks that the traffic is a SYN flood attack. We have this same problem on many different CentOS servers. Despite ...