Linux Tutorials on the topic “shell”

  • How to easily open a PDF file from command line in Ubuntu

    ubuntu Author: AnshTags: , , Comments: 0Published: Dec 09, 2016

    What do you do when you want to open a PDF file in Ubuntu? Simple, double click on the PDF file icon, or right-click and select the "Open with Document Viewer" option. But what if you're asked to do the same task through the command line? Do you know the command line utility that will do the job for you? However, you'll be glad to know that there's way through which you can launch Evince for a PDF file, even if you don't know the fact that a command line utility of that name exists, and that's what we'll be discussing in this article.

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

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

    linux Author: AnshTags: , Comments: 1Published: 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: 1

    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: 4

    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: 0

    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: 1

    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

  • How to use the Linux ftp command to up- and download files on the shell

    linux Author: David DuarteTags: , , , , , , Comments: 9

    In this tutorial, I will show you how to use the Linux ftp command on the shell. I will show you how to connect to an FTP server, up- and download files and create directories. While there are many nice desktops FTP clients available, the ftp command is still useful when you work remotely on a server over an SSH session and e.g. want to fetch a backup file from your FTP storage.

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