Highlighted
Flight Engineer
Flight Engineer
  • 1,302 Views

Could you please share the shell script for learn

Hi all ,

could you please guide me for learn bash Linux shell script.

Actually I need to learn all bash shell script concepts with detailed description and syntax with examples. If possible could you please share .

0 Kudos
17 Replies
Highlighted
Starfighter Starfighter
Starfighter
  • 1,295 Views

Re: Could you please share the shell script for learn

The way I learnt bash was by reading the man page and starting to code. Bash compound commands (for, case, if, while etc), conditional expressions, shell builtin commands (break, continue, getopts, popd, pushd, read etc), exit status codes and much more:

$ man bash

 There are examples too!

Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 1,290 Views

Re: Could you please share the shell script for learn

Hi @Lisenet,

 

 thanks for share but how to learn use by man <command> .

i think man <command> only shows usage arguments with command.

but start from initial stage to write programs/jobs/automation scripts .

if possible any video tutorial or kindly share book or blog for learn shell script.

Thanks 

0 Kudos
Reply
Loading...
Highlighted
Starfighter Starfighter
Starfighter
  • 1,280 Views

Re: Could you please share the shell script for learn

Well, this is how you start from the initial stage, you read about bash. Unless you use another shell, then in most cases "shell scripts" are written in bash. The man page has a lot of information.

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 1,130 Views

Re: Could you please share the shell script for learn

Hi @Lisenet ,

 

thanks for suggestion .

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 1,286 Views

Re: Could you please share the shell script for learn

In fact, you can use:

man man

Also, check this Fundamentals of Red Hat Enterprise Linux

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 1,272 Views

Re: Could you please share the shell script for learn

Hi @Larry,,

thanks for share.

i already enrolled but video classes contain until chapter 3 and remain chapters no video session. I am not sure from chapter 4 to end chapter no videos. I think they still developing videos for upload . Kindly check from your end from chapter 4 videos sessions are available or not . Kindly find below screenshot and without video 

C61EABE6-44ED-4024-BC53-139B1E4D4DA5.jpeg

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 1,252 Views

Re: Could you please share the shell script for learn

You might find Greg's Bash Guide useful. Full is examples and best practices.

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer
Flight Engineer
  • 1,186 Views

Re: Could you please share the shell script for learn

Hi @dennisk,

 

thanks for share 

0 Kudos
Reply
Loading...
Highlighted
Flight Engineer Flight Engineer
Flight Engineer
  • 1,198 Views

Re: Could you please share the shell script for learn

As mentioned above, your best bet for learning initially is to just start scripting. Find very basic things you can script/automate, then just keep making them better and better. Never quit trying to make your script more functional, or better written.

 

When you have the basics down, I really recommend this cheatsheet for reference, and the Bash Hacker's Wiki

https://devhints.io/bash

https://wiki.bash-hackers.org/

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.