Sponsored Content
Top Forums UNIX for Dummies Questions & Answers please help me... im a newbie Post 302317914 by jaesen_b23 on Wednesday 20th of May 2009 08:27:00 AM
Old 05-20-2009
Bug please help me... im a newbie

please help me with my assignment. i have no background with unix programming. so please do help me.

here is the problem

Develop a utility that will enhance the current file management and
organization functions of Linux.

You may use existing file management commands to create the utility.
Look for options that were not explored by the command yet, then
enhance the command by reinventing its name and adding this option
to its current options.

You may combine related commands into one script also.
Example:
duplicatefile (-c/-m) filename
where:
duplicatefile is the utility name
(-c/m) are options that will do the following:
-c for copying filename
-m for moving filename
filename is the operand of the command


Store executable script in the directory, "casestudies", from
your home directory. ( if directory does not exist, create it.)

Furthermore, provide a description of the utility you developed.
Store this description in the file named, "utilitydesc", in the same
directory.
The "utilitydesc" file must contain substantial discussions to the
following questions:

1. What does the utility do?
- function of the utility

2. Who will benefit from the utility?
- e.g administrator, user
- provide brief description of benefit derived

3. How does it work?
- identify syntax
- provide sequence of steps to execute it
including valid input/output definitions

4. What linux file or process utilities or commands did
you use to construct script?


thanks
 

10 More Discussions You Might Find Interesting

1. IP Networking

help<newbie>

hello i would like to get a server so i may post websites on the web do i have to pay a lot of money to use someone else's server or is there a way to turn a computer into a basic server please help i am trying to find the most inexpensive way to get my own domain up on the web if this is... (1 Reply)
Discussion started by: skistar
1 Replies

2. Programming

help<newbie>

i am new to the programing enviroment i know html and some of cgi i would like to know how to creat programs i know nothing!!!!!!!!!!!!! what do i need to get started where can i learn the language what language do i need to learn i tried scheme http://www.htdp.com it did not work out well... (9 Replies)
Discussion started by: skistar
9 Replies

3. UNIX for Dummies Questions & Answers

newbie needs help

hi i need some help on command grep and pipe but the man grep and man pipe doesn't help me much is there any site show more detail help on all the unix command?? (1 Reply)
Discussion started by: goodman
1 Replies

4. UNIX for Dummies Questions & Answers

Newbie

I know I'm jsut a newbie, I'm setting up a 1.3 ghz dell as a server. I have experiance using Windows for a webserver, and I was jsut woundering if I would have great difficulty using Unix. is there there like netscape for internet? is there like word? can you listen to Mp3s? can someone... (4 Replies)
Discussion started by: Special K
4 Replies

5. UNIX Desktop Questions & Answers

newbie

Hi, I am interested in learning unix and would like some advice on how I would start to learn unix. Therefore, What would be a good (free) unix distribution to install? Would it be better to invest in a packaged Linux distribution (redhat etc) and get the feel for unix this way? Are... (4 Replies)
Discussion started by: wolf2
4 Replies

6. UNIX for Dummies Questions & Answers

Newbie in need of help

Hey all. I am a MS person that is looking to get into real computing for a change. I have seen a few different references to "UNIX Essentials and Core" DVD in different newbie threads and a quick intraweb search on Google only comes up with links to this forum and an Amazon review. Does anyone... (3 Replies)
Discussion started by: cfjohnsn
3 Replies

7. Solaris

Newbie

Hello Guys, I just join the unix world today, I had my first lesson on unix today. So expect so much questions from me the next time I log in. Thanks (3 Replies)
Discussion started by: Micko
3 Replies

8. UNIX for Dummies Questions & Answers

UNIX newbie NEWBIE question!

Hello everyone, Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware. I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies

9. Shell Programming and Scripting

perl newbie . &&..programming newbie (question 2)

Hello everyone, I am having to do a lot of perl scripting these days and I am learning a lot. I have this problem I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files.. there is folder1\folder2\*.gz and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies

10. Shell Programming and Scripting

perl newbie . &&..programming newbie

Hi, I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script. I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies
MV(1)							    BSD General Commands Manual 						     MV(1)

NAME
mv -- move files SYNOPSIS
mv [-f | -i | -n] [-hv] source target mv [-f | -i | -n] [-v] source ... directory DESCRIPTION
In its first form, the mv utility renames the file named by the source operand to the destination path named by the target operand. This form is assumed when the last operand does not name an already existing directory. In its second form, mv moves each file named by a source operand to a destination file in the existing directory named by the directory oper- and. The destination path for each operand is the pathname produced by the concatenation of the last operand, a slash, and the final path- name component of the named file. The following options are available: -f Do not prompt for confirmation before overwriting the destination path. (The -f option overrides any previous -i or -n options.) -h If the target operand is a symbolic link to a directory, do not follow it. This causes the mv utility to rename the file source to the destination path target rather than moving source into the directory referenced by target. -i Cause mv to write a prompt to standard error before moving a file that would overwrite an existing file. If the response from the standard input begins with the character 'y' or 'Y', the move is attempted. (The -i option overrides any previous -f or -n options.) -n Do not overwrite an existing file. (The -n option overrides any previous -f or -i options.) -v Cause mv to be verbose, showing files after they are moved. It is an error for the source operand to specify a directory if the target exists and is not a directory. If the destination path does not have a mode which permits writing, mv prompts the user for confirmation as specified for the -i option. As the rename(2) call does not work across file systems, mv uses cp(1) and rm(1) to accomplish the move. The effect is equivalent to: rm -f destination_path && cp -pRP source_file destination && rm -rf source_file EXIT STATUS
The mv utility exits 0 on success, and >0 if an error occurs. EXAMPLES
Rename file foo to bar, overwriting bar if it already exists: $ mv -f foo bar COMPATIBILITY
The -h, -n, and -v options are non-standard and their use in scripts is not recommended. SEE ALSO
cp(1), rm(1), symlink(7) STANDARDS
The mv utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible. HISTORY
A mv command appeared in Version 1 AT&T UNIX. BSD
March 15, 2013 BSD
All times are GMT -4. The time now is 11:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy