Linux Tutorials on the topic “shell”

  • How to use and make the most of fuser command in Linux

    linux Author: AnshTags: , Comments: 2Published: Dec 05, 2016

    Suppose you are given a task to identify the processes that are using a particular file, and then kill them one by one - all this has to be done from the command line. What would you do? Well, if you are a command line newbie, I am sure you'd be clueless, asking around for help. But command line pros will likely have an idea that there exists a command line utility in Linux that lets you identify processes based on the files (or directories, or sockets) they are accessing. Not only that, the tool also allows you to kill these processes, so you don't have to use the kill or killall commands separately. The command line utility we're talking about is fuser.

    read more... | add comment | view as pdf | print

  • How to practically use your Linux terminal (part 2)

    linux Author: Bill ToulasTags: , Comments: 0Published: Nov 14, 2016

    Quite a while ago, we had published a post that showcased four examples of how Linux users can utilize their terminal to perform simple daily tasks and fulfill common everyday use needs. Of course, the use case possibilities for the Linux terminal are nearly endless, so we’re naturally back for a second part containing more practical examples.

    read more... | add comment | view as pdf | print

  • How to split a large archive file into multiple small files using Split command in Linux

    linux Author: AnshTags: , , , , , , Comments: 2Published: Nov 07, 2016

    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.

    read more... | add comment | view as pdf | print

  • How to search files from the terminal on Linux

    linux Author: Bill ToulasTags: , , , , , , , Comments: 6Published: Sep 09, 2016

    While there are many ways with which we can search and locate files and directories on Linux, the easiest and quickest is probably through the terminal. However, not many Linux users know about that, which leads to unneeded frustration. Here is a quick guide that will hopefully help you locate what you're looking for in your system.

    read more... | add comment | view as pdf | print

  • How to record your terminal session on Linux

    linux Author: Bill ToulasTags: , , , Comments: 1Published: Jun 09, 2016

    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.

    read more... | add comment | view as pdf | print

  • How to practically use your Linux terminal (four examples)

    linux Author: Bill ToulasTags: , , , , , Comments: 4Published: Apr 05, 2016

    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.

    read more... | add comment | view as pdf | print

  • Thoughts on Monitoring file changes with Linux over the network

    linux Author: stefbonTags: , , , , , , Comments: 0Updated: Feb 09, 2016

    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.

    read more... | add comment | view as pdf | print

  • Getting Started with WP-CLI on Ubuntu 15.10

    ubuntu Author: Muhammad ArulTags: , , , , , Comments: 1Published: Jan 05, 2016

    WP-CLI is a tool to provide a command line interface to install and manage a WordPress site. This tutorial explains the installation of Wordpress on a LEMP (Linux + Nginx + MySQL + PHP) server with WP-CLI and shows how to install plugins and themes with WP-CLI on the command line.

    read more... | add comment | view as pdf | print

  • The tar command explained

    linux Author: howtoforgeTags: , Comments: 3

    The Linux tar command is the swiss army of the Linux admin when it comes to archiving or distributing files. Gnu Tar archives can contain multiple files and directories, file permissions can be preserved and it supports multiple compression formats. The name tar stands for "Tape Archiver", the format is an official POSIX standard.

    read more... | add comment | view as pdf | print

  • How to connect to IRC through console, app, or a web client on Linux

    linux Author: Bill ToulasTags: , , 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.

    read more... | add comment | view as pdf | print