• Facebook
  • twitter
  • Instagram
Search

Srinimf

Tech. Jobs. Biz. Success

Menu
Skip to content
  • About Srini
  • Udemy
  • Jobs
  • Amazon
  • Contact us

Category: Shell scripts

  • Shell scripts

grep: How to Find Empty Lines in a File

  • by Srini
  • Posted on December 11, 2021May 31, 2022

Here is the most useful command to get empty lines from a file using grep in Linux.

Read More
  • Shell scripts

Bash: How to Calculate Sum After Reading File

  • by Srini
  • Posted on November 15, 2021November 19, 2021

Here is a shell script to calculate the sum of input file records. And to replace a string with a new one using sed utility.

Read More
  • Shell scripts

How to Search and Replace in Bash easily using sed

  • by Srini
  • Posted on November 8, 2021November 15, 2021

Here are the best examples of how to use sed utility to search and replace. These examples explain how to replace a string with your choice.

Read More
  • Shell scripts

How to Call a Shell Script from Another Script

  • by Srini
  • Posted on November 1, 2021January 17, 2022

In Bash shell (or any other) you can include a script in another script. Here is best example of how you can do it. Also, I have explained the reasons of why you need it.

Read More
  • Shell scripts

How to Read Array and Print in Bash script

  • by Srini
  • Posted on October 23, 2021January 18, 2022

Here’s a simplified script to read all the elements of the array. You can do two things with this script. Those are appending and Counting.

Read More
  • Shell scripts

How to Change Default Shell In Ubuntu

  • by Srini
  • Posted on October 18, 2021December 24, 2021

Here’s a simple command that you can use to change shells. It’s useful to work with multiple shells at a time.

Read More
  • Shell scripts

3 File Descriptors in Unix Operating System: What They Mean

  • by Srini
  • Posted on October 11, 2021November 1, 2021

How to use file descriptors in Unix is explained in this post. Unix supports three types. Here is an example that shows how it works.

Read More
  • Shell scripts

Shell Script Tricky Question – Duplicate Functions

  • by Srini
  • Posted on October 9, 2021October 15, 2021

Here is a tricky shell script question. What happens if you give duplicate function names in the script.

Read More
Advertisements

Learn where you are. Online courses from  ₹490

Advertisements
Search your dream jobs here
Search your dream jobs here
Advertisements

About Srinimf

We share solutions for developer day to day problems and interview questions.

Blog Stats

  • 1,982,393 hits

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 1,956 other followers

Dr.Vagdevi BNYS
© 2010-2022, Srinimf.com
  • AWS
  • CentOS
  • Hadoop
  • IMS DC
  • Quiz
  • Blockchain
  • DB2
  • COBOL
A WordPress.com Website.
×
  • Follow Following
    • Srinimf
    • Join 1,956 other followers
    • Already have a WordPress.com account? Log in now.
    • Srinimf
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy