Skip to content
28 Jan, 2023
Latest News
rclone: Google Drive, Microsoft OneDrive, box, DropBox and much more from the CLI
Microsoft’s Linux Distro: CBL-Mariner
Using Reddit from the console in 2020
The Ultimate Linux Newbie Guide

The Ultimate Linux Newbie Guide

  • Home
  • Guide Chapter List
    • Chapter 1: What is Linux
    • Chapter 2: Why Linux – What’s the Benefits?
    • Chapter 3: Choosing a Linux Distribution
    • Chapter 4: Preparing to Install Linux
    • Chapter 5: Installing Linux (Ubuntu)
    • Chapter 6: How do I use Linux?
    • Chapter 7: Using Linux Every Day
  • Categories
    • Howto
    • Just the examples
    • SysAdmin
    • Quick Tips
    • Commentary
    • Other Tutorials
    • Reviews
  • Tutorials & Video Guides
    • More Advanced Guides
      • Linux Lab: SysAdmin 101
      • Adding users to groups
      • Files, Directories and the Linux Filing System
      • Analysing system performance with ‘Top’
      • Howto: What is Git and Github? How do I use it and why should I care?
      • What is Docker (and Linux containers?)
    • How to use Google Drive, OneDrive, Dropbox, Amazon S3 and more in Linux
      • Is there a OneDrive client for Linux?
      • Moving to Linux? Bring your Google Drive with you
    • I don’t know any commands
    • Partitioning A Disk
    • How to install Linux on a Macintosh and dual boot with macOS
      • How to install Ubuntu 18.10 on a Macbook Pro [VIDEO]
    • How do I install software in Linux?
      • See also: VIDEO (Installing Software)
  • ULNG eBook
  • ULNG Courses
    • My Courses
    • Course Catalog
    • Membership Catalog
    • Purchase
    • Training & Consulting Services
    • How I got my job in Linux: from Newbie to Pro
  • Support Free Content
  • Home
  • bash

Tag: bash

Linux Lab: SysAdmin 101

June 20, 2017February 23, 2019 Alistair Ross
Image of a terminal prompt

So you wanna be a Linux Systems Administrator? Every now and again, I am asked to provide a bit of training for budding systems admins or people on the career path of becoming a qualified […]

Like this:

Like Loading...
Leave a commentOther Tutorials, Quick Tips, SysAdminadministrator, bash, course, linux, presentation, sysadmin, tutorial

Using sed to find and replace text files in Linux

May 29, 2017 Alistair Ross
Image of a terminal prompt

nixCraft have a good tutorial for the new Linux user/admin. In this example, the tutorial is to answer the question “how do I find the text called ‘foo’ and replaced to ‘bar’ in the file […]

Like this:

Like Loading...
Leave a commentHowto, Just the examples, SysAdminbash, cli, replace, search and replace, sed

SSHPass: How to SSH into a server using a script with no password (non-interactively)

May 23, 2017 Alistair Ross
SSHPass

Ever asked yourself: How do I use ssh in a shell script? How do I login non-interactively performing password authentication with SSH and shell scripts? How do I login over ssh without using password less […]

Like this:

Like Loading...
Leave a commentHowto, Quick Tipsansible, automate, bash, keys, non-interactive, passwordless, script, shell, ssh, sshpass

Ubuntu, SuSE and Fedora now in the Windows store!

May 20, 2017 Alistair Ross
Linux Multi-Distro in Windows

Did you say Linux? In the Windows Store? Like, OMG! Did we just enter some weird hallucination, or parallel universe? Nope! Microsoft have announced that they continue their partnership with Ubuntu/Canonical. MS have now announced that they […]

Like this:

Like Loading...
3 CommentsCommentaryApp Store, bash, developer, fedora, linux, microsoft, SuSE, ubuntu, windows, Windows Store, WSL

Pro Tip: For, While and Until Loops

February 25, 2017March 21, 2017 Alistair Ross
Image of a terminal prompt

LEVEL: SYSADMIN / TIME: 1-2 min. Here’s some handy quick reference examples to go back to easily if you are needing to use for, while and until loops in your bash shell scripts. This is […]

Like this:

Like Loading...
Leave a commentHowto, Quick Tips, SysAdminbash, cli, command, counter, false, for, increment, loop, numerical, repeat, stepping, terminal, true, until, while

running a command against every line in a textfile

August 10, 2016October 12, 2016 Alistair Ross
shell prompt image

So, you have a text file like so: file1 file2 .. And you want to run a command on each line of the file (say, chmod 644). Like all things UNIX, there are more than […]

Like this:

Like Loading...
Leave a commentJust the examples, SysAdminbash, command, each line, exec, execute, for, list, tr, xargs

Quick Navigation

  • Introduction
  • Chapter 1: What is Linux
  • Chapter 2: Why Linux – What’s the Benefits?
  • Chapter 3: Choosing a Linux Distribution
  • Chapter 4: Preparing to Install Linux
  • Chapter 5: Installing Linux (Ubuntu)
  • Chapter 6: How do I use Linux?
  • Chapter 7: Using Linux Every Day
  • Linux Commands Intro
  • How do I install software in Linux?
  • More Advanced Guides

Categories

  • Commentary
  • Howto
  • Just the examples
  • Monthly Tutorials
  • Other Tutorials
  • Quick Tips
  • Reviews
  • SysAdmin

Follow Us

  • Facebook
  • Twitter
  • Instagram
Copyleft ©2019 Alistair Ross. All rights reserved.
Magazine Plus by WEN Themes
%d bloggers like this: