Linux Tutorials on the topic “shell”

  • Shell Scripting Part 4: Repetition Control Structures

    linux Author: jonilyn2730Tags: , , Comments: 0Published: May 17, 2015

    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.

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

  • Shell Scripting Part 3: Decision Control Structures in Shell Scripts

    linux Author: jonilyn2730Tags: , , Comments: 3Published: May 05, 2015

    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.

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

  • Shell Scripting Part 2: Accepting Inputs and Performing Shell Arithmetic

    linux Author: jonilyn2730Tags: , , Comments: 3Published: Apr 30, 2015

    This article is the second part of the Howtoforge shell scripting tutorial series. By this time, I assume that you have read the first part of the series and know how to create a simple script and execute it. In the second part, you will learn how accept inputs from the user and process them through shell scripting.

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

  • Shell Scripting Part I: Getting started with bash scripting

    linux Author: jonilyn2730Tags: , , Comments: 11Published: Apr 29, 2015

    This is the first part of a series of Linux tutorials. In writing this tutorial, I assume that you are an absolute beginner in creating Linux scripts and are very much willing to learn. During the series the level will increase, so I am sure there will be something new even for more advanced users.

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

  • How to use grep to search for strings in files on the shell

    linux Author: srijanTags: , , , , , Comments: 0Published: Feb 24, 2015

    The grep command, which means global regular expression print, remains amongst the most versatile commands in a Linux terminal environment. It happens to be an immensely powerful program that lends users the ability to sort input based on complex rules, thus rendering it a fairly popular link across numerous command chains. The grep command is primarily used to search text or search any given file for lines containing a match to the supplied words/strings.

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

  • Setting a static IP on Ubuntu: a beginner's guide

    ubuntu Author: Akshay PaiTags: , , , Comments: 7Published: Feb 10, 2015

    Sometimes situations occur when a static IP address needs to be set. For example, if you have programs that use the IP address say for remote login. This tutorial deals with setting a static IP for Ubuntu OS via shell or desktop application.

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

  • Linux Basics: How to Edit Files on The Shell with Nano

    tux Author: howtoforgeTags: , Comments: 0Published: Jul 08, 2014

    Linux Basics: How to Edit Files on The Shell with Nano Nano is a fairly versatile and user-friendly text editor that is capable of being used in a fuss-free manner by the somewhat inexperienced users too, as against the more sophisticated text editors such like Emacs and Vim. While these are excellent programs, they do have a bit of a learning curve. It works seamlessly in combination with Sudo, much to the glee of end-users.

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

  • Linux Basics: How to Download Files on the Shell With Wget

    tux Author: howtoforgeTags: , Comments: 0Published: Jul 01, 2014

    Linux Basics: How to Download Files on the Shell With Wget Wget is a popular and absolutely user-friendly free-utility command line tool primarily used for non-interactive downloading files from the web. wget helps users in manipulate downloading of huge chunks of data, multiple files, downloads of recursive nature, and protocol-based download (HTTP, HTTPS, and FTP). The following is the basic wget command syntax, though this tutorial covers all the possible download scenarios for the benefit of learners.

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

  • Linux Basics: How to Add and Delete Shell Users on CentOS

    centos Author: howtoforgeTags: , Comments: 1Published: Jun 19, 2014

    Linux Basics: How to Add and Delete Shell Users on CentOS The process of adding and deleting shell users on a new server is a basic task every Linux user or system Administrator should know.

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

  • Linux Basics: How To Create and Install SSH Keys on the Shell

    tux Author: howtoforgeTags: , , Comments: 0Published: Jun 09, 2014

    Linux Basics: How To Create and Install SSH Keys on the Shell SSH keys offer a highly secure manner of logging into a server with SSH as against mere dependence on a password. While a password stands the risk of being finally cracked, SSH keys are rather impossible to decipher using brute force. As a matter of fact, generating a key pair offers users two lengthy strings of characters corresponding to a public as well as a private key. Users can, thus, place the public key on any server, and subsequently unlock the same by connecting to it with a client that already possesses the private key. Upon matching up of the two keys, the system unlocks without any irksome dependence on a password. The security may be further smartly firewalled by guarding the private key with a passphrase.

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