Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

terminal - Page 3 of 13 - DesignLinux

Nov 22 2020
  • designlinux
  • 0 Comments
    • Tutorial
How to Increment and Decrement Variable in Bash

Variable increment and decrement is fundamental arithmetic operation in bash scripting. It’s mostly used with the for, while and until loops. Increment means adding value to variable and Decrement means subtracting from numeric variable value. This article explains multiple ways to increment or decrement a variable. Use of + and – Operators# You must use

Read More
Nov 21 2020
  • designlinux
  • 0 Comments
    • Tutorial
How to Check if a String Contains a Substring in Bash

While you working with string in Bash need to check whether a string contains another string. In this guide, we will show you multiple ways to check if a string contains a substring in bash scripting. Use Wildcards# It is easy to use asterisk wildcard symbols (asterisk) * to compare with the string. Wildcard is

Read More
Nov 20 2020
  • designlinux
  • 0 Comments
    • Tutorial
Bash Arrays

Arrays are set of data and fundamental requirement for any programming language. We can say that it’s a variable with multiple child variables. This article shows you basics and use of arrays in Bash scripts. Bash Arrays# One dimensional array with numbered index and associative array types supported in Bash. Those are referenced using integers

Read More
  • designlinux
  • 0 Comments
    • Tutorial
who Command in Linux

In this article, we explain the who command that is bundled in GNU coreutils package. who is a command-line utility that prints a list of currently logged in users. It can also show the current run level, time of the last system boot, and more. How to Use the who Command # The basic syntax

Read More
Nov 13 2020
  • designlinux
  • 0 Comments
    • Tutorial
How to Read a File Line By Line in Bash

At the time of writing of Bash scripts, sometimes you need to read a file line by line. In this tutorial, we will show you how to read file line by line in Bash. Syntax for Read File Line by Line# The following is the common syntax for reading a file line-by-line: while IFS= read

Read More
Nov 12 2020
  • designlinux
  • 0 Comments
    • Tutorial
Bash Heredoc

A Heredoc (Here document) is a redirection type which allows to pass multiline lines of input to a command. Sometimes while writing shell scripts you need to pass multiline block of code or text with the command like cat, sftp or tee. In this guide, you will learn how to use the Heredoc in bash.

Read More
Nov 10 2020
  • designlinux
  • 0 Comments
    • Tutorial
Bash Concatenate Strings

In any programming language the concatenation is the commonly used string operations. String concatenate is used to joining the two or more strings together by appending one to end of another string. In this tutorial, you will learn how to concatenate strings in Bash. Concatenating Strings# It’s very easy to concatenate multiple string variables by

Read More
Nov 09 2020
  • designlinux
  • 0 Comments
    • Tutorial
Bash until Loop

Loops are primary requirement of any programming languages. Loops are useful when you want to execute a series of commands until the certain condition is satisfied. In Bash, loops are useful for automating repetitive tasks. There are three basic loops for loop, while loop , and until loop. In this tutorial, we will see basics

Read More
Nov 08 2020
  • designlinux
  • 0 Comments
    • Tutorial
Bash Functions

A Bash function is a predefined set of commands and can be use n number of times. It is useful to avoid repeatedly writing same code. In this tutorial, we will show you the basics of Bash functions. Create Bash Functions# It is very easy and straightforward to create a bash function. You can declare

Read More
Nov 05 2020
  • designlinux
  • 0 Comments
    • Tutorial
How to Create Bash Aliases

Bash aliases are shortcuts for the long commands. It allows you to set a memorable shortcut command for a longer command. This guide explains how to create bash aliases on Linux system. Creating Bash Aliases# It is very easy to create bash aliases. Following is the general syntax: alias alias_name=”command_to_run” You should put the alias

Read More
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 13
  • »
