Linux Resources
- Home
- Linux Resources
This article covers how to use the len() function in Python. In fact, the Python len() method is a built-in function that can be used to calculate the length of any iterable object. So, if you want to get the length of a string, list, dictionary, or another iterable object in Python, the len() method can be useful.
This article covers how to use the tree command in Linux. In fact, the tree command lists contents of directories in a tree-like format.
Following is its syntax:
$ tree [OPTIONS] [directory]
How to Install Tree Command in Linux ?
The tree command is not available by default in Linux distributions, and can be installed in Debian and RedHat-based distributions with:
$ sudo apt install tree [on Debian, Ubuntu & Mint]
$ sudo yum install tree [on RedHat, CentOS & Fedora]
$ sudo pacman -Sy tree [on Arch and Manjaro Linux]
To Verify if it has been installed, run the below command:
$ tree -v
This article covers how to use echo command in Linux. In fact, Echo Command is used to display the text that has been passed as argument for the command. Also, it is used as a input for the next command or to send output to a file.
Syntax for using the Echo command in Linux is:
# echo option string
This article covers How to Install OrangeScrum on CentOS 8. In fact, Orangescrum is an open-source and collaboration web application for managing projects, teams, documents, tasks, and communicate with the team on important issues.
This article covers how to install Plex Media Server on Linux Mint 20. In fact, Plex is a streaming media server which enables one to store all the media content in one server and use a client to access them from another computer or a mobile device.
This article covers the process to install GlassFish on your Ubuntu 20.04 LTS Focal Fossa system. In fact, GlassFish is being maintained and developed through the GlassFish Project.
How to Manage the GlassFish Service ?
1. To enable GlassFish at boot:
$ sudo systemctl enable glassfish
2. To start GlassFish:
$ sudo systemctl start glassfish
2. Check the service status using this command:
$ sudo systemctl status glassfish