0
votes
0answers
2 views

Can Linux decapsulate double GRE encapsulation?

For an application when the packets arrive at the receiving host, those packets are double GRE encapsulated (IP Hdr + GRE Hdr + IP Hdr + GRE Hdr + payload packet). I am wondering if Linux kernel in ...
0
votes
0answers
3 views

Working custom distro from mint KDE

I want to make my own distro iso from my current mint 17.3 KDE but it seems every software that worked before, doesn't work anymore or it work but not with kde version. Tried with 4-5 different ...
1
vote
0answers
3 views

Mouse goes out Screen too far on the right side (Ubuntu,Kde)

Under Xfce I can put the mouse pointer to the right screen edge and still activate i.e. the lift of the maximized browser window. Under Kde the mouse pointer goes out farther and I have to move the ...
0
votes
1answer
5 views

FTDI Driver for Custom PID and VID

I have changed VID and PID of my ftdi board to 0001 and 0002. Now the com is not showing and the device is showing in unknown device. How can make a customize driver for it to get com port. Sorry ...
-1
votes
1answer
8 views

Can`t access my EC2 instance via IP/DNS [duplicate]

I have created my first EC2 instance, where I found this VPS have public DNS and IP, but I can`t access it via browser. I have deployment to that instance via deployhq and it works fine. I can even ...
0
votes
0answers
8 views

awk used for duplicate is failing while recreating same file

When i am running command below its just vanishing the complete data from the appirx.txt. Can any one explain the mechanism behind it.It might be basic question awk '!seen[$0]++' appirx.txt > ...
0
votes
0answers
12 views

Stop user from deleting file in directory

This is the scenario There is one directory /test which is owned by oracle.dba I created new user TEST who will have permission to create NEW files but it should not be able to delete the files ...
0
votes
4answers
12 views

How to show previous line to matching pattern with grep and not the matching line?

I know I can use -A, -B and -C to show surrounding lines but all of them also show the matching line. What I'm trying to make here is so, in this example file: foo bar I'd be doing something like ...
0
votes
0answers
4 views

How to enable IOMMU on Gigabyte 990FXA-UD5 R5

I've enabled svm and iommu in the bios, but I get "not available" from dmesg: root@xen:~# dmesg |grep -i iommu [ 0.000000] Command line: placeholder root=UUID=0b6a99ef-b56b-4d71-9f63-4895d0276674 ...
0
votes
0answers
3 views

Ubuntu - Removing MPFR and installing a new version from source

I am on Ubuntu Hardy Heron trying to compile gcc 4.4 from source. The problem is that I need MPFR version 2.3.2 or greater. I have MPFR version 2.3.1. I can verify this via running this small snippet ...
0
votes
0answers
7 views

How can I destroy carp VHID

after carp configuration on my IMS interface I see that I have also 2 INIT state vhid configured on EXT interface.How can I destroy this 2 vhids? Any suggestion? IMS: flags=8943 metric 0 mtu 1500 ...
-7
votes
0answers
23 views

How can I fix this problem?

I have try to create VPN on centOS 7, and meet trouble like this: How can I fix this problem?
0
votes
1answer
22 views

set alias for a directory

I am trying to set an alias that would allow me to quickly cd to the following directories: /home/user/asreera/Aravind/sample/src /home/user/asreera/Aravind/sample2/src First I set the variable: ...
1
vote
1answer
12 views

My backup_system.sh file didn't run under crontab

So i created a script used to backup system, i tested and it worked. Here's the script: #!/bin/bash backup_files="/home /var/spool/mail /etc /root /boot /opt" dest="/mnt/backup" day=$(date +%F) ...
1
vote
2answers
13 views

Apache 2 Virtual Hosts

I tried to add an second Domain to my dedicated server. My standard domain 1 should connect to normal /var/www/ path and my second domain should point to /var/www/domain. My enabled sites configs ...
0
votes
1answer
13 views

Linux distro for mobile screen remote access?

Are there any distros that have a UI made for mobile phones? I want to setup a server that can be accessed remotely with a phone.
0
votes
1answer
17 views

grepping particular matrix and printing it in single row

