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

1
vote
0answers
14 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
14 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
35 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
36 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
28 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
11 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
48 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
69 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
34 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
29 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
33 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
49 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
28 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
30 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
45 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
43 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
35 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
22 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
14 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
17 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
17 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
28 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
21 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
14 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
20 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
18 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
13 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
23 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 ...
2
votes
0answers
30 views

Changed root password on Centos server. Afterwards I can't connect from SSH on my pc

I was able to connect to my centos server using ssh (PuTTy) normally. After I changed the root password of the VPS through my host's control panel I haven't been able to connect to my server via SSH ...
0
votes
2answers
28 views

Running a DHCP server without conflict

I have a single chip computer running ubuntu on it and I want to run a dhcp server on it to give addresses to any machine connected directly to it. Since it is a portable computer, I regularly connect ...
0
votes
1answer
21 views

How do I change my MAC address on GNU/Linux?

I'm trying using macchanger (ip link set wls1 down, macchanger -r wls1 and ip link set wls1 up) but it doesn't work. When I try to connect to my wifi the MAC address is set to the default value... It'...
0
votes
0answers
23 views

Bash - Removing all but a single number in output of command

I'm working on a script to process all images in which the standard deviation is less than a certain threshold, e.g., if overall SD is less than 50 in x image, do y to x. The command I am using to ...
1
vote
1answer
30 views

How to change SYSIN and SYSOUT (curses mode) for a background process to another terminal session (screen utility)?

I currently run an background process started by a deamon process. It has no terminal and works fine as it doesn't have any screen i/o. It is started via a shell script which I can change. The shell ...
2
votes
1answer
101 views

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/...
0
votes
1answer
25 views

syntax error near unexpected token `(' writing bash function

I have testapi() { docker-compose -f /home/me/projects/api/docker-compose.yml run -e "API_BRANCH=${1-master}" --rm api_test ;} It causes error: $ src bash: /home/me/.bash_profile: line 56: syntax ...