Viewing: Linux

How to speeding up SSH session creation

You can reuse OpenSSH connections to the same server when you want to open subsequent connections to the same server. For example, if I ran ssh vivek@server42.cyberciti.biz, the ssh client will establish a new SSH connection. It usually takes only a few seconds. However, if I run ssh vivek@server42.cyberciti.biz command again, connecting to a server42.cyberciti.biz […] Read More

Why HTTPS for Everything?

HTTPS enables privacy and integrity by default. It is going to be next big thing. The internet’s standards bodies, web browsers, major tech companies, and the internet community of practice have all come to understand that HTTPS should be the baseline for all web traffic. Ultimately, the goal of the internet community is to establish […] Read More

Awesome Git Commands & Best Practices Cheat Sheet For Sysadmin and DevOPS

Git is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for software development, but it can be used to keep track of changes in any files. This cheat-sheet is useful for both sysadmins and programmers/devops peeps. You can download […] Read More

A list of online tutorials and resources to help you learn bash shell

Bash (Bourne-Again SHell) is a Linux and Unix-like system shell or command language interpreter. It is a default shell on many operating systems including Linux and Apple MacOS X. Shell scripts are a fundamental part of the Unix programming environment. Here are a list of tutorials and helpful resources to help you learn bash scripting […] Read More

How to change default shell in Linux

Want to change the default shell in Linux/Unix/MacOS? Try: chsh -s /path/to/shell user For example, set the shell to /usr/local/bin/zsh for user tom, enter: which zsh chsh -s /usr/local/bin/zsh tom For more information see Howto: Changing Linux Login Shell […] Read More

Issue #1

{PHP} PHP 7.0.13 released {Debian} Debian 9 drops support for powerpc {Security} A fake SSH server that lets everyone in and logs their activity {Docker} Docker in production: A history of failure {Editor} Buttery smooth Emacs {Kernel} The status of Linux kernel hardening {Hardware} Warning: 2016 MacBook Pro is not compatible with Linux. You should […] Read More

Windows and Linux according to mighty Google

Here is a humorous take on age old Windows vs. Linux fanboy battel: VS […] Read More

Find the oldest file in Unix or Linux file system

So I wanted to know the oldest file on my Debian Linux box. find / -type f -printf '%T+ %p\n' | sort | head -n 1 Here is an another example for /etc/ find /etc/ -type f -printf '%T+ %p\n' | sort | head -n 10 So find command finds all files in / and […] Read More

virsh destroy && virsh undefine = Delete a guest VM on Linux KVM after creating it with virt-install

If you created a KVM guest from the command line with first install. Say, after sometimes you do not need a guest VM. However, how do you I delete this KVM guest from the command line? The answer is simple: virsh destroy VM_NAME && virsh undefine VM_NAME Of course as usual stuff in IT may […] Read More

1 2