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

pls. any help guys. I need to understand this command so I could do my HW. My qu

ID: 3574714 • Letter: P

Question

pls. any help guys. I need to understand this command so I could do my HW. My questions are as follows.

The command that can change the permission of a file foo that is located in /tmp such that the owner has all permissions, group and everyone else has only read permission

Globally substitute “http” with “https” string in file called code using sed utility

Show the command that will delete all occurrences of !,;,?,%,@ from a file called foo.

Show the command that will run whatever utility you are trying to run in background.

Explanation / Answer

1) chmod 447 /tmp/filename

2) sed 's/http/https/g' code.txt

3) sed 's/[!,;,?,%,@]//g' foo

4) bg %jobid or %jobid &

move the job named jobid to background.