These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

10
votes
2answers
5k 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
0answers
32 views

Integration of `afuse` with `sshfs` as a (systemd?) user-daemon spawned from login or first shell

To facilitate working with remote files, I setup afuse with sshfs to run from my .bashrc. It works, after bash init all my remote trees from ~/.ssh/config/ are mounted on-demand under ~/scp/, but ...
0
votes
1answer
1k views

Issue with Hugepage reservation in linux

I have reserved hugepages for my process using below commands: #echo 64 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages #mkdir -p /mnt/huge && mount -t hugetlbfs nodev /mnt/huge ....
1
vote
1answer
82 views

No support for locale: en_US.utf8

I am on Linux Mint 17.3. I saw this in the syslog. Processing triggers for initramfs-tools (0.103ubuntu4.3) ... Apr 9 12:01:47 vb-nb-mint updates: update-initramfs: Generating /boot/initrd.img-3.19....
1
vote
0answers
685 views

receiving error message while trying to register for subscription for rhel6

I am trying to subscribe to redhat from the terminal. I have registered an account at https://access.redhat.com/labs/registrationassistant/ . So I am using those credentials to register my ...
1
vote
1answer
997 views

Drivers support for Sound Blaster Z/Zx on Linux

I am planning to buy a Sound Blaster Z or Zx (sound card) for my computer (which will run both Windows 7 and Linux Debian 7/8 or Fedora 21/22), but I heard it does not have a good support on Linux. ...
3
votes
0answers
60 views

Performance Optimization

I have one script which roughly has to read 1.5 million lines and process the lines and print out output in cvs file. This script is current taking more than 8-9 hours to process 250 thousands lines. ...
1
vote
1answer
2k views

Intel Turbo Boost apparently activated for no reason?

The other day, I reinstalled my operating system (Crunchbang, fork of Debian). For some reason my fan has been running at full speed (and blowing colder-than-room-temperature air) even though I'm ...
1
vote
1answer
43 views

SCP through multiple hosts

