Posts

Showing posts from March, 2022

Shell scripingby harsha

Image
 Important points only: Variables in shell can be accessed by below 3 ways: echo $A echo ${A} echo "${A}" If you want variable subsitution in string use double quotes, single quotes will not substiute value it will print symbol itself ❯ echo "Value of a is ${A}" Value of a is 100 ❯ echo 'Value of a is ${A}' Value of a is ${A} The ‘ -e ‘ option in Linux acts as an interpretation of escaped characters that are backslashed. Using option ‘\b‘ – backspace with backslash interpretor ‘-e‘ which removes all the spaces in between. $ echo -e "Tecmint \bis \ba \bcommunity \bof \bLinux \bNerds" TecmintisacommunityofLinuxNerds Using option ‘ \n ‘ – New line with backspace interpretor ‘ -e ‘ treats new line from where it is used. $ echo -e "Tecmint \nis \na \ncommunity \nof \nLinux \nNerds" Tecmint is a community of Linux Nerds

Linux notes

 Linux Notes: ## Basics ## 1. Introduction to Linux -- http://bit.ly/Introcudtion_to_Linux 2. Linux Architecture -- http://bit.ly/Linux_Architecture 3. Windows Vs Linux Comparision -- http://bit.ly/Windows_Vs_Linux 4. Bash Shell features -- http://bit.ly/bash_shell 5. Linux Directory Structure -- http://bit.ly/Linux_Directory_structure 6. Linux Boot Process Detailed explanation - http://bit.ly/LinuXboot_process 7. Basic and Common Commands - http://bit.ly/Basicommands 8. All Linux Commands with there description - http://bit.ly/Linux_commands 25 Linux commands - http://bit.ly/29ZhNDn #### System Administration Topics ## 9. Linux Text Editors - http://bit.ly/Text_Editors 10. Linux Operating System Installation - http://bit.ly/Linux_OS_Installation 11. User Profile Management - http://bit.ly/User_Profile_management 12. User Administration (User Creation, Modification and deletion) - http://bit.ly/User_Administration 13. Access Control List - http://bit.ly/29Md71v 14. Head, Sort, Tail...