Linux Tutorials on the topic “shell”
-
How to use bash if -z and if -n for testing strings in Linux
Author: Aqsa Yasin • Tags: linux, programming, shell • Comments: 0 • Published: Nov 30, 2020There are different string operators available in bash scripting language which can be used to test strings. In this guide, we will test these string operators using the if statement in Centos 8.
-
How to use Bash file test operators in Linux
Author: Aqsa Yasin • Tags: linux, shell • Comments: 0 • Published: Nov 23, 2020File Test Operators are used in Linux to check and verify attributes of files like ownership or if they are a symlink. In this article, you will learn to test files using the if statement followed by some important test operators in Linux.
-
How to install the web-based Guacamole Remote Desktop Client on Ubuntu 20.04 LTS
Author: Hitesh Jethva • Tags: linux, shell, ubuntu • Comments: 4 • Published: Oct 12, 2020Apache Guacamole is a free, open-source and web-based remote desktop application that allows you to access your desktop machines through a web browser. In this tutorial, we will show how to install Apache Guacamole remote desktop gateway on Ubuntu 20.04 LTS server.
-
-
How to Setup ZSH and Oh-my-zsh on Linux
Author: Muhammad Arul • Tags: centos, linux, shell, ubuntu • Comments: 5 • Updated: Jul 29, 2020The Z Shell or zsh is an interactive UNIX shell and powerful command-line interpreter for scripting language including shell scripting. The Z shell has become one of the most popular shells for Linux operating system. It's rich in features and easy to configure and customize.
-
Vim Editor Basics
Author: bad_crow • Tags: linux, shell • Comments: 11 • Updated: May 18, 2020Vim Basics: This tutorial is going to speak about vim basic use. Vim is a powerful text editor used in CLI (command line interface). Because Linux uses a lot of configuration files, you'll often need to edit them and vim is a great tool to do so.
-
How do I edit files on the command line?
Author: Falko Timme • Tags: other, shell • Comments: 7 • Updated: May 15, 2020To edit files on the command line, you can use an editor such as vi. To open the file, run vi /path/to/file Now you see the contents of the file (if there is any. Please note that the file is created if it does not exist yet.). The most important commands in vi are these: Press i to enter the Insert mode. Now you can type in your text. To leave the Insert mode press ESC.
-
How to use grep to search for strings in files on the shell
Author: Srijan Kishore • Tags: centos, debian, linux, opensuse, shell, ubuntu • Comments: 9 • Updated: May 15, 2020The grep command, which means global regular expression print, remains amongst the most versatile commands in a Linux terminal environment. It happens to be an immensely powerful program that lends users the ability to sort input based on complex rules, thus rendering it a fairly popular link across numerous command chains. The grep command is primarily used to search text or search any given file for lines containing a match to the supplied words/strings.
-
Linux objdump Command Explained for Beginners (7 Examples)
Author: Himanshu Arora • Tags: linux, programming, shell • Comments: 1 • Updated: May 14, 2020If you are into programming on Linux and your work revolves around compilers, there are a handful of command line utilities that you should be aware of. One such tool is objdump.
-
Linux pgrep Command Tutorial for Beginners (10 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 2 • Updated: May 13, 2020You might already know about the grep command in Linux, which searches for a pattern, and then prints the matching text in output. What if the requirement is to apply this kind of processing to fetch select information about processes currently running in the system?
-
Linux vmstat Command Tutorial for Beginners (5 Examples)
Author: Himanshu Arora • Tags: linux, shell • Comments: 0 • Updated: May 08, 2020If you are looking for a command line utility that you can use to access information about processes, CPU activity, memory, and more, you'll be glad to know that vmstat does this for you.