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
1answer
48 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
27 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
29 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
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
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
21 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
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
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
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
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 ...
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
100 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 ...
0
votes
0answers
35 views

SSH tunnel double hop

On my Raspberry Pi at home, I have a reverse SSH tunnel to my VPS server using these instructions: http://www.tunnelsup.com/raspberry-pi-phoning-home-using-a-reverse-remote-ssh-tunnel On the ...
0
votes
1answer
14 views

How to zip files with --junk-files and create top level container

I have file with filepaths that I want to zip. At the moment I'm doing it like this: zip files.zip -j@ < filepaths.txt This works, but it creates .zip file that, when unzipped, unzips all of it'...
0
votes
1answer
22 views

Wrong available memory with LXC virtualization

I have virtualized operation system using LXC virtualization. That system reports wrong available memory - it is always same as free memory. By experiments I was able to use more memory than amount of ...
0
votes
0answers
27 views

Temporary change letter with another lookalike [Linux Mint]

Recently, I was succesfully changed letter o with some looklike letter. Now I wanna also change my letters a and e with this one ᶏ & ҽ, using xmodmap. (than I will create script to enable/ disable ...
0
votes
1answer
35 views

Failover between multiple gateways

I have a CentOS server running Centreon (a monitoring solution similar to Nagios) to monitor devices in multiple networks. The server could access the internet via 4 different gateways/routers, each ...
1
vote
2answers
30 views

Does updating the firmware as required by a Linux distbution alter the machine for use with a different OS? (i.e., Windows)

I'm trying Lubuntu and seeing the same error as here in version 16.04 (Ask Ubuntu question): *starting configure network device [ 110.081458] b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found [ ...
-1
votes
1answer
17 views

how to decrypt SSH packets captured on Wireshark tool on a SUSE Linux box

Actually i want to compare two ssh clients, custom client(using OpenSSH library) and PuTTY. And see what commands are being sent. i am using Wireshark on SUSE linux box for capturing network packets. ...
0
votes
0answers
6 views

Configure initramfs-tools to make more than one set of images

As it stands, update-initramfs will go through the files underneath /etc/initramfs-tools and build initial RAM disks for each kernel under /boot. All of these images are built from the same ...
0
votes
0answers
16 views

Video concatenation excruciatingly slow

I tried using OpenShot Video Editor to concatenate a few videos of a vacation I recently went on. However, the process seems to be taking forever; I really do not want to leave the computer on all day....
0
votes
0answers
21 views

How can I mount a Galaxy S6 in Linux?

So, somehow my S6 factory reset while it was in my pocket while I was climbing. Still not sure how. But I need to recover the photo files off of it, whatever might still be left in the slack space. I ...
0
votes
1answer
8 views

VBox Debian/Ubuntu - Automatically mount shared folder

I've searched some tutorials and posts - how to automatically mount shared folder in Virtual Box (using version 5.0.24) for Debian (using version 8.0 ). I think that Ubuntu's process is the same. I'...
0
votes
0answers
11 views

Qt qbs, compile error: unable to locate 3rd party library file

I am working on a project which has several levels. Personally, I am new to qbs and there are not many document and examples on the internal about qbs. environment: Qt5.6.1; Qt creator 4.01; Ubuntu ...
0
votes
1answer
24 views

Linux: list all matches in 'which' command

'man which' says: --all, -a Print all matching executables in PATH, not just the first. But when I do that, I get: > which --all g++ --all: Command not found. /usr/bin/g++ > which -...
0
votes
1answer
30 views

Can not remove i915 driver and module Linux Mint

I have faced with the next issue: I can not remove i915 driver and module. I have installed nvidia driver for Geforce 920M card but during OS installation it was installed i915 driver as well. How ...
0
votes
2answers
50 views

More computing bang for your buck on Linux? [closed]

I have both a Linux box (running Debian) and a powerful Windows desktop running XP. At work I have a Windows 8 machine. I notice that my Linux box, even though it is just a little Zotac seems to ...
0
votes
1answer
24 views

CPU time count on HyperThreading systems on linux

I am trying to estimate the amount of work a multithreaded application takes. That is quite a simple task with real cpu/cores as I can just take the CPU time from proc and that will be an estimation ...
1
vote
1answer
27 views

Using netcat to log traffic to a file

I currently have a Windows 10 laptop connected to a Ubuntu 12.04 Laptop via Ethernet. All of the traffic from the windows system has been routed to go through the Linux laptop and out the Linux ...