Found 1466 Articles for Linux

What is the difference between BitBucket and GitHub?

Muthu Annamalai Venkatachalam
Updated on 11-Oct-2022 12:40:12

382 Views

Introduction The right repository hosting service is critical to the success of a development project. The hosting of your code is crucial to your productivity, and it plays a key role in your work. Since repository hosting services affect development team productivity, choosing the right one can be challenging. The hosting of your code is crucial to your productivity, and it plays a key role in your work. Since repository hosting services affect development team productivity, choosing the right one can be challenging. Git repositories are often located remotely, unlike when working on personal projects. While there are numerous ways ... Read More

Difference between GNU and Unix

Pradeep Kumar
Updated on 21-Jul-2022 12:25:12

2K+ Views

Even though the majority of us are accustomed to using Windows as our primary operating system, it is important for us to at least be familiar with other operating systems such as Unix, Linux, and others. This does not imply that Windows is the only operating system that has been used globally; rather, it indicates that other systems also take a larger proportion in terms of utilisation. The end functionality, which is using the computers to make our tasks easier, is the same regardless of the operating system that we might choose.Read through this article to find out more about ... Read More

How to Find Out File Types in Linux

Mukul Latiyan
Updated on 19-Jul-2022 15:03:50

3K+ Views

When it comes to Linux operating system, everything in general can be considered as a file. In UNIX, in total, there are seven standard file types −FIFO specialBlock specialCharacter specialSocketRegularDirectorySymbolic linkWhen it comes to Files, these can be mainly categorized into the following categories −Regular FilesDirectory FilesSpecial FilesThe simplest way to find out what a particular file is in an operating system is by looking at what kind of extension that particular file has. The extensions can be '.txt', '.py', '.go', etc. If a particular file does not have any extension in Linux, then we basically call that file as ... Read More

How to Repeat Your Last Command in Linux?

Mukul Latiyan
Updated on 19-Jul-2022 12:41:58

7K+ Views

Linux terminal allows us to execute a variety of commands and sometimes it so happens that we find ourselves in a scenario where we might want to use a certain command more than once. There are many occurrences where we would want to repeat the command that we just ran. In Linux, this can be done with the help of different commands, and in this tutorial, we will explore all such commands with the help of different examples. For reference and simplicity, I will run a single command, say 'ls -ltr' and then use the different methods to search what ... Read More

How to Run a Command Multiple Times in Linux?

Mukul Latiyan
Updated on 19-Jul-2022 10:17:00

9K+ Views

There are scenarios where you would want to run a particular command for 'N' number of times. In normal programming, this can be done with the help of any of the loops constructs available in that programming language. In Linux bash too, we have loops available as some other ways with which we can repeat commands 'N' number of times. In this tutorial, we will explore different bash scripts that will allow us to run a certain command multiple times. The first step when you want to work with a bash script is to create one. On Linux or macOS ... Read More

Best Command Line HTTP Client for Linux

Mukul Latiyan
Updated on 22-Jul-2022 08:47:56

3K+ Views

In this tutorial, we will explore some of the most commonly used and famous HTTP clients that are present in Linux. A HTTP Client is a software that is mainly used to allow us to download files from the Internet. The primary reason for using HTTP clients is generally to download files, but these can also be used in case we want to debug or interact with a web server or multiple web servers.Now, let's consider the most famous HTTP Clients that are used.HTTPieWith the name that almost resembles of the famous web protocol (i.e., HTTP), HTTPie, is command line ... Read More

Array Operations in Linux bash

Mukul Latiyan
Updated on 18-Jul-2022 06:19:48

838 Views

Bash scripts are one of the most convenient approaches when we talk about making the command line processes automated in nature. They help us in doing a group of things in a simpler and more understandable manner, and we can do almost all theoperations that we could do in other languages as well.It is well known that the syntax of the bash can be tricky at first, and hence I will try to explain everything that I have used in this tutorial.We come across various situations where we would want to make use of bash scripts to perform different operations ... Read More

How to Create a File in Linux from the Command Line?

Kiran Kumar Panigrahi
Updated on 13-Mar-2025 14:40:52

101K+ Views

Before getting into the ways of creating a file using Bash, let's first understand how Linux treats its files. Linux organizes all its data into files and files are organized into directories. Further, the directories are organized into tree-like structures called the file system. When you have to work in a Linux environment, you would definitely have to spend a lot of your time working on different types of files. There are several different ways in which one can create a file in Linux. You can create a file from the Bash Shell or you can use the Desktop File ... Read More

Explain JMeter installation in macOS

Debomita Bhattacharjee
Updated on 08-Feb-2022 10:53:02

6K+ Views

JMeter installation is done in MacOS by following the below steps −Step1 − Navigate to the below URL −https://jmeter.apache.org/download_jmeter.cgiStep2 − Navigate to the section Apache JMeter , then click on the link with the .tgz file(to download) as highlighted below −Step3 − Click on the downloaded file, a folder named: apache-jmeter-5.4.3 gets created. Here, 5.4.3 is the JMeter version. Open the folder, we should have the content as shown below −Step4 − Open Terminal and navigate to the location of the bin folder(which is within the apache-jmeter-5.4.3 folder) and run the below command −sh jmeter.shAfter successfully running the above command, ... Read More

What are Alternative Ways to Reverse a String from Shell?

Prateek Jangid
Updated on 29-Nov-2021 10:51:44

615 Views

In the Linux shell, we have predefined commands to return a reversed string. Anyone can use these commands for reversing an output of the program.Perl CommandIt is a general-purpose programming language in Linux.Inputperl -ne 'chomp;print scalar reverse . "";'

Advertisements