I have one file that contains key words word1 and word2 and under word2 there is a matrix as file.dat position1: [ 0.0000000, 0.0000000, 0.0000000 ] word1: 0.0000000 band: - # 1 ...
0
votes
1answer
6 views

Creating F2FS volume with specified size on Android

My smartphone is booted to the TWRP recovery and I'm running the ADB Shell as root on Windows. I have fully unmounted /data with the following command: umount /dev/block/mmcblk0p36 Then checked ...
0
votes
1answer
12 views

VNC to cloud server?

Is it possible to use VNC to access Linux? I set everything up and ran VNC from my Android phone using my servers IP. To my surprise I ended up with an image of my own desktop which was connected to ...
4
votes
1answer
219 views

Why do some Linux shell scripts use exec to run commands?

In a Linux bash script such as: exec /usr/lib/4.5/mono-service.exe ./AudioVideoRecorder.exe "$@" , why do I have to exec the command and not just run it without the exec part?
-1
votes
0answers
22 views

Does the Ubuntu Linux 16.04 daemon function execute a double fork?

Does the Ubuntu Linux 16.04 daemon function execute a double fork? If so, why is a double fork necessary?
0
votes
3answers
29 views

Combining several text files into a single csv

Input files: File: Article1.txt: paragraph1 It is a long established fact that a reader will...... paragraph2 It is a long established fact that a reader will...... paragraph3 It is a long ...
0
votes
1answer
16 views

The last log for reboot appeard twice

Does anyone know what's the meaning of my last command? reboot system boot 2.6.32-431.11.2. Sat May 28 15:06 - 05:01 (1+13:54) reboot system boot 2.6.32-431.11.2. Sat May 28 05:03 - 05:01 ...
0
votes
2answers
18 views

How to make a folder that set to a specific group automatically

How can a make a folder in linux which will be automatically set to the specific group and the permission is set to 770
0
votes
0answers
13 views

Arch Linux installation (dual-booting with UEFI Windows)

I've searched the web, the manuals, the Arch wiki, the Arch BBS and Stackexchange for answers prior to getting the guts to ask a question here. At this stage I'm just very tired, because I've spent my ...
0
votes
1answer
6 views

How to specify PRAGMAs in an sqlite3 command line call?

I create a SQLite file like this: sqlite3 output.db < myinserts.sql Unfortunately it takes hours, so I want to speed it up by using the following PRAGMAs: PRAGMA synchronous=OFF PRAGMA ...
-2
votes
1answer
16 views

SSL Strip Attack: Confusion with “echo 1 > /proc/sys/net/ipv4/ip_forward”

In the SSLStrip attack, one has to enable IP forwarding using the command : echo 1 > /proc/sys/net/ipv4/ip_forward I understand this command enables the host to work as a router forwarding ...
-1
votes
0answers
6 views

i keep getting this error, didnt use to get the part about rebuilding package cach. how can i fix this?

W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/jessie/InRelease: Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed ...
2
votes
1answer
16 views

sed whole string replacement not working

I have two scripts ins.sh and variable.sh. variables.sh holds various key-value pairs. ins.sh #!/usr/bin/env bash set -e # Exit upon error # This script generates a 64-bit system source ...
1
vote
0answers
6 views

VLAN setup via command line works, ifcfg-ethX.Y does not (CentOS 6.8)

I have CentOS 6.8 running in a Parallels VM. eth0 is bridged to the Ethernet adapter in the Mac. I need the CentOS server running a specific VLAN (10), so I have read this RHEL documentation. eth0 ...
1
vote
1answer
13 views

Setting path environment variable for desktop launchers

I set a custom $PATH in ~/.bashrc with PATH=$HOME/.bin:$PATH. When I launch the geany from the terminal it is able to find my custom build tools that are located in $HOME/.bin. When I launch Geany ...
1
vote
0answers
16 views

Why group-writable file works “unidirectionally”?

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ id uid=1048(rust) gid=1057(rust) ...
4
votes
4answers
193 views

What is a fast command line way to switch between multiple directories for system administration?

What is a fast command line way to switch between multiple directories for system administration? I mean, I can use pushd . and popd to toggle, but what if I want to store multiples and cycle through ...
0
votes
0answers
11 views

Cloud Linux Reboot Fail [on hold]

