Sponsored Content
Homework and Emergencies Homework & Coursework Questions Please help me with my homework!!! Post 302584742 by ubun on Sunday 25th of December 2011 06:31:21 AM
Old 12-25-2011
Please help me with my homework!!!


A shell script is a script written for the shell, or command line interpreter, of an operating system. Typical operations performed by shell scripts include file manipulation, program execution, printing text etc.
Shell : In computing, a shell is a piece of software that provides an interface for users. In this project, you should prepare a Linux shell script which performs following operations:
Your script will ask user 4 options : Create, Move, Delete, Copy. The option will be applied to
Directories and/or Files which contain given name.
Examples:
Create :
Reads a directory name and number from user and creates directories.
Example : directory name = student
number = 13
student1, student2, student3... student13
directories will be created by this option.
While creating each folder, script will ask user directory permissions. (permissions could
be given by number values like; 775 for rwxrwxr-x)
(
NOTE: If directories exist, inform user!)
Move : Name and new location is taken from user.
Copy : Name and new location is taken from user.
Delete : Name is taken from user.
NOTE : Each operation will be logged in log.txt such as:
Example : Directory documentation_13.11.2007 is moved to upper directory
All of these options will be listed as a menu for user. At the end of each operation menu should
be shown unless user selects
Exit option. The shell script should display appropriate messages
such as warning, information.
Example : If given filename does not exist, warn user.
NOTE : The wildcards should be accepted by your shell script as user input !

it's very emergency it must have finished in this day.
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Homework?

https://www.unix.com/shell-programming-scripting/113946-scripts.html Looks like an assignment or homework to me, does it to you? (5 Replies)
Discussion started by: TonyFullerMalv
5 Replies

2. UNIX for Dummies Questions & Answers

Homework :(

1. You have a very large file, named 'ColMe', tab-delimited, you are asked to process. You are told that each line in 'ColMe' has 7 columns, and that the values in the 5th column are integers. Using shell functions (and standard LINUX/UNIX filters), indicate how you would verify that these... (1 Reply)
Discussion started by: mb774
1 Replies

3. Homework & Coursework Questions

Homework Help.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hello, My name is Jordan and studying at the New Bulgarian University in Sofiya. This is my homework but can... (2 Replies)
Discussion started by: freestar
2 Replies

4. Homework & Coursework Questions

Need some help with my homework

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Hi, since I'm relatively new to Unix I need some help. I've installed FreeBSD 8 on a virtual machine and I've done... (4 Replies)
Discussion started by: iLeeT777
4 Replies

5. Shell Programming and Scripting

Homework

1. Write a shell script to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether... (1 Reply)
Discussion started by: aninda1989
1 Replies

6. Homework & Coursework Questions

Homework

plz i need code to search about numbers like this : 962785785698 962795565488 962785321565 962777321684 962795979515 i need code to detect just numbers start with "96278" i need it in awk !! thanks (1 Reply)
Discussion started by: eyad mohammad
1 Replies

7. Homework & Coursework Questions

Homework Help

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: 2. Relevant commands, code, scripts, algorithms: Write a command to display lines ending with the... (1 Reply)
Discussion started by: elh009
1 Replies
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy