Related news
-
Monit alert/exec when host is back to normal
Published: 20/04/2018I use Monit to quick check uptime of Elasticsearch service. Here is my configuration: check host [Elasticsearch]-test with address 1.2.3.4 if failed port 9200 protocol http then exec "/alerting/monit2 ... Read moreSource: unix.stackexchange.com -
-
How to join elements of an array in POSIX delimited by a space?
Published: 20/04/2018The following works in a Bash script: PACKAGES=( 'curl' 'git' 'htop' 'mc' 'tree' 'vim' ) apt --yes install ${PACKAGES[@]} But how can I do the same in POSIX so that I can use it in a #!/bin/sh script? Read moreSource: unix.stackexchange.com -
How to find out information on an installed package
Published: 20/04/2018Is there a method for find out information about an installed package? Such as how it was installed such as via a package manager such as DNF, snap or compiled by the user? Sometimes I can't remember ... Read moreSource: unix.stackexchange.com
-
text file search yyyy/mm/dd and replace with yyyy-mm-dd
Published: 20/04/2018I have a file with many tags in the form of yyyy/mm/dd as in the line below and want to replace the / with - to give yyyy-mm-dd at all instances in the one file. e.g. from this: <tag k='start_date' ... Read moreSource: unix.stackexchange.com -
How to prevent text file creation by wget in cron job run?
Published: 20/04/2018I am using bellow to run a page every hour in my Virtualmin installed on CentOS 7 wget https://domain.tld/index.php?page=cron > /dev/null 2>&1 but it creates below files every hour when cron ... Read moreSource: unix.stackexchange.com -
OverlayFS - files deleted in current merged dir (mountpoint) don't persist when merged dir remounted as lower - limitation or bug?
Published: 20/04/2018On Debian Stretch (running as root) this the current behaviour: # Create base directory mkdir base touch base/example # Create merge, upper and work directories for 2 layers mkdir layer1 layer1.upper ... Read moreSource: unix.stackexchange.com
-
Chris Siebenmann: Spam from Yahoo Groups has quietly disappeared
Published: 20/04/2018Over the years I have written several times about what was, at the time, an ongoing serious and long-term spam problem with email from Yahoo Groups. Not only was spam almost all of the Groups email th ... Read moreSource: utcc.utoronto.ca -
CUPS manual duplex printing on Dell E525w Color LED all-in-one in Linux Mint
Published: 20/04/2018Dell's Linux support for this printer is limited to a .ppd file that hasn't been updated since 2015, and that doesn't support the manual duplex mode that is apparently hard-coded into the printer's fi ... Read moreSource: unix.stackexchange.com -
remove every alternate Nth line matching pattern
Published: 20/04/2018I have a file similar to this; where I want to remove every fourth line containing POPEL term and the lines not containing POPEL term should be unchanged. Is there any shell commands which I can use t ... Read moreSource: unix.stackexchange.com
-
How do I get my wireless USB mouse working
Published: 20/04/2018My wireless USB mouse is not plugging and playing. This is my first time using linux (Ubuntu 12.04) and I'm trying to get a development environment going to learn to use the shell, Python, and other t ... Read moreSource: unix.stackexchange.com -
Need help search multiple condition from a file.
Published: 20/04/2018OS: window 7 shell : korn shell I have 2 file , i'm need grep data according File_1 from file 2. Code: --------- File_1 Read moreSource: www.unix.com -
Remove files/folders that start with "." [duplicate]
Published: 20/04/2018This question already has an answer here: How to match * with hidden files inside a directory 3 answers This command: rm -rf "$HOME/.quicklock/locks/"* does seem to remove files or folders in the lock ... Read moreSource: unix.stackexchange.com
-
How can we easily revert the changes made by experiements with unfamiliar commands?
Published: 20/04/2018Sometimes I would like to experiment with some commands which I am unfamiliar with (e.g. xmodmap ), and also have the ability to revert the changes very easily without knowing much about the commands ... Read moreSource: unix.stackexchange.com -
How to use ifconfig to show active interface only
Published: 20/04/2018By default ifconfig will show me all available interfaces , but what if I just want to display active ones? Like, en0 only in below. en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> ... Read moreSource: unix.stackexchange.com -
scp error while attempting to copy files
Published: 20/04/2018I use scp to transfer files from my android to my MacBook which works like a charm. But I have a folder called John's folder on my MacBook so when I attempt to copy a file inside that directory like s ... Read moreSource: unix.stackexchange.com
-
library missing. what to install for these .pc files
Published: 20/04/2018First attempt to build netplan.io on Debian 9 and have the errors below. Can you tell me what I need to install? Package yaml-0.1 was not found in the pkg-config search path. Perhaps you should add th ... Read moreSource: unix.stackexchange.com -
What is the difference between "query"? , "query"* , and nothing? (in command find)
Published: 20/04/2018I tried man and searched a lot, but I couldn't find what is this for and the meaning of that. find /dev -name "query" find /dev -name "query"? find /dev -name "query"* Thanks in advance. Read moreSource: unix.stackexchange.com -
How can I fix bluetooth issues which are affecting booting time?
Published: 20/04/2018I've recently installed xubuntu 17.10. I noticed some error messages while booting. Here's the my dmesg output(only errors and their previous lines): ... [ 13.717201] usb 5-3: USB disconnect, device n ... Read moreSource: unix.stackexchange.com
-
macOS: top command - MEM usage stays constant during process execution
Published: 20/04/2018I am monitoring a running process with the following information: As time passes I expect the physical RAM value (MEM) to increase as the program starts saving computations in memory or simply vary. N ... Read moreSource: unix.stackexchange.com -
How shall I convert a modifier map into an xmodmap expression?
Published: 20/04/2018The output of xmodmap -pke provides a keymap table which contains keycode 133 = Super_L NoSymbol Super_L keycode 206 = NoSymbol Super_L NoSymbol Super_L The output of xmodmap -pm provides a modifier m ... Read moreSource: unix.stackexchange.com -
awk command to display particular pattern
Published: 19/04/2018Hi I am using awk to print 10,11 column but it is not displaying required output. Please let me know how I can browse through the line and extract the required one Example: I have below 2 lines in fil ... Read moreSource: www.unix.com
Related Hashtags
Most read
FACEBOOK
Loading...