Count The Number of Characters in User's Input in Your Script by Bad Tutorials
Not yet rated
Date Added: May 11, 2017
Date Added: May 11, 2017
In this tutorial you'll learn a method to check if a single character has been provided as input to a variable in a shell script or more than one characters have been provided. We will use this method to build the script in the next tutorial.
Tutorial on 'wc': www.youtube.com/watch?v=Ex-mzjPwrmo
- Shell, Kernel, Terminal & More
- View System Date, Calender
- Create Files & Directories
- Text Files: Create, Merge & Play
- Rename & Delete Files & Directories
- Create Copies, Links to Files & Directories
- File Permissions
- See What's In Using 'ls'
- Change File Permissions Using 'chmod'
- Count Lines, Words & Characters Using 'wc'
- Cut Through Your Files
- Convert & Copy Files With 'dd'
- Get Help, View Fancy Text & Reduce File Size
- Hello World!
- Use Commands In Your Scripts
- Shell Variables, Grab User Input Using 'read'
- Positional Parameters
- More On Positional Parameters
- Reverse Quotes Or Accent Graves
- Count The Number of Command Line Arguments Using $#
- Math On Integers Using 'expr'
- Operator Precedence
- Math On Real Numbers
- Escape Sequences
- Do Cool Things With 'tput'
- 'if-then' Statement in Action
- : The 'if-then-else' Statement
- Run Checks on Numbers
- Run Checks On Files
- Append Text to a File Through Shell Script
- Run Checks On Strings
- The 'AND' Logical Operator
- Count The Number of Characters in User's Input in Your Script
- The 'OR' Logical Operator
- The 'case' Statement
- Another Date With 'case' Statement
- The 'while' Loop
- The 'until' Loop
- The 'for' Loop
- Rant & Little Work
- Search Patterns Using 'grep'
- The 'passwd' File Explained
- The Internal Field Separator
- 'passwd' File Revisited
- Reading From a File
- Sleep while you are at work
- Count the number of words & sentences in a text file without using 'wc'
- Fetch & Redirect Man Pages of commands using 'for loop'
- Nested Loops
- The 'break' Statement
- The 'continue' Statement
- More on Metacharacters
- Adding & Removing Users
- Know when users log in Part One
- : Know when users log in Part Two
- Know when users log in Final Part
- Communicate with other users using 'write'
- Create Your Own Commands Using Functions
- Executing Multiple Scripts
This series is a collection of 62 video tutorials on UNIX/Linux Shell Programming. The tutorials are designed to benefit beginners but experienced shell programmers may also learn a few tricks of the trade in the course.
There are no comments. Be the first to post one.