A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
20 views

Allow hibernation on efi based hardware using elilo

I have a fresh install of Slackware 14.2 on my laptop which currently boots in EFI mode. I wanna allow hibernation so I added append="resume=/dev/nvme0n1p3" to elilo.conf (this is definitely my swap ...
0
votes
0answers
15 views

dd file copy uploading to server is fast, downloading image back to local machine is slow

I've used dd to copy a hard drive on one server to the samba share on another server. The speed was between 30-60 MB/s, about what I'd expect. The connection is a dedicated gigabit line for each image....
-3
votes
0answers
24 views

File size becomes 0 after download

I downloaded a file xyz.tar.gz, it shows that download went properly wget http://abc/def/ec-validation-assembly-9.2-assembly.tar.gz --2016-07-13 11:40:14-- http://abc/def/ec-validation-assembly-...
1
vote
0answers
14 views

Buffalo Linkstation NAS (LS-CHL) died, trying to recover data from disk

I have infamous Buffalo Linkstation (LS-CHL) NAS which had one 500GT disk in it. And one day it started to flash red lights and not responding over the net. I tried to put it in different "recovery ...
0
votes
0answers
28 views

Use DHCP server to send custom data to DHCP client

Is there a way for DHCP server to send some custom data along with other configuration that it sends to DHCP client while assigning IP address to client? I tried using isc-dhcp-server/dnsmasq as ...
0
votes
1answer
11 views

How to Prevent a terminal window from jumping to the end while running a script or similar?

When I use dnf on Fedora or pacman on Arch to update my OS to the newest files via terminal command, it can sometimes be a long wait while the new files are being downloaded, so I like to scroll back ...
-1
votes
0answers
27 views

Using sed to replace string with special characters in XML file - part 2

To continue the discussion about sed, variable strings and special characters, this works perfectly : sed -i "s~${LINE}~${NEWARGS}~" $FILES for the variable with contents of: JAVA_OPTS="$JAVA_OPTS -...
1
vote
0answers
11 views

AWS instance doesn't start after reattaching root volume

I have a t1.micro instance with /dev/sda1 volume attached. Now I am out of disk space and migrating to a larger volume. I created the larger volume from the original disk snapshot and attached it to a ...
0
votes
0answers
16 views

Create bootable usb from recovery partition in linux

I want to create a bootable USB from the recovery partition of my Lenovo laptop from Linux. I can mount the ntfs recovery partition in linux and see that it contains the Windows Recovery Environment ...
0
votes
0answers
13 views

PDF program or app for xubuntu to compress bulk files with GUI

I have searched and researched internet to find a program or app for xubuntu to compress bulk pdf files, but I cannot find, I found a Nautilus script to do that but I don't know if it works in xubuntu ...
0
votes
2answers
33 views

Read hard drive with btrfs filesystem on Windows or Virtual machine with linux distro

I have to read data from WD Red Pro Hard Drive (BTRFS file system) connected to Windows PC via USB 3.0 Docking station. I read that it is not possible from Windows level. That's why i've created ...
1
vote
2answers
29 views

How to solve low disk space on /boot/ in CentOS 7

I am getting Low Disk Space on /boot/ in CentOS 7. I got this error since I recently did yum update. The df command shows 100% usage on boot folder. Following are the snapshots.
0
votes
0answers
21 views

Dealing with a chmod gone wrong

I could use some advice to fix an accidentally broken system. My colleague shot himself in the foot with Linux and now at least his Docker doesn't work properly anymore, but god knows what other ...
0
votes
0answers
26 views

Firefox Not Playing HTML5 Audio, Using ALSA with Modification

Some time ago, I faced a problem with my Eee PC 901's left speaker and had to disconnect same. Quite naturally, I wanted to find a way to downmix the stereo audio to mono and pipe it all out the ...
0
votes
0answers
15 views

Windows 10 Ubuntu run eclipse [duplicate]

I installed windows 10 insider release 14372.rs1_releae.160620-2342 I enabled developer features and installed windows linux. When I run the Bash shell, I can run all Unix commands. I did apt-get ...
0
votes
1answer
37 views

How to sort a text file with three columns, each separated by a comma?

I have a text file as such, 1151,1000,801; 1152,3000,801; 1154,1000,801; 1156,3000,170; I'd like to sort based on the third number in each row. How can I do this?
0
votes
0answers
9 views

Downgrade linux kernel on EC2

I'm on an ubuntu 14.4 ec2 box. I need to downgrade the kernel version from 4.2... to 3.13... Can this be done? I don't understand what access I have to the bootloader, whether GRUB runs as normal, ...
0
votes
0answers
17 views

Create a shared network folder between VM and host machine [duplicate]

I have a virtual machine with Linux setup and host machine on Windows. I would like to create a network folder that the Windows and Linux machine could share. Note that I would like a shared network ...
0
votes
1answer
10 views

Resize 5 Tb ext4 empty drive with Gparted takes 40 hs

I have an external 5 Tb drive connected via a USB3 port. I just formatted it to ext4, so it's completely empty. I told Gparted to resize it so as to leave some ~100 Gb of unallocated space at the ...
0
votes
2answers
47 views

Need help logging on to 192.168.1.1

trying to reset my security password- and same problem as listed- tried using admin for admin and password for password at http://192.168.1.1 but seem to have locked myself out. What should I do to ...
1
vote
0answers
64 views

How can I communicate to multiple devices that are all at the same IP address?

I work in a manufacturing environment and I have the need to communicate with up to 50 devices that are all at 192.168.0.2 from a single (Windows) computer. Assume that I don't have the ability to ...
0
votes
1answer
31 views

Screen ctrl+a key not working for going to start of line

I recently started using screen: ctrl+a key not working for going to start of line How do I configure it? Is there a better alternative over screen?
0
votes
1answer
27 views

corrupted Arch Linux OS after accessing partition from Windows 7(dual boot)

I have(had) Arch Linux as my primary OS on my laptop and then I installed Windows 7 to dual boot. All setup went very well and was working. After a day or two, I had installed ext2fsd to mount & ...
1
vote
1answer
30 views

Allow one User to Log into other Users (Sudo)

I'd like to give a particular user the ability to log on as any normal user (e.g. not root or daemon) and execute commands as that user. How can I do that safely? Currently my User sudo rights on a ...
0
votes
1answer
46 views

Move Linux Partitions, Dual Boot with windows

I'm not thinking about Expand Linux Partitions... I need Shrink (one, the larger) and move it (two, with the swap)... Here my HD from Windows View (Disk Management) Now, I want to reduce the last ...
0
votes
0answers
7 views

How to make Exceed-on-demand reload the PAM configuration?

after a change in the PAM configuration, I'd like to have Exceed-on-demand reload the PAM config, as it seems it not automatic... Is there a way to do it without killing all the running sessions?
0
votes
0answers
5 views

Tooltips of GTK applications are unreadable within KDE

My system is openSUSE 42.1 with Plasma 5. I have some GTK applications installed as well, and I'm experiencing a rather annoying behaviour from them. Namely, the tooltips of these apps are almost ...
0
votes
1answer
26 views

How to write a Bash script that accepts options?

I'm writing a Bash script to make easier to start a local webserver that I use for testing purposes; I don't need it running all the time, it is more useful to me to start it when I need it. Right ...
0
votes
0answers
26 views

Remotely enable Windows 10 RDP without physical access

Given that I have network access and valid login credentials to my Win 10 Pro machine which was upgraded overnight from Win 7, how do I remotely enable Remote Desktop Protocol on my newly upgraded Win ...
0
votes
0answers
10 views

Configure traffic class to bringup DCB in back-to-back setup on linux

OS :- CentOS 7.2 kernel 3.10.0-327.el7.x86_64 lldpad:- lldpad v0.9.46 dcbtool:- v0.9.46 ixgbe :- ixgbe-4.3.15 steps followed:- modporbe ixgbe service lldpad start Redirecting to /bin/systemctl ...
0
votes
0answers
13 views

Raspbian logins fails because of permissions

I don't know how, but the permissions for my user-home directory are issued, so I'm unable to login. Login works with the correct data, after that the screen is becoming black and I'm some moments ...
-1
votes
3answers
44 views

How to extract a specific line in multiple text file into a single txt file on linux?

I have 5000 txt files with the different data below that. I need a shell script to copy only line 11 (last line) of them into a single file and sort them from smallest to largest. for example: file1....
-1
votes
0answers
42 views

Enable - Disable Camera and Printer

How can I enable - disable all kind of cameras and all kind of printers for a specific user? Not in kernel space, so not using modprobe. OR Is there a way to use kernel module (like uvcvideo) for a ...
2
votes
1answer
34 views

socat and rich terminal again

I start socat on a terminal by executing socat - UNIX-listen:/tmp/sock Then I go to another terminal and start a program (by python) in such a way, that it appears to run in the first terminal, here ...
0
votes
0answers
22 views

Restrict internet access for a VM running on Linux with firewall rules

I have Red Hat 7 running on my workstation, and Windows 10, used for working with Windows programs, in a virtual machine running on KVM/QEMU. The workstation, fulfilling the role as hypervisor, and ...
0
votes
0answers
20 views

Cant dual boot Debian Jessie and Kali rolling

I had a successful build of Debian Jessie on my laptop. Then i decided to dual boot Debian with Kali rolling. I made a bootable usb via rufus (on my windows machine) and started. At first it didnt ...
0
votes
1answer
13 views

Creating tar.gz files of 10 mb each

I have a folder with about 50 files. I want to create small tar.gz files (10 mb each) out of these 50 files. I tried the split command tar cvzf - /dir | split --bytes=10MB - backup.tar.gz This does ...
0
votes
0answers
16 views

Does cgroup memory.limit_in_bytes use swap?

Does cgroup memory.limit_in_bytes require swap enabled in kernel for doing it's job? Since it doesn't really prevent from allocation to caches for me (disabled swapping)
0
votes
0answers
16 views

Install package without root privileges and compiling to specific directory

I would like to automatically install the required software in a shell script if it is not already present. I would like to use apt-get to install software (my example is gedit) to a specific ...
0
votes
1answer
27 views

Rsync only certain directories and only certain sub-directories within them

In /opt I have many different directories, some of which contain _pkg_linux_deb_ or _pkg_android_apk_ in the middle of their name. Those directories also contain many sub-directories, one of which is ...
1
vote
1answer
23 views

Does a page table itself have a virtual address?

If not, how does the kernel build a page table when creating a new process, and modify a page table entry when swapping in/out a page of a process? I think that instructions, running in either user ...
0
votes
0answers
17 views

Configuring Bidirectional Host Based Authentication in SSH

I have 3 servers (Ruby, Sapphire, Onyx) that I have been trying to setup passwordless (host based) authentication between for all users. I've configured the machines to use host based authentication ...
0
votes
0answers
20 views

linux - using built-in dnsmasq's tftp server transfer sample file to dhcp client

When dhcp client contacts dnsmasq's dhcp server to assign ip address, is there a way to transfer some file to dhcp client using built-in tftp server? dnsmasq.conf file contains following tftp related ...
0
votes
1answer
13 views

iptables for routing 8080 and 8443 to 80 and 443 respectively

I have the below script that creates my iptables. How can I make it so if I access IP_ADDR:8080 or :8443 it routes to 80 or 443 respectively? #!/bin/bash # Delete all existing rules iptables -F # ...
1
vote
1answer
19 views

Using Master Node for Internet

So I have a cluster of about 30 nodes. 29 nodes are run from the master node, which controls all the other nodes. Master node has access to internet. However other 29 nodes do not have access to ...
0
votes
0answers
15 views

Linux Mint 18 Scroll Direction Stuck

I just installed Linux Mint 18 Cinnamon, 64 Bit. I can't seem to get touchpad scrolling to be "normal" (instead of "natural"). In System Settings, I've tried toggling the "Reverse scrolling direction" ...
0
votes
1answer
12 views

Why is my Arch Linux VM not saving after a reboot?

I'm trying to set up my own Arch Linux install on a virtual machine, but I've found out that every time I reboot the VM it loses all my content. I think this is because I'm using a live ISO for Arch, ...
0
votes
0answers
12 views

tmpfs deleting files won t free the space

Using fedora@latest, I have /tmp mounted as a tmpfs. Sometimes i run some program which stores large files into it, until i fill it entirely. I try to delete some files manually, hoping to free ...
0
votes
0answers
48 views

8 GB micro sd-card pretends to be an 16 GB card

Hi guys so i managed to dd a 16 GB micro sd-card on a 8 GB micro sd-card and now the 8 GB card has 12 partitions, the last one with the size of 11.5 GB. this is the partition table: Disk /dev/...
0
votes
0answers
20 views

how to restrict sftp only users to specific folder within the chroot directory

I know there is different versions of this question. but I am trying to give each user a folder within chroot directory and he/she should not be able to navigate outside the assigned folder. What I ...