Language Selection

English French German Italian Portuguese Spanish

today's howtos

Filed under
HowTos
  • Help command

    Use the help command to display help about built-in Bash commands. A shell builtin is nothing but a command or a function, called from a shell, that is executed directly in the shell itself. No external command loaded from $PATH settings.

  • .bash logout

    The .bash_logout file is the individual login shell cleanup file. It is executed when a login shell exits. This file exists in the user's home directory. For example, $HOME/.bash_logout. This file is useful if you want to run task or another script or command automatically at logout. For example, clear the mysql command line history stored in ~/.mysql_history or to make a backup of files you can use this file.

  • How to convert man page to HTML on Linux and Unix

    e can easily convert all Linux man pages to HTML, text, or pdf format. To display online manual documentation pages in terminal on Linux, macOS, *BSD, and Unix-like systems, we use the man command. However, some man pages are long and might be hard to search when using less or most as a pager. Hence, we can convert them to HTML format and skimmed them in a web browser such as Firefox.

  • How to Restrict SSH Access to Certain Users in Linux

    OpenSSH (Secure Shell) is a standard connectivity program for logging into a remote machine using the SSH protocol for executing commands on the remote machine. It encrypts all network traffic between client and server to eradicate eavesdropping, connection hijacking, and other attacks.

  • How to Manage NodeJS Versions with n in Ubuntu 20.04

    If you are a Node.js developer who frequently switches between various applications and projects. Then you may need to find a tool that allows you to toggle between Node.js versions. In Linux, there are numerous utilities for managing several Node.js versions. Among these, the n Node version manager is a simple and useful tool for managing Node.js versions.

    In this tutorial, we'll show you how to use n to manage Node.js versions on Ubuntu 20.04.

  • Generate passwords on the Linux command line

    Most websites and applications ask users to create accounts with secure passwords so that they can provide tailored user experiences. While this tips the odds in favor of website developers, it certainly doesn't make life easier for users.

  • Identify network issues with SS command in Linux (with examples) - LinuxTechLab

    SS command in Linux is used to get various network/socket connection-related information from a Linux system. Previously we had used the Netstat command to perform the same operations but it has been long deprecated & was replaced with the ss command in Linux.

  • How to Secure your Ubuntu server with CSF Firewall - Cloudbooklet

    Install and configure CSF (Config Server Firewall) and secure your server.

    CSF is a popular security tool for Linux to secure the server with stateful packet inspection firewall (SPI), intrusion detection, a login failure daemon, DDOS protection, and control panel integration.

    In this guide you are going to learn how to install and setup CSF and also the essential commands to use the firewall on Ubuntu 20.04.

  • Install Mongodb Compass GUI in Ubuntu 20.04 LTS Linux - Linux Shout

    MongoDB is a No-SQL database but without any graphical user interface, hence to make things the developers of the Database also provides MongoDB Common, here we know how to install MongoDB compass in Ubuntu 20.04 Linux.

    The key difference to MySQL is that MongoDB is document-oriented. Document-based databases are designed for a schema-free structure. With MongoDB, there is no fixed table schema and therefore, for example, no mandatory relation tables and joins, which are becoming more and more complex with the further development and expansion of the database. Instead, relations can either be saved directly in the data record or, if necessary, created individually when querying the data.

    Whereas, MongoDB Compass is a GUI tool for MongoDB that helps the users to Create, Read, Update and Delete databases/data graphically. This means no need to run the Mongo commands line for every task. Compass quickly gives a picture of your schema and determines the frequency, types, and range of values ​​of various fields in your data records. It also gives you full control over index creation, document validation, and much more.

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.