The question describes how to SSH into a machine that can only be accessed through one or more hosts (that can also be SSH'd into). Is there an equivalent way of using scp? That is, copy a file to my ...
2
votes
1answer
2k views

E: Package 'dkms' has no installation candidate

I installed Kali 2.0 on an Oracle VirtualBox. Everything was going fine until I tried to run the command apt-get -y install dkms This gave me the following error message Package dkms is not ...
0
votes
1answer
31 views

Delete Photos from My Pics Directory

I have photos uploaded that need to be deleted. These photos all have names. I have entered the following language to begin the process of removing the photos. vs2:/u/p/jjones % cd www.thetether.com/...
0
votes
1answer
70 views

Citrix Receiver - 13.2.1 - hangs forever

I had Citrix Receiver working on funtoo linux a while back, but made some changes and could not figure for the life of me what it was. I thought perhaps Funtoo was not stable or there was a conflict ...
3
votes
3answers
2k views

Command to trace rsh server to check behaviour of particular system call

I am working with rsh. I want to check the whole process from beginning to end. For that I used strace. Os name is CentOS. I am working on single machine, server and client are on same machine. My ...
0
votes
1answer
153 views

Updating IP for port

In below unix output of netstat -pln, can the IP address 127.0.1.1 be changed to 0.0.0.0 for port 7077 via a unix command or is that determined by the process that is running on port 7077? netstat -...
0
votes
2answers
2k views

Failed dependencies trying to install package 'libxml2'

I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system. The ultimate goal is to install xml_grep2, I have been trying various methods (cpan,...
4
votes
1answer
21 views

Get block device parent

Given a block device, how can I get its "parent"? A example would be a LUKS virtual decrypted device (/dev/mapper/decrypted), whose parent would be the encrypted block device (/dev/sdb)
1
vote
1answer
28 views

Cannot save changes made in gnome-settings

I have a fresh install of fedora 24. I have some issues with not being able to change anything in Gnome. Ex: I go to All Settings -> Power and want to set the time to go to blank screen to: Never. ...
0
votes
2answers
27 views

Is there a way to split a usb thumb drive into 3 partition with different live distros

I've a small laptop with eMMc 32gb, and I want to keep it w/ windows installed. I've also 64gb USB 3.0 thumb drive, and is it possible to, split that into 3 partition with different Linux distros ...
0
votes
1answer
19 views

How to interpret VFS usage chart

I'm monitoring an old laptop running as LAMP server. I have trouble understanding this VFS usage chart (sorry can't include images yet) from monitorix (the monitoring tool I'm using). I don't ...
0
votes
0answers
33 views

unable to login into Windows 10 and also my Linux

i tried to login into one of the OS but failed.it stays at the login screen and doesn't notify any error(its like continuous loop...enter the password but comes back to login prompt).this is happening ...
1
vote
1answer
894 views

Buildroot OpenGL Capable Backend

I'm trying to configure QT 5 through buildroot and some options are not available with the message requires an OpenGL-capable backend. I'm using buildroot 2013.08-rc1 but the same message comes up ...
2
votes
2answers
12k views

How do I install Samba on Red Hat Linux?

I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but ...
0
votes
0answers
30 views

How To Create Soft Links To An Entire Directory Structure Which Has Sub-Directories, Files Etc! [duplicate]

I'd like to: Create a soft link for a directory or file. But have a scenario where I need to create soft links, to a directory which has multiple sub-directories, files etc. I wanted to loop across ...
0
votes
2answers
31 views

How to delete files in directory

I have to delete one particular file in each directory. Can you help me with any shell script to do? Example: MKRUW, DKRUW, TKRUW In each of these directories I need to enter MKRUW/default/file and ...
1
vote
0answers
33 views

enabling ECMP in linux

if i want to use ECMP (Equal Cost Multi Path) in a linux machine acting as a router, is it sufficient to have just multiple next-hop addresses in the routing table for the same destination with equal ...
14
votes
1answer
6k views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
1
vote
2answers
74 views

Timestamp not getting updated

I've written a piece of code but time stamp is not getting updated. It displays the time when the script runs and keep on displaying the same time even when loop is running and time is getting changed....
1
vote
2answers
2k views

Huawei E3372s + Linux (Rasbian), Incoming connections problem

I have a Linux-based OS (Rasbian) running on Raspberry Pi 2+ and it is using Huawei E3372s 4G/LTE USB Stick for internet connection. All my outbound connections work perfectly (Huawei USB mode ...
8
votes
4answers
5k views

Running “patch” without generating *.orig and *.rej files

Is it possible to tell patch not to generate .orig and .rej files? I find it extremely annoying that patch creates these.
1
vote
0answers
20 views

Can we specify percentage value for RuntimeMaxUse attribute in journald.conf

From man page of Journald.conf I came to know that, by default Journal use 10% of file system size for storing journal files. I have configured below values in journald.conf. RuntimeMaxUse=10 #...
2
votes
1answer
37 views

linux periodic system check script or utility [duplicate]

Is there any commonly used shell script or utility to periodically check Linux file systems for changes, such as permission or ownership changes of configuration files. I am thinking of something ...
1
vote
1answer
75 views

Limit a directory to have only 1 file?

Is there a way to restrict a directory to have only 1 file? I created a specific directory for a user and I would like to limit that directory to have only 1 file. If that user wants to store new ...
36
votes
6answers
66k views

disable transparent hugepages

We are installing SAP HANA in a RAID machine. As part of the installation step, it is mentioned that, To disable the usage of transparent hugepages set the kernel settings at runtime with echo ...
2
votes
1answer
2k views

SMTP connectivity issue in Zenoss (“Connection unexpectedly closed”)

I am using Zenoss for monitoring purpose. I have been using its mail service for a long time. Suddenly my mail service in zenoss stopped and started showing <class 'smtplib.SMTPServerDisconnected'&...
1
vote
1answer
49 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. ...
0
votes
1answer
37 views

How to boot to and run Linux from Chromebook with removed SSD?

I have an Acer C740 Chromebook. I am not sure if this is a hardware or a software issue, but the Chromebook refuses to boot properly. The display powers on, but remains blank white with only the ...
0
votes
0answers
19 views

udev rule not executing the script specified in RUN

I have the following in /etc/udev/rules.d/40-swallowpv.rules: ACTION=="add", KERNEL=="sd[a-z]+", RUN="/var/tmp/swallowpv sdc" (I've also tried with RUN+= to the same effect). The first thing the ...
-3
votes
2answers
49 views

Bash scripting using #1 & #2 params but if files not found reverting to read from user [closed]

So if my user types in bash copy.sh copysource.txt copydest.txt - and the files are valid I want copysource to append to copydest and then show the file via cat -if the files names are NOT correct or ...
1
vote
1answer
37 views

Bcm43142 driver wifi open-suse

i have a problem with my wifi that isn't working on opensuse tumbleweed, when i open the NetworkManager, i see only ethenet interface : 0d:00.0 Network controller: Broadcom Corporation BCM43142 802....
1
vote
2answers
2k views

cannot ping vagrant machine

My experience with vagrant is very little as most of the time is seems to work. In this case however, I have not been able to get the desired behaviour. I am trying to work on a rails application ...
0
votes
1answer
42 views

storage performance test [closed]

So we have some operational Red-hat Linux on physical servers and company are we decided to migrate them to VM's. I wonder if they have same performance on writing and reading from disks. they are ...
3
votes
1answer
36 views

Can I be sure that the name of a Linux Audit record's field is unique?

I am creating a parser/converter from the Linux Audit format. As I was studying the format, looking at examples and reading the documentation I stumbled upon a problem. Can I be sure that the field ...
3
votes
1answer
88 views

Undocumented format of Linux Audit log records

I am writing a parser for Linux Audit and I stumbled upon some weird cases which doesn't seem to comply with the standard. My reference is the Red Hat's documentation. A proper audit record should ...
8
votes
3answers
12k views

how to pass environment variable to sudo su

I basically need to do this: DUMMY=dummy sudo su - ec2-user -c 'echo $DUMMY' This doesnt work. How can I pass the env variable $DUMMY to su? -p doesnt work with -l.
-2
votes
4answers
70 views

Transforming letters in columns into numbers

I want to transform the letters in two columns into numbers. In the following example I want to change the letters in column 2 and 3 for numbers, so that A is changed to 1, B into 2, C into 3 and G ...
3
votes
1answer
2k views

Forced reread of partition table: difference between BLKRRPART and BLKPG ioctl? (Linux)

When I want Linux to consider newly created partitions without rebooting, I have several tools available to force a refresh of the kernel "partition cache": partx -va /dev/sdX kpartx -va /dev/sdX ...
2
votes
0answers
62 views

Fedora: Touchscreen works in live mode, but not after install

Recently I've been playing with Linux on Thinkpad 10 2nd gen tablet. Currently Fedora is running on it. When I boot from USB stick (live mode), touchscreen works and is detected as Wacom 5020 HID, but ...
1
vote
2answers
39 views

Increase swap space in linux through terminal

While installing Oracle DB in linux machine, I face a problem like swap space is not sufficient. How can I increase the swap space?
0
votes
0answers
781 views

Cannot start snmpd correctly

I trying to setup snmp in an ubuntu-server 15.10 to perform some tests. I have installed snmp as: sudo apt-get install snmp snmpd snmp-mibs-downloader After the installation I commented the ...
1
vote
1answer
3k views

mod-mono-server 4 is not working, while 2 does

I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...