5 Shell Scripts for Linux Newbies to Learn Shell Programming – Part II

If you have any questions or problems regarding this article and want help within 24 Hours? Ask Now

Support TecMint: Did you find this tutorial helpful?. Please help to keep it alive by donating. Every cent counts! - Donate Now

Avishek Kumar

I am a major in computer science, love to research nix. I love to write codes and scripts, review distros, experiment Foss Technologies, write technical articles, Hack, of course Ethically. I am working as System Administrator (nix) for a NGO.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Advanced Bash-Scripting Guide
Linux Bible
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

69 Responses

  1. Teo says:

    You’re great man, thanks! short and precise!

  2. Atul Patil says:

    HI Avishek,

    Nice blog , can you please guide me how to create one scripts it will check first memory utilazation if it is high then run command sh -c “sync; echo 1 > /proc/sys/vm/drop_caches”

  3. NJ says:

    thanks a mile :)

  4. Prince says:

    How to print a time stamp of multiple files from different path?

    • Avishek Kumar says:

      How do you get time stamp of one file?
      simply by executing of the below commans
      $ stat /path/to/file/file_name
      $ ls -l /path/to/file/file_name
      $ ls -lc /path/to/file/file_name
      $ ls -lu /path/to/file/file_name

      So how will you print time stamp of more than one file from different location
      $ stat /path/to/file/file_name /path/to/file2/file_name2
      $ ls -l /path/to/file/file_name /path/to/file2/file_name2
      $ ls -lc /path/to/file/file_name /path/to/file2/file_name2
      $ ls -lu /path/to/file/file_name /path/to/file2/file_name2

      Hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Over 95000+ Linux Users
  1. 57,739
  2. 3,201
  3. 25,639

Enter your email to get latest Linux Howto's