I have recently installed cloud linux, When I reboot the server by initiating the reboot command through ssh, the server does not work. I cannot access the server through SSH or anything.
-1
votes
0answers
15 views

Mouse double clicking when I only single click

My mouse registers a double click sometimes when I only single click. I don't want to buy a new mouse. Is there a software fix for this on Linux? I have been looking for a shell script, but no luck. ...
-2
votes
0answers
30 views

Install a package from SSH

This is my first experience with Linux. I want to install a package (named screen) and I have access to a SSH login which I use putty on Windows to do so. Is there a way to install screen from putty ...
1
vote
1answer
10 views

Can not succeed in excluding user in match directive in SSHD config

I’m having a problem with my sshd config. I want to limit all users of the group www-user to sftp use. All of them but the user yorunokoe. I saw that related question : How to exclude from a ...
0
votes
1answer
32 views

Bash script to add or subtract two numbers from user input

I am very new to Linux and am taking a course in it. Very excited to learn more. I am working on a script that asks user for two numbers, then asks whether user wants to add or subtract. I failed the ...
1
vote
0answers
6 views

unable to change i3wm scaling

I've installed Ubuntu 16.04 on a new laptop. When it logs in I have to change the scale for menu and title bars to 2 in the screen display menu, so the system icons and text is not super tiny. I want ...
2
votes
0answers
24 views

error thrown when using su -c: bash: no job control in this shell

I have written a script which should execute certain commands as another user and after execution is finished (success or failure) should logout immediately. I have read that I can use -c of su to ...
0
votes
0answers
21 views

How variables inside braces are evaluated [duplicate]

I'm new to shell scripting and I came across these expressions ${var:-val} and ${var-val} ${var:+val} and ${var+val} ${var:=val} and ${var=val} so how are they evaluated and what are the ...
0
votes
0answers
7 views

Check FN lock status (Dell XPS 13)

my Dell XPS 13 has a Fn-Lock (that's a key to use the Fn version of the F[1-12] keys without pressing Fn). Unfortunately, it doesn't have an indicator LED for it. setleds doesn't show it. Is there ...
0
votes
1answer
22 views

What does the file cpuid.h do?

I am trying to build GLIBC 2.14 from source. I keep getting the error message that cpuid.h was not found. What does that file contain and what purpose does it serve ? I have seen that cpuid.h is ...
0
votes
0answers
6 views

Unable to see any Wireless networks

I am running into problems with my wireless card on Debian Jessie. It uses the wl driver. dmesg shows this error: ERROR @wl_cfg80211_scan : WLC_SCAN error (-22) I am unable to see any networks ...
1
vote
0answers
11 views

Minecraft acting differently when started from terminal compared to started by cron job at start-up

So I use a CentOS Linux 7.2.1511 server, where I host a couple of things, amongst them a Minecraft server. Since from time to time server is rebooted I scheduled a cron job to run minecraft server on ...
0
votes
0answers
22 views

Why is a 'Trusted Network' Port More Secure?

I'm working through this tutorial ATM. http://www.cyberciti.biz/tips/using-nginx-as-reverse-proxy.html I'm planning on using NGINX for a simpler scenario but I'm curious as to why the tutorial ...
1
vote
0answers
15 views

GPU pass-through KVM Fedora 23

I am attempting to pass a GPU to a windows 10 VM running on a Fedora 23 host: Virt-manager Host: Fedora 23 Guest: Windows 10 64 bit guest UEFI OVMF GPU: R7 AMD Radon 250 is the GPU that I am ...
1
vote
1answer
19 views

Why the 1MiB should be used when setting the first partition?

As the arch install guide suggests (using parted to do the partitioning) (parted) mkpart primary ext4 1MiB 100MiB However, when checking the output of fdisk, the start of the partition is not ...
0
votes
0answers
18 views

Current display mode

Under the sysfs drm module I can obtain all available modes for a particular connector at /sys/class/drm/card0-*/modes. Is it possible or even logical to request the current state the card is in? All ...
0
votes
0answers
4 views

How do I connect to Hyper-V VM's serial port from Linux?

I run Linux as a virtual machine on MS Hyper-V hypervisor from Windows Server (2008 R2 and 2012 R2, 2016 would be nice as well) and I want to read output from the VM's serial port (one-way ...

15 30 50 per page