0
votes
1answer
13 views

Remove all files, except for two

I would like to delete everything in one folder, with the exception of two files: exec.js .git I found this: rm !(exec.js|.git) Which works in the CL, but when I try to store in a sh file, and ...
0
votes
0answers
4 views

Upgrading to Fedora 24 without updating the font

Fedora 24 includes an update of its default font Cantarell but I prefer the old version: How can I upgrade from Fedora 23 to 24 and keep the old font (or at least configure font rendering such that ...
3
votes
1answer
12 views

How to extract the string between two \n in a file

I have a file with pattern <span class="WebRupee">Rs.</span>\n29\n<br/><font style="font-size:smaller;font-weight:normal">\n3 days\n</font></td>, <td class=...
0
votes
0answers
8 views

How to share a connection between two interfaces

Okay so either I am dummer then I look or there is a real problem here. Fedora 23 Interface 1: enp9s0 192.168.1.137 255.255.255.0 Wired (Internet connection) Interface 2: wlp0s20u14 192.168.10.1 255....
0
votes
0answers
6 views

Hook serial port interrupt in FreeBSD

I need to write a program to react to the modem control lines changing in the serial port on my FreeBSD 10.3 machine. I don't want to read any data from it (there won't be any). I'm aware I can ...
-1
votes
0answers
10 views

Implement a blocked or synchronous method of message passing using signal interrupts?

using message queue IPC mechanism. please provide the source code for this. thanks in advance.
2
votes
4answers
62 views

Does ssh send the password over the network?

Basically the entire question is in the headline: Does ssh send the password over the network? Presuming of course that login via username and password is used. I'm asking because if ssh doesn't send ...
0
votes
0answers
7 views

Import/Export running GUI applications between localhost and SSH client running x11 forwarding?

I am running a Centos Linux server which I connect to using Putty/SSH with x11 forwarding enabled and an X11 server (Xming) running on the client machine... I am able to open GUI applications from my ...
3
votes
2answers
26 views

How can I stop vim from editing directories?

Sometimes I accidentally tell vim to edit a directory instead of a file in it vim directory-name # what I typed vim directory-name/blah.txt # what I meant to type Instead of immediately ...
1
vote
1answer
9 views

How do I remove the black translucent overlay over the background when I scale my windows in Linux Mint via editing the codes? Pics included

I know it's caused by themes as some themes has it and some don't. But I really like to keep my mint-Y-Dark theme as it looks awesome. And thus, this question arisen, I know there are some codes to it ...
0
votes
0answers
21 views

Why I can not open port on redhat?

