Unix & Linux Weekly Newsletter
Unix & Linux Weekly Newsletter

Top new questions this week:

Server admin sent me a private key to use. Why?

I'm kind of new to ssh so forgive me if this is a stupid question. I'm supposed to be accessing a server in order to link a company's staging and live servers into our deployment loop. An admin over ...

/ ssh / security / key-authentication / administration  
asked by Toby 63 votes
answered by Wildcard 104 votes

Error in shell bracket test when string is a left-parenthesis

I used to be confident about the fact that quoting strings is always a good practice in order to avoid having the shell parsing it. Then I came across this: $ x='(' $ [ "$x" = '1' -a "$y" = '1' ] ...

/ shell / test  
asked by Claudio 26 votes
answered by Nominal Animal 25 votes

Is it possible to change the kernel in a UNIX/Linux system?

I wanted to know if it is possible to change kernels, for example, replacing Fedora's Linux kernel to that of FreeBSD's. Now, there already existed the Debian GNU/kFreeBSD. Is it possible for me to ...

/ linux / fedora / kernel / linux-kernel / gnu  
asked by Switch 15 votes
answered by Bratchley 20 votes

Why is this `grep -v` not functioning as expected?

I have a strange issue related to grep -v queries. Allow me to explain: To display connections I use who: $ who harry pts/0 2016-12-08 20:41 (192.168.0.1) james pts/1 2016-12-08 ...

/ command-line / grep / tty  
asked by perhapsmaybeharry 10 votes
answered by Stéphane Chazelas 17 votes

assign and inspect bash function metadata

I often generate and register a lot of bash functions that automate many of the task I usually do in my development projects. That generation depends on the meta-data of the project I am working on. ...

/ bash / function  
asked by yucer 9 votes
answered by AlexP 12 votes

Why is "who mil" allowed to produce no output?

In the 2016 edition of IEEE Std 1003.1-2008 (a.k.a. The Open Group Base Specifications Issue 7, or just the POSIX standard), the Rationale section of the who utility mentions the following: It is ...

/ history / posix / who  
asked by Rhymoid 7 votes

Sudoers blacklist

We need to add few users to the sudoers file on Linux. They should be able to to anything root can except the following: Should not modify, read, delete /nfsshare/config Should not modify, read, ...

/ sudo / sudoedit  
asked by sagar 6 votes
answered by maulinglawns 17 votes

Greatest hits from previous weeks:

Create a symbolic link relative to the current directory

I'm trying to create a symbolic link in my home directory that points to a directory on my external HDD. It works fine when I specify it like this: cd ~ ln -s /run/media/name/exhdd/Data/ Data ...

/ directory / symlink / ln  
asked by jcora 66 votes
answered by Evan Teitelman 82 votes

Zip all files in directory?

Is there a way to zip all files in a given directory with the zip command? I've heard of using *.*, but I want it to work for extensionless files, too.

/ command-line / wildcards / zip  
asked by tkbx 131 votes
answered by derobert 211 votes

Can you answer these?

Understanding multiple network interfaces and routing using OpenWRT

I have a single board computer running OpenWRT (GW5100). I inserted a wireless module to connect to Verizon's LTE network that looks like this: After reading documentation from the manufacturer and ...

/ networking  
asked by Dan Laks 3 votes

pnmixer doesn't work after installing pavucontrol

I'm using Manjaro Openbox and I tried to set up my microphone after the arch wiki I just changed in /etc/pulse/default.pa load-module module-alsa-source device=hw:0,0 # the line above should be ...

/ audio / alsa  
asked by Revo86er 3 votes

Efficient window size manipulation

On Gnome, you can usually set a window to occupy half of the screen with super + arrow. Is there any way I can bind hotkeys to manipulate window sizes more flexibly? e.g. bind a key to make window ...

/ gnome / keyboard-shortcuts / window-management  
asked by Woofas 2 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3