Linux Tutorials on the topic “shell”

  • Linux du Command Tutorial for Beginners (10 Examples)

    linux Author: Himanshu AroraTags: , Comments: 2Published: Jul 26, 2017

    Sometimes, while working on the Linux command line, you might want to quickly know disk usage for a set of files or for a complete directory. There's a specific command line tool that lets you do this, dubbed du. In this tutorial, we will discuss the basics of this tool as well as the features it provides using easy to understand examples.

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

  • Linux echo Command Tutorial for Beginners (5 Examples)

    linux Author: Himanshu AroraTags: , Comments: 0Published: Jul 25, 2017

    In this tutorial, we will discuss basics of echo as well as the command line options it provides. Suppose you want to append a hard-coded line of text to a file through the command in Linux, what would you do? An obvious approach would be to open the file in an editor, and then enter the line manually. But think of a case where-in this task needs to be automated. What's your option in that case?

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

  • Linux dirname command explained for beginners (4 examples)

    linux Author: Himanshu AroraTags: , Comments: 3Published: Jul 20, 2017

    Are you a new Linux user? Does your work involve shell scripting? If your answer to both these questions is yes, the tool we'll be discussing here will likely interest you. The name of the tool is dirname, and it's mostly used in situations where-in you need to strip the last component from an absolute file-name.

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

  • Linux df Command Tutorial for Beginners (8 Examples)

    linux Author: Himanshu AroraTags: , Comments: 1Published: Jul 18, 2017

    Sometimes, you might want to know how much space is consumed (and how much is free) on a particular file system on your Linux machine. There a specific command - dubbed df - that does this for you. In this tutorial, we will discuss the basics of this command, as well as some of the major features it offers.

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

  • Linux dir command for beginners (10 examples)

    linux Author: Himanshu AroraTags: , Comments: 2Published: Jul 12, 2017

    At any point in time while working on the command line, you are always inside a directory. There may be times when you'd want to list information about all files and subdirectories within a directory. This is where the dir command helps. In this tutorial, we will discuss the basics of this command as well as the features it provides.

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

  • Linux dd command explained for beginners (8 examples)

    linux Author: Himanshu AroraTags: , Comments: 4Published: Jul 10, 2017

    Sometimes, while working on the command line in Linux, you may need to perform a copy operation in way that the data/text gets formatted before it's written at the destination. A simple example could be to copy text from a file and write the case-changed version (lower to upper, or upper to lower) to the destination file.

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

  • Linux Csplit Command Explained for Beginners (6 Examples)

    linux Author: Himanshu AroraTags: , Comments: 0Published: Jul 06, 2017

    While working on the command line in Linux, you may find yourself in situations where-in you need to split a file into multiple parts. If you are already looking for a way to do this, or simply want to know how this can be done, you'll be glad to know there exists a tool - dubbed csplit - that's built for this purpose.

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

  • Linux Date Command Tutorial for Beginners (8 Examples)

    linux Author: Himanshu AroraTags: , Comments: 3Published: Jul 03, 2017

    While working on the Linux command line, you might find yourself in situations where-in you need to display (or even change) the current system time. Not only that, if you work in a team with members in different timezones, you may want to keep yourself updated with time-related information for zones in which other members are sitting. If you're looking for a tool that lets you do all this (and much more), you will be glad to know there exists a command - dubbed date - that does all this.

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

  • Linux cksum command explained for beginners (with examples)

    linux Author: Himanshu AroraTags: , Comments: 1Published: Jun 22, 2017

    In Linux, there's a command line tool that you can use to create/verify checksum. It's dubbed cksum. Most vendors offer a checksum (or a checksum-like code) corresponding to the file(s) being downloaded. If the file doesn't behave in an expected way, user's can recompute the file's checksum and compare it with the original checksum provided by the vendor to see if the file is intact or got corrupted.

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

  • Linux Chgrp Command for Beginners (5 Examples)

    linux Author: Himanshu AroraTags: , Comments: 0Published: Jun 14, 2017

    Here at HowtoForge, we recently discussed the chown command which lets users change the owner as well as group of file (or a directory) in Linux. But did you know there exists a dedicated command line utility that you can use when it comes to changing group-related information? The tool in question is chgrp, and in this tutorial, we will be discussing this tool using easy to understand examples.

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