How To Cat EOF For Multi-Line String In Linux Bash?

How To Cat EOF For Multi-Line String In Linux Bash?

The cat command is used to put given content to the specified output. If the content is a multiline string, text, or script putting it directly from the command line is a bit tedious. the “Here Documents” can be used to put content to the specified file in an interactive way. The cat, EOF, << … Read more

Certbot SSL/TLS Certificate Renew

Certbot SSL/TLS Certificate Renew

Certbot can be used for different SSL/TLS related certificate operations. Certbot provides free SSL/TLS certificates in order to be used with the HTTPS connections. The “certbot renew” command is used to renew existing SSL/TLS certificates. Every SSL/TLS certificate has an end of time. By using the “certbot renew” command the certificate can be renewed which … Read more

“Read-only File System” Error and Solutions

"Read-only File System" Error and Solutions

The “Read-only file system …” is an error that is related to the file system. This error may occur in different situations for different reasons. This error simply expresses that the target file system is mounted as read-only mode and it can not be written or changed. Read-only File System Error Cases There may be … Read more

What Is sh Shell In Linux?

What Is sh Shell In Linux?

Linux is a command-line operating system. As a command-line or shell-based operating system, it provides a different shell in order to use, manage and execute commands. The sh is a popular term and shortcut used to describe the Bourne shell in Linux. Bourne shell is a very simple shell that is provided with most of … Read more

Create SOCKS Proxy Via SSH Tunnelling

Create SOCKS Proxy Via SSH Tunnelling

SSH or Secure Shell is a very popular and secure protocol used to connect and sent commands to remote systems in an encrypted way. SSH also has other powerful features like proxying traffic from the client to the remote server. This feature is also called SSH Tunneling. The client connects to the remote SSH server … Read more

Linux Bash “Permission Denied” Error and Solutions

Linux Bash "Permission Denied" Error and Solutions

Linux bash can be used to run and execute scripts, programs, applications, and commands in a fast and practical way. When a script, program, application, or command is tried to be executed there may be errors like “Permission Denied“. This error can be caused for different reasons. In this tutorial, we list some solutions to … Read more

Make Bash Shell Safe with “set -euxo pipefail”

Make Bash Shell Safe with "set -euxo pipefail"

Linux Bash provides the scripting capabilities which is very familiar with programming languages. By using the Bash shell complex applications can be developed. For example, years ago a lot of CGI web applications are developed with the Linux Bash scripting language. But while developing bash scripts there are a lot of pitfalls because it is … Read more

Linux smbclient Command Tutorial

Linux smbclient Command Tutorial

SMB is a popular protocol used to share files over the network. Even it is created for Windows operating systems it is supported by Linux distributions too. The smbclient command can be used to access Windows shares easily. By using smbclient the remote Windows shares can be listed, uploaded, deleted, or navigated easily. The smbclient … Read more

How to Mount CIFS Windows Share In Linux?

How to Mount CIFS Windows Share In Linux?

CIFS is a network-based file-sharing protocol which is used to share file, folders, and data over the network. The Windows, Linux, MacOSX, and other operating systems support the CIFS which makes it very useful to share files and folders over different operating systems. Both the SMB and CIFS protocols are developed by Microsoft and they … Read more

Linux zgrep Command Tutorial

Linux zgrep Command Tutorial

The grep is a popular command used to search and match specified string in the given content or files. The zgrep is very similar to the grep where the compressed files can be easily grepped without any extra command to uncompress them. In this tutorial, we examine how to use zgrep to search in compressed … Read more