0% found this document useful (0 votes)
44 views2 pages

Assignment - 4 Unix and Shell Programming

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Assignment - 4 Unix and Shell Programming

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment-5 ( A.Y.

2024-25)

Course code: 24BTPCCX11 Subject: Unix and Shell Programming Semester: 1st Sem

Q.1 Explain various types of shell variables in detail with its syntax and Example.

[Link] variables 2. Local variables 3. read-only variables.

[Link]

[Link]

[Link]

Q.2 What is Export Command? Explain Profile File in detail. Also Write awk script to count no of
characters, words, lines in a given file. (Practical No.9)

(Ref: 1 [Link]

[Link]

[Link]

Q.3 Explain the read, read only command and positional parameters in detail. Also Write a shell

script to find factorial of a given number. (Practical No.7)

(Ref: 1 [Link]

2 [Link]

[Link]

[Link]

Q.4 What is $? Variable? Explain Difference between $* and $@ command.

[Link] [Link]

[Link]

Q.5 Explain Branching control structures in detail with its syntax and example. Also Write a shell
script to list all of the directory files in a directory. (Practical No. 6)

(Ref: 1 [Link]

[Link]
Assignment-5 ( A.Y. 2024-25)

Course code: 24BTPCCX11 Subject: Unix and Shell Programming Semester: 1st Sem

Q.6 Explain Looping Control Structures in Unix/Linux in detail with its syntax and example.

(Ref: 1 [Link]

[Link]

[Link]

Q.7 Explain The expr command in detail with its syntax and example.

[Link]

[Link]

[Link]

Q.8 what is The here document (<<)? Explain The sleep command and The script command

[Link]

[Link]

[Link]

[Link]

[Link]

[Link]

Q.9 Explain the Eval command & Exec command in detail with its syntax and example.

[Link]

[Link]

[Link]

[Link]

[Link]

Q.10 Write a Shell Script that accepts a file name, starting and ending line numbers as arguments
and displays all lines between the given line numbers.

The due date for the assignment: 08/04/2024

You might also like