Linux Tutorials on the topic “shell”
-
How to split a large archive file into multiple small files using Split command in Linux
Author: Ansh • Tags: arch linux, centos, debian, linux, opensuse, shell, ubuntu • Comments: 3
Although one of the primary reasons behind creating archives is the ease of handling and transfer, sometimes the compressed file itself is so large that it becomes a nightmare to transfer it over network, especially when the network speed is slow. So, what should be done in cases like these? Is there a solution to this problem? Well, yes - one solution is to split the compressed file into smaller bits, that can easily be transferred over network. At destination, you can join them back to get the original archive.
-
How to record your terminal session on Linux
Author: Bill Toulas • Tags: debian, linux, shell, ubuntu • Comments: 5
Recording a terminal session may be important in helping someone learn a process, sharing information in an understandable way, and also presenting a series of commands in a proper manner. Whatever the purpose, there are many times when copy-pasting text from the terminal won't be very helpful while capturing a video of the process is quite far-fetched and may not be always possible. In this quick guide, we will take a look at the easiest way to record and share a terminal session in .gif format.
-
How to practically use your Linux terminal (four examples)
Author: Bill Toulas • Tags: centos, debian, linux, shell, suse, ubuntu • Comments: 6
While modern GNU/Linux distributions don't require any use of the terminal, or any knowledge of the bash to offer 100% of their functionality and usability, it is often the case that doing things from the terminal is preferred for a set of reasons.This post is aimed at the people who just want to perform practically useful tasks right from their terminal without having to learn much about command lines.
-
-
Thoughts on Monitoring file changes with Linux over the network
Author: stefbon • Tags: centos, debian, linux, networking, opensuse, shell, ubuntu • Comments: 1
Monitoring a directory for changes with Linux is possible through the well-known mechanism inotify. With inotify it's possible to set a watch on a directory, configure it to watch events on the contents, and you'll receive messages on a file descriptor when something happens. This works perfectly when the directory is on local storage, like a hard drive, SSD or a USB drive, But it is not sufficient when the directory is on a network filesystem when the storage is on another computer. Another user working in the same directory, connected via the same or another filesystem, can remove a file and the watch you've set on it will not get notified.
-
How to connect to IRC through console, app, or a web client on Linux
Author: Bill Toulas • Tags: desktop, linux, shell • Comments: 2
IRC (Internet Relay Chat) is a text communication layer protocol that has been available for at least 15 years. It is used by tens of thousands around the globe for quick communication, online conferences, conduction of real-time text interviews, asking for technical help etc.
-
OpenSSH Security Best Practices
Author: Muhammad Arul • Tags: arch linux, centos, debian, freebsd, opensuse, security, server, shell, suse, ubuntu • Comments: 9
SSH (Secure Shell) is a cryptographic network protocol for initiating text-based shell sessions on remote machines in a secure way. OpenSSH is a connectivity tool that most administrators rely on to work on their Linux and *BSD servers daily. This tutorial covers the best pratices to configure your SSH server securely.
-
Get to know your System (using the command line)
Author: Bill Toulas • Tags: linux, shell • Comments: 4
Knowing the details of your system is essential for being able to address issues that arise and make the right hardware and software choices to ensure the compatibility and a good performance of your system. To get to know yous system a bit better we will use the command line.
-
Shell Scripting Part V: Functions in Bash
Author: jonilyn2730 • Tags: arch linux, debian, fedora, freebsd, linux, mandriva, opensuse, shell, suse, ubuntu • Comments: 8
Welcome to part 5 of HowToForge's shell scripting tutorial series. In this part, you will learn how to efficiently structure your scripts by creating functions. By the end of this tutorial, you will be able to know how to create functions in the Linux Bash Shell, pass parameters to your functions and return some values from a function to your main code.
-
Shell Scripting Part 4: Repetition Control Structures
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 0
Welcome to part four of HowtoForge's shell scripting tutorial series (Click here to read the part 1, part 2 and part 3 of the tutorial). In this lesson, we will cover the different repetition control structures of the bash shell and how to use each structure by providing some examples. Let's get started.
-
Shell Scripting Part 3: Decision Control Structures in Shell Scripts
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 4
We already covered the basics of shell scripting such as accepting inputs, process data through arithmetic operations and generating and displaying output in the previous series of this tutorial. In this series, we will go deeper to a more advanced topic in a programming language -- making decisions in a program, but this time we will do it using bash shell.