How do I set up WireGuard Firewall rules (iptables) in Linux?
[continue reading…]
debian
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?
[continue reading…]
[continue reading…]
I have created/launched Amazon Machine Image (AMI) instance powered by a CentOS/RHEL/Red Hat Enterprise Linux. How can I connect to my instance using OpenSSH Linux/Unix/OSX ssh client?
[continue reading…]
[continue reading…]
I am a new Unix shell programer. How can I extract the directory name from a full path (say /nas01/data/backups/file.tar.gz)? How do I get directory name from its path on a Linux or Unix-like system?
[continue reading…]
[continue reading…]
I am a new Linux user. I use scp to upload files to net-storage provided CDN company. I do not want to overwrite the existing files. How can I prevent overwriting of files when using scp command under Linux, Mac OS X or Unix like operating systems?
[continue reading…]
[continue reading…]
I am a new vi / vim text editor user and I know how to quit without saving changes. What if I want to wipe out all of the edits I have made in a session and get back to the original file? How do I wipe all changes since opening a file?
[continue reading…]
[continue reading…]
How do I use rsync command to sync files to a remote host called web-42.vps running VSFTPD ftp server? Can you give me rsync ftp example for Unix like operating systems?
[continue reading…]
[continue reading…]