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

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 ...
1
vote
1answer
82 views
+100

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
24 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
18 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
30 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
19 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
10 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
49 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
23 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 ...
2
votes
1answer
25 views

Bash: amount of bytes used in a log file grouped by token

Assume a large log file of several GBs and several million lines where each line contains a token identifying the user account that generated the line. All tokens have the same length and can be ...
1
vote
1answer
54 views

Do I really need a Windows system in order to maintain Chocolatey packages?

As described in this Q&A I do not have a Windows system anymore. Do I really need a Windows system in order to maintain Chocolatey packages? Concerns Ketarin - will it run on Linux Powershell - ...
0
votes
0answers
13 views

Tboot TXT boot failed

I have followed Fedora's wiki to setup launch control policy with TXT enabled. here is the link: http://fedoraproject.org/wiki/Tboot After Tboot issues GETSEC, it reboots without any error message. ...
0
votes
1answer
10 views

How to configure Yum to update from self-hosted repository

I've been looking for help on this question for a while now- I have a redhat instance (which I'll call "A"), that I would like to use as a repository for updates, rather than the redhat-subscription-...
1
vote
3answers
596 views

Windows talking or sending commands to linux

In my particular use case I want my PC to be able to send commands to a Linux machine ,to execute a script on it . Is there a way to do this (via a network or some other method ) I am using Windows 7 ...
1
vote
0answers
42 views

Time difference on dual boot system (Windows 10 and 16.04)

I have a dual boot UEFI system with Windows 10 and Ubuntu installed. I have a problem related to the representation of RTC in the two system. Since I have read (on AU and some other sources around ...
0
votes
0answers
33 views

Midnight Commander VS Vim

A couple of months ago I started to learn how to use Vim (specifically, it's Vim 7.3 on Linux). Needless to say, I realized it's a powerful tool, and I seem to learn something new everyday with it. ...
0
votes
1answer
17 views

How to tell systemctl that service has started already

I have a service Unit-File mediation.service like this: [Unit] Description=Mobile-IP Log dumper [Service] Type=forking ExecStart=/opt/mediation/mediation start ExecStopPost=/opt/mediation/mediation ...
0
votes
0answers
27 views

command_not_found_handler not allowing cd command

I have the following code block in the ~/.bashrc file function command_not_found_handle { for dir in $@; do path="${path}${dir}/" done if [[ -d ${path} ]]; then echo "...
0
votes
1answer
29 views

Installing OpenGL in Linux?

I'd like to install OpenGL on my Debian live cd. I just need it to so a virtualbox windows guest can use it. It's a live cd so no changes will be saved, so the easiest way possible would be great. Any ...
0
votes
0answers
32 views

I have an issue with the cron

I have this script : #!/bin/bash if [ ! -e /home/mam/restart.lock ]; then touch /home/mam/restart.lock killall arma3server /home/mam/arma3server & fi I made a cron like that : * * ...
0
votes
2answers
54 views

What is the name of the command (function) that runs after a command has failed?

When run a command, if the command is not present, then some information regarding the failure of the command is displayed. I am trying to take the information about that failed command as input to ...
0
votes
1answer
14 views

How do I configure ipsec and xl2tpd to not use compression when connecting to VPN?

I have two config files: ./etc/ppp/options.xl2tpd.myvpn_name ./etc/ipsec.d/myvpn_name.conf and somewhere in one of them I need to say "no compression" because I error I get is: Unsupported ...
0
votes
1answer
29 views

Reclaim 100GB on disk not “seen” by fdisk but shown in parted

I am running Ubuntu 14.04 and am using lvm for the root and swap partitions. When I use parted ( or gparted) I see 110GB unpartitioned on /dev/sda . hari@Ubuntu02:~$ sudo parted /dev/sda unit GB ...
3
votes
1answer
290 views

Is it safe to share a swap partition with more than one Linux OS?

I have one swap partition, and 3 installed Linux OSes. So I'm just wondering, are there any safety risks or potential problems that can come about as a result of having all 3 OSes use this partition? ...
0
votes
0answers
23 views

Progress state: VBOX_E_NOT_SUPPORTED

deathstar> VBoxManage showhdinfo XP.vdi UUID: fa2d24af-bd52-4928-89d3-c8c5feeb7b75 Parent UUID: base State: created Type: normal (base) Location: /root/...
1
vote
1answer
44 views

How to create MBR bootable Windows USB installer from Linux?

In a Windows machine I have used Rufus for creating a USB installer for Windows. How can I do the same from Linux? I want to create a Windows USB installer (for Linux UNetbootin and many more tools ...
0
votes
0answers
106 views

How do I connect to an L2TP IPSec VPN in Ubuntu 16.04?

I have a clean install of Ubuntu 16.04 Linux hp 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Did an apt-get update and apt-get dist-upgrade I also ...
0
votes
0answers
16 views

Is partition required for Samba if using entire disk

I have two hard drives on my PC, one of them /dev/sda is installed with Ubuntu, and the other one /dev/sdb will be used for storage only. I will run Samba to share the space. I tried to format the /...
0
votes
0answers
35 views

Installing Veil Evasion on Ubuntu 16.04

I have been trying to install Veil Evasion on Ubuntu but i get the below error. Any help would be appreciated. als@desktop:~/Veil-Evasion/setup$ sudo bash ./setup.sh -c id: ‘als\nals’: no such ...
0
votes
0answers
38 views

Why can't I run Steam games with bumblebee optirun on NixOS?

I am having trouble running any Steam game on the dedicated nvidia video card. Bumblebee works great, I get 600 fps from running glxgears with optirun. When I use optirun on a steam game it gives me ...
0
votes
0answers
17 views

Mapping a smaller area of the pen tablet to the screen in Linux

I own a Huion 420 and use it to play osu! on my Windows desktop. The drivers provided by Huion for Windows work great. I use them to adjust the active area on the tablet to a 1.6"x1" instead of the ...
-1
votes
0answers
29 views

Mulitple Ubuntu Subsystems on Windows 10

Is there any way to have multiple Linux Subsystems on Windows 10, each one separate from each other? Thanks
0
votes
0answers
8 views

Editing a video

I used OpenShot Video Editor to concatenate a few videos of a vacation I recently went on. However, the first 18 seconds of the video is upside down; the rest of it is fine. Even though I am using ...
0
votes
0answers
19 views

linux: device not accepting address XX, error -32

since quite some time and across distribution updates (fedora 21-24) and kernel updates (now 4.5.7-300.fc24.x86_64) my system endlessly produces the following messages in the system-log (which is also ...
2
votes
2answers
35 views

Cannot find the process using most of RAM

I have 8 GB RAM running on Ubuntu. I notice that a lot of memory is used even when I don't run any programs. I used the top command to view the processes, sorted by resident memory they use. It showed ...