nixCraft Linux / UNIX Newsletter

Link to [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format

Linux hide processes from other users and ps command

Posted: 21 Jan 2019 12:06 PM PST


I run a multi-user system. Most users access resources using SSH client. How can I stop leaking process information to all users on Linux operating systems? How do I prevent users from seeing processes that do not belong to them on a Debian/Ubuntu/RHEL/CentOS Linux server? Is there any way to hide other users process when running ps command?

The post Linux hide processes from other users and ps command appeared first on nixCraft.

Understanding Bash fork() Bomb :(){ :|:& };: code

Posted: 21 Jan 2019 10:59 AM PST


Can you explain the following bash code or bash fork() bomb code?

The post Understanding Bash fork() Bomb :(){ :|:& };: code appeared first on nixCraft.

vim-plug: A beautiful and minimalist vim plugin manager for Linux/Unix users

Posted: 21 Jan 2019 10:01 AM PST


A vim plugin manager is a must for any die-hard vim user. You can find a few option available out there. My personal favorite is vim-plug which is a beautiful and minimalist plugin for vim. Let us see how to install and use this plugin on Linux or Unix-like system.

The post vim-plug: A beautiful and minimalist vim plugin manager for Linux/Unix users appeared first on nixCraft.

How to override content type with Nginx web server

Posted: 21 Jan 2019 04:38 AM PST

I configured Nginx server. However, it is sending the wrong content type. I need to force Nginx to send specific "Content-Type: text/xml; charset=UTF-8". How do I configure Nginx to override content type for given URL location?

The post How to override content type with Nginx web server appeared first on nixCraft.