Showing headlines posted by tecmint
« Previous ( 1 ... 10 11 12 13 14 15 )How to Create an SSH Key Passphrase in Linux
SSH keys are commonly used without a passphrase. This is especially true when automating tasks because no human is expected to be available to type in the passphrase. Nevertheless, the use of SSH key passphrases is recommended for interactive users.
How to Generate Self-Signed SSL Certificates using OpenSSL
Ideally, SSL certificates are issued by publicly trusted certificate authorities (e.g. Let’s Encrypt, Comodo, Verisign) to provide authentication and encryption on the internet. However, you could obtain an SSL certificate without going through a third-party certificate authority — this is what is referred to as a self-signed certificate.
LFCA: Learn to Manage Time and Date in Linux – Part 6
Time is crucial in any Linux system. Multiple services such as crontab, anacron, backup and restore services depend on accurate time to carry out their tasks as expected.
How to Use Break and Continue in Shell Scripts
In this article, we will take a look at how to use a break and continue in bash scripts. In bash, we have three main loop constructs (for, while, until). Break and continue statements are bash builtin and used to alter the flow of your loops. This concept of break and continue are available in popular programming languages like Python.
How to Set Static IP Address on Ubuntu Linux
On Ubuntu 18.04 and later versions, there is a new way to set an IP address i.e., Netplan. This tutorial describes how to set an IP address from the command line on Ubuntu Linux by using the Netplan utility.
How to Batch Convert PNG Images to JPG Format in Linux
Although PNG offers a better image quality compared with JPG, the large size factor is usually a concern for Internet users. This is typically why PNG images are converted to JPG.
How to Use until Loop in Your Shell Scripts
In bash for, while, and until are three loop constructs. While each loop differs syntactically and functionally their purpose is to iterate over a block of code when a certain expression is evaluated.
Until loop is used to execute a block of code until the expression is evaluated to be false. This is exactly the opposite of a while loop. While loop runs the code block while the expression is true and until loop does the opposite.
Until loop is used to execute a block of code until the expression is evaluated to be false. This is exactly the opposite of a while loop. While loop runs the code block while the expression is true and until loop does the opposite.
How Do I Escape Spaces in Paths for Scp in Linux?
The Secure Copy tool (scp) is an easy way to securely copy files to and from remote computers. But frustration can easily set in when scp does not work correctly due to spaces in file names and/or folder paths.