How To Change Folder and Subfolder Permissions In Linux?

How To Change Folder and Subfolder Permissions In Linux?

Permissions are an important part of Linux security and folders are used with different permissions to protect them. Linux provides read, write and execute permissions by default for files and folders. there are different ways and commands to change folder and subfolder permissions. The defacto command is chmod command which changes the read, write and … Read more

netstat Command Tutorial In Linux with Example

netstat Command Tutorial In Linux with Example

The netstat command is used to display network connections for network protocols like TCP and UDP. The netstat can display routing tables, network interfaces, network protocol statistics, open ports, etc. Both Linux distributions and Windows operating systems provide the netstat command. In this tutorial, we examine different usage examples for the netstat command. netstat Command … Read more

Linux Bash Reading File Tutorial

Linux Bash Reading File Tutorial

Bahs is the most popular shell for Linux distributions and provides different ways and commands to read a file from the command-line interface. Bash can be used to read a file and process it in different ways by using different commands. The file can be a text file or a binary no matter what type … Read more

Shebang #! Tutorial In Linux Bash

Shebang #! Tutorial In Linux Bash

In computing and Linux the shebang is a character sequence that consists of # and ! . Simply the shebang is expressed as “#!”. The shebang is also called sha-bang, hashbang, pound-bang, and hash-pling. The shebang is used to specify an interpreter for script files. Linux is popular with its script files and scripting languages … Read more

How To Install Docker On Ubuntu?

How To Install Docker On Ubuntu?

Docker is a container technology very popular in Linux distributions. The docker provides the ability to run single or more commands and applications in an isolated secure environment like a VM but with few resources. As a popular Linux technology, Ubuntu supports docker containers. There are different ways to install Docker on Ubuntu. But two … Read more

How To Set Proxy For wget Command?

How To Set Proxy For wget Command?

The wget command is a popular command used to download files via the command-line interface. Proxy is used as an intermediate host which redirects HTTP and HTTPS requests to the destination server. In some cases, we may require to set a proxy for the wget command. In this tutorial, we examine how to set a … Read more

How To Create and Run Bash Script?

How To Create and Run Bash Script?

Bash is a Unix and Linux shell and command interface language. The bash was released in 1989 with the GNU project. The Bash became popular with Linux and related distributions like Ubuntu, Debian, CentOS, RHEL, etc. Bash provides a very useful command-line interface with complete scripting language features. Linux commands can be executed via the … Read more

How To Save iptables Rules Persistently?

How To Save iptables Rules Persistently?

The iptables rules are used to filter network traffic according to the different restrictions. The iptables store the rules in the system memory and do not save these rules persistently to the disk as a file by default. But there are different methods to save iptables rules persistently to a disk. List iptables Tules Before … Read more

Linux pwd Command Tutorial

Linux pwd Command Tutorial

Linux and Unix operating systems provide the pwd command which prints the full pathname of the current working directory. The pwd name comes from print working directory . As a simple command is provided few options. the pwd command is provided as a shell built-in command for most of the shells like Bourne shell, bash, … Read more

How To Generate Random Number In Bash Linux?

How To Generate Random Number In Bash Linux?

Linux bash provides different ways to generate random numbers. Random numbers can be used for different cases like security, selection, generating random content, etc. Linux bash can be used to generate random numbers by using the operating system devices, commands, etc. Using the $RANDOM Environment Variable The bash shell provides the $RANDOM environment variable which … Read more