nixCraft Linux / UNIX Newsletter

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

How To: Ubuntu / Debian Linux Regenerate OpenSSH Host Keys

Posted: 09 Jun 2018 08:11 PM PDT


How do I regenerate OpenSSH sshd server host keys stored in /etc/ssh/ssh_host_* files? Can I safely regenerate ssh host keys using remote ssh session as my existing ssh connections shouldn't be interrupted on Debian or Ubuntu Linux? How do I regenerate new ssh server keys? How to regenerate new host keys on a Debian or Ubuntu Linux?

The post How To: Ubuntu / Debian Linux Regenerate OpenSSH Host Keys appeared first on nixCraft.

Show All Running Processes in Linux using ps/htop commands

Posted: 09 Jun 2018 08:09 PM PDT


How do I see all running process in Linux operating systems using command line or GUI options? How can I show all running Processes in Linux operating system?

The post Show All Running Processes in Linux using ps/htop commands appeared first on nixCraft.

Linux Display Bandwidth Usage on Network Interface By Host Using iftop command

Posted: 09 Jun 2018 08:07 PM PDT


The iftop command listens to network traffic on a named network interface, or on the first interface, it can find which looks like an external interface if none is specified, and displays a table of current bandwidth usage by pairs of hosts. The iftop is a perfect tool for remote Linux server over an ssh based session.

The post Linux Display Bandwidth Usage on Network Interface By Host Using iftop command appeared first on nixCraft.

Linux / UNIX: Find Out If File Exists With Conditional Expressions in a Bash Shell

Posted: 09 Jun 2018 08:05 PM PDT


With the help of BASH shell and IF command, it is possible to find out if a file exists or not on the filesystem. A conditional expression (also know as "evaluating expressions") can be used by [[ compound command and the test ([) builtin commands to test file attributes and perform string and arithmetic comparisons.

The post Linux / UNIX: Find Out If File Exists With Conditional Expressions in a Bash Shell appeared first on nixCraft.