Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

What does the following string represents? (\\ + 1 -)?([0 - 9] + \\.?[0 - 9]* |\

ID: 3789761 • Letter: W

Question

What does the following string represents? ( + 1 -)?([0 - 9] + .?[0 - 9]* |.[0 - 9] +)([e E]( + | -)?[0 - 9] +)? Regular expression for various numbers including an upper or lower case e strings that start with +/- and end with? Regular expression for floating point numbers none of the above describe the function of the following shell script: mv $ echo $file | tr [upper:][lower:] 2 >/dev/renames all files and dirs, changing upper case letters to lower case and redirects steer output to/dev/null. renames the first 2 file names from dir upper to dir lower and redirects steer to/dew/null renames files in all dirs from upper to lower case names and sends result to/dev/null This command counts the files and directories in the/etc dir: $ find/etc - type d - print |wc - 1 Select one True False

Explanation / Answer

Ans 13) Option b i.e. string starts with +/- and ends with ?

Ans 14) option a rename all the files and dir changing upper case into lower case and redirects the standard output error to /dev/null

You cann check this by creating some directories in uppercase using mkdir and some files in a current dir. after then run this function in command line or through vi editor.

After then do ls in command line

You will see the output

Ans 15 (False) The command will only count the subdirectories in /etc and also the dir /etc.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote