Question
Linux Ubuntu Shell Script For a file blabla.txt given as parameter write two different shell scripts to figure out the size of the blabla.txt file
Linux Ubuntu Shell Script
For a file blabla.txt given as parameter write two different shell scripts to figure out the size of the blabla.txt file in bytes. Only the size should be printed on the console.
For blabla1.txt and blabla2.txt given as parameters for your shell script, print out the two files altogether how many lines do they contain without modifying the original files! Only the number of lines should be printed on the console (standard output)
Given the files bla.txt, blu.TxT and bli.Txt in the current repository provide a single Linux command which will list only the bla.txt and the bli.Txt. For the filename matching only one regular expression is to be used.
Given a text file blabla.txt, print the list of lines which contain patterns such as: lowercase letter a or b or c followed by uppercase letter X or Y followed by a single digit. How many words these specific lines do contain? Print only one number to the screen.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started