Popular Post
  • How to Install Skype on Arch Linux
  • How to Check the PostgreSQL Version
  • Du Command in Linux
  • How to Start, Stop, or Restart Nginx
  • How to Install Shutter Screenshot Tool in Ubuntu 20.04
  • Echo Command in Linux with Examples
  • Bash Case Statement
  • How to List Cron Jobs in Linux
  • How to Boost the Productivity with Sublime Text Snippets
  • How to Change Hostname on Ubuntu 20.04
Recent Posts
  • How to Install Puppet on Ubuntu 22.04
  • How to Install Skype on Ubuntu 22.04 LTS
  • How to Install Slack on Ubuntu 22.04
  • 25 Outstanding Backup Utilities for Linux Systems in 2023
  • How to Install Java on Ubuntu 22.04
  • How to Install Jenkins on Ubuntu 22.04
  • Progress – Show Percentage of Copied Data for (cp, mv, dd, tar) Commands
  • How to Monitor Progress of (Copy/Backup/Compress) Data using ‘pv’ Command
  • How to Install GIMP on Ubuntu 22.04
  • How to Install Notepad++ on Debian 11
Recent Comments
    Popular Tags
    apache Apache Tips bash browser cassandra centos CentOS Tips commandline tools database debian Debian Tips elasticsearch fail2ban Fedora Tips git Hadoop Tips java kernel LAMP Guides LFCA Certification Exam linux distros Linux IDE Editors Linux Mint Tips linux network monitoring linux office suite linux server monitoring Linux Tricks loop mariadb mysql MySQL Tips Networking Tips Nginx Tips php postgresql python rdp RHEL Tips Rocky Linux Tips security ssh SSH Tips terminal ubuntu Ubuntu Tips
    Archives
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • July 2022
    • June 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • August 2020
    • July 2020
    • June 2020
    • May 2020
    Categories
    • AlmaLinux
    • Android
    • Ansible
    • Apache
    • Arch Linux
    • AWS
    • Backups
    • Bash Shell
    • Bodhi Linux
    • CentOS
    • CentOS Stream
    • Chef
    • Cloud Software
    • CMS
    • Commandline Tools
    • Control Panels
    • CouchDB
    • Data Recovery Tools
    • Databases
    • Debian
    • Deepin Linux
    • Desktops
    • Development Tools
    • Docker
    • Download Managers
    • Drupal
    • Editors
    • Elementary OS
    • Encryption Tools
    • Fedora
    • Firewalls
    • FreeBSD
    • FTP
    • GIMP
    • Git
    • Hadoop
    • HAProxy
    • Java
    • Jenkins
    • Joomla
    • Kali Linux
    • KDE
    • Kubernetes
    • KVM
    • Laravel
    • Let's Encrypt
    • LFCA
    • Linux Certifications
    • Linux Commands
    • Linux Desktop
    • Linux Distros
    • Linux IDE
    • Linux Mint
    • Linux Talks
    • Lubuntu
    • LXC
    • Mail Server
    • Manjaro
    • MariaDB
    • MongoDB
    • Monitoring Tools
    • MySQL
    • Network
    • Networking Commands
    • NFS
    • Nginx
    • Nodejs
    • NTP
    • Open Source
    • OpenSUSE
    • Oracle Linux
    • Package Managers
    • Pentoo
    • PHP
    • Podman
    • Postfix Mail Server
    • PostgreSQL
    • Python
    • Questions
    • RedHat
    • Redis Server
    • Rocky Linux
    • Security
    • Shell Scripting
    • SQLite
    • SSH
    • Storage
    • Suse
    • Terminals
    • Text Editors
    • Top Tools
    • Torrent Clients
    • Tutorial
    • Ubuntu
    • Udemy Courses
    • Uncategorized
    • VirtualBox
    • Virtualization
    • VMware
    • VPN
    • VSCode Editor
    • Web Browsers
    • Web Design
    • Web Hosting
    • Web Servers
    • Webmin
    • Windows
    • Windows Subsystem
    • WordPress
    • Zabbix
    • Zentyal
    • Zorin OS
    Visits
    • 0
    • 616
    • 609,975

    DesignLinux.com © All rights reserved