I want to host sinopia (https://www.npmjs.com/package/sinopia) on the server. My problem is I can not open port for it. Default port for sinopia is 4873. OK. Lets start sinopia and then try to ...
-1
votes
2answers
29 views

what is the right syntax for watch command

I want to follow the word BLOCK in ufw.log file every two seconds I try this command: sudo watch BLOCK /var/log/ufw.log but I getting: sh: 1: BLOCK: not found what is the right command? Thank ...
3
votes
1answer
20 views

Why do I keep getting a “cannot connect to X server error”?

I am using the FLIR camera with my Raspberry Pi and running it on a Raspbian destro of linux. I've followed the instructions on the Github page perfectly when trying to setup the raspberrypi_video ...
0
votes
0answers
9 views

Turning off screen when lid is closed

How to disable auto suspend when I close laptop lid? explains how to disable suspension on lid close, but this method leaves the screen on, which is useless. How can one make the screen sleep while ...
1
vote
2answers
27 views

How to get last folder (sorted alphabetically in descending order and matching a pattern) using ls/find/etc?

So I have these filesystem structure /my.parent -> my.folder1 -> my-file1.txt -> my.folder2 -> my-file2.txt -> another-folder-here -> another-file.txt Using ...
0
votes
0answers
16 views

unknown filesystem grub rescue

I had Windows 10 installed in my laptop dual booted with Kali Linux 2016.1 rolling. When I did an update.. apt-get update && upgrade -y .. it started installing the packages but it got ...
2
votes
1answer
19 views

Starting Ettercap is giving me an error

I don't know if this is the right website or not, but at this point, I don't really care, because I'm at my wits end, to be honest. I have been stuck finding this problem online for the past 5 days, ...
0
votes
0answers
11 views

Gentoo on Samsung 850 evo

I want to use my Samsung 850 evo for Gentoo linux. I have read some posts about problems of evo 850 on linux, but they were about 2 years ago. Are there any problems with this SSD on linux, now? I ...
0
votes
0answers
1 view

Is there a OS-wide sound normalisation software compatible with Linux mint 18?

Well VLC have sound normalisation and that's cool but I like to have an OS-wide implementation of it, it is mostly for web browser videos but still... Or is there sound normalisation add-on for ...
-1
votes
0answers
9 views

Problem with Mint 18 and VMwareTools

just installed Mint 18 as a virtual machine using vmware12, the problem is i can't install vmware-tools, at first i tried to install open-vm-tools as it's recommended by Mint, but it didn't work, so i ...
0
votes
1answer
15 views

Functions in ~/.bash_profile not found in an interactive shell

I thought that whatever lies in .bash_profile(or .profile) which is sourced in a login-shell, is available in an interactive shell. My goal is to have available a list of functions, either in a login ...
0
votes
0answers
6 views

Album Shaper replacement suggestions [migrated]

When I shoot photos they are usually not in order. Back in the days I used Album Shaper to arrange photos (drag and drop) in a correct sequence, then export those photos to a new directory. Album ...
4
votes
2answers
53 views

How to set an alias across all tty shells?

I set an alias in shell tt2 but it won't work in other tty shells, any idea how to make a system wide alias ?
1
vote
1answer
7 views

Missing active graphics card indicator

Situation: I have upgraded two Nvidia Optimus laptops from Linux Mint 17.3 to version 18. Problem: After upgrade, and a fix for Nvidia drivers, I miss the applet in system tray indicating, which ...
2
votes
3answers
62 views

How complex can a program be written in pure bash? [on hold]

So after a very quick research, it seems bash/shell (whatever it is called) is a Turing-complete language : https://en.wikibooks.org/wiki/Bash_Shell_Scripting#What_is_Bash.3F I wonder, why is the ...
1
vote
3answers
25 views

Run application built on Ubuntu on CentOS

Is there a way to deploy an application, that you built on Ubuntu, on CentOS? And if so, how? EDIT: Sorry, I should have given some more info. It's built on Ubuntu 15.10 with Qt 5.6, and besides Qt ...
4
votes
2answers
158 views

Is there a mechanism that protects applications during library upgrade?

If user works on an application that is dynamically linked, and system is being upgraded, is there any protection mechanism that prevents application corruption? Or is it up to application?
1
vote
1answer
12 views

Iptables drop access to specific ip address except from my ip

I've got a dd-wrt router running and I want to block access to a wireless printer from all ip addresses except from the ip addresses that are allowed. let's say my printer's ip is 192.168.1.101 and my ...
1
vote
0answers
4 views

Linux Mint only “File” menu visible on menu toolbar

On applications like gedit and gimp only the "File" menu is visible on the menubar/toolbar. However I can still click on where other menus would normally be (e.g. "Edit", "Help") to access them. I ...
0
votes
0answers
17 views

Some websites load while others load forever in Linux Mint 18

I have installed Linux Mint 18 64 bit and noticed Google and Youtube and others loading flawlessly (even HD videos play) but some sites like Wikipedia don't show up even though the tabs in Mozilla ...
2
votes
3answers
25 views

Merge lines between keywords into one-line comma separated values

Between first occurrence of Cat to next occurrence of Cat, it should create a separate line with delimiter as ",". File input as below. Cat AA BB CC Cat AA-1 BB-1 CC-1 Output expected: Cat,AA,BB,...
0
votes
0answers
5 views

Trying to build (a)kmod package for acpi_call on Fedora, cannot be installed

I want to package a simple kernel module, acpi_call, for Fedora. For this I have followed the kmods2 instructions on RPM Fusion and got the following SPEC file: # Copyright © 2016 Martin Ueding <...
-2
votes
0answers
8 views

can I stream internet radio via tails?

What do I need to stream internet radio broadcast, apart from source, computer and broadband via router? Can I do it via Linux Tails?
0
votes
0answers
23 views

How to Change the Priority of Swap file?

Situation: change sda3's priority to 99 Characteristics Command cat /proc/swaps Filename Type Size Used Priority /dev/sda3 partition 8326140 54452 -1 /...
0
votes
1answer
27 views

Adding Function to array based on index

I am using Bash. I am trying to add a function to an array. I tried using: if [ $CONTROL -eq 0 ]; then array[$index]+=`function_name1` fi if [ $CONTROL -ge 1 ] && [ $CONTROL -le 20 ]; ...
0
votes
0answers
3 views

How to list which LPARs are related to a VIO?

Before shutting down a VIO server, "all the LPARs related to the VIO needs to be shut down". Question: how to find out, which is related? VIOs could be network or storage VIOs afaik. Maybe not all ...
0
votes
0answers
7 views

indicator-multiload: Gdk-CRITICAL

I am on Linux Mint 18, upgraded from 17.3, I am trying to install and run a functional version of indicator-multiload any version I tried gives me error like this (indicator-multiload:13619): Gdk-...
1
vote
0answers
12 views

Why so many `scsi 4:0:0:0: CDB: Inquiry: 12 00 00 00 24 00` in my message log?

My os is debian8. cat /var/lgo/messages Jul 23 16:56:27 hwy kernel: [ 117.736167] scsi 4:0:0:0: CDB: Jul 23 16:56:27 hwy kernel: [ 117.736168] Inquiry: 12 00 00 00 24 00 so many Jul 23 16:56:...
0
votes
0answers
2 views

How to know which VIO is for network and which for storage?

Question: How to know which VIO is for network and which for storage? besides naming convention, what are the commands/methods to check, what does the VIO do?
4
votes
2answers
192 views

Is there a way for shell script to know which program has executed it?

In *nix world, is there a way for shell script to have information about which program has executed it? Example: /path/to/script1 /path/to/script_xyz in this imaginary scenario, script_xyz would ...
0
votes
0answers
5 views

My deepin Linux only shows me background wallpaper when I login. I

I decided to login with kodi, so I choosed kodi from the login screen of deepin Linux then after using it for a while I restart the PC and login to deepin but only the background wallpaper is shown....
0
votes
1answer
10 views

Can I jump to a jump by its number in vim?

If I execute :jumps command it shows me a list of previously visited files/lines jump line col file/text 97 152 0 ... Can I jump to a jump by the jump number without iterating over them by ...
1
vote
1answer
12 views

Building debian kernel package with custom configuration

I'd like to build a jessie kernel with my configuration. For that: I download an original tarball of the kernel, debian tarball for the kernel, and "dsc" file. Issue a command dpkg-source -x ${...
0
votes
1answer
8 views

How authentication is done between two nodes in tcp/ip or udp client server socket

I have a client socket program and server socket program in C TCP/IP . I execute the server program first on a port say 5000 and then executes client program on the same port and then server respond ...
0
votes
0answers
13 views

How to Study Effect of zram on Memory Size and Paging?

Situation: to study the effect of zram's virtual memory compression (wiki) on memory's size and its speed Motivation: I experience no effect on the memory's size but increased amount of errors from ...
1
vote
0answers
5 views

At boot time, “Waiting for /dev to be fully populated” forces a reboot

I run Linux Mint Debian Edition (LMDE2, Debian 8.1). All updates are installed. About 50% of the time I boot my laptop, it crashes and forces an immediate reboot. The message I last got from the ...
0
votes
0answers
10 views

Error installing On a GPT parritioned Harddrive [on hold]

I have a GPT partitioned hard drive... I've windows 10 pre installed, I've tried installing Windows 7 alongside windows 10, It couldn't due to GPT partitioned drive, So i am wondering if Linux mint ...
0
votes
0answers
12 views

No GUI after upgrade in Kali linux

I have upgraded my system yesterday using synaptic. I have continued installing even though some files were missing after download. Then after restarting, there is no GUI. The screen stops at Kali ...
0
votes
1answer
6 views

Active graphics card Unknown after upgrade to Linux Mint 18

Situation: I have upgraded two Nvidia Optimus laptops from Linux Mint 17.3 to version 18. Problem: After upgrade, Nvidia Optimus does not work, both laptops booted into Cinnamon fallback mode. ...
1
vote
0answers
14 views

Meta Keys on Linux Running on a Macbook

Regular keyboard designs have a several meta keys. Most of them appear twice, to the left of the space key, and to it's right. Shift, Ctrl, and the Windows/Apple key are of this kind. The alt key ...

15 30 50 per page