Wednesday 13 January 2016

5 Shell Scripts for Linux Newbies


Learn Linux Operations With This Premium 5-Course Learner Bundle ($49)Get This Deal

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! - Can You Run It On Linux? 10 Vital Apps You Will Want When You Switch

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...

70 RESPONSES

  1. vishwa
    Hi Avishek,
    Drawing a Special Pattern: Throwing an error
    ./pattern.sh: 19: ./pattern.sh: Syntax error: Bad for loop variable
    I have given 777 permission of the file.
  2. Teo
    You’re great man, thanks! short and precise!
  3. Atul Patil
    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”
  4. NJ
    thanks a mile :)
  5. Prince
    How to print a time stamp of multiple files from different path?
    • Avishek Kumar
      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

No comments:

Post a Comment