How to invent new command utility

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions How to invent new command utility
# 1  
Old 02-23-2012
How to invent new command utility

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:
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:
Code:
        copyormovefile (-c -m) filename/s
             where:
                 copyormovefile is the name of the utility
                 (-c -m) are options that will do the following:
                        -c for copying filename/s
                        -m for moving filename/s

2. Relevant commands, code, scripts, algorithms:

any command that you can also reinvent its name

3. The attempts at a solution (include all code and scripts):



4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):

University of california, new york, United States, Mr. Alcalde, IT 222

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).

Last edited by zxmaus; 02-26-2012 at 08:54 AM.. Reason: added tags
# 2  
Old 02-23-2012
what you have tried so far ?
# 3  
Old 02-23-2012
can i used sed command utility that havent have options that explored yet??
i dont know how to alias it in script and how can i enhance this sed command utility, please help
# 4  
Old 02-23-2012
Next time, I do hope you fill in the form more seriously, especially the part 4!

And will show us more respect and let us see the work you done so far...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issue in running a command line utility in CRON

Hi Everyone! I am facing an issue in running a command line utility from the CRON. This utility displays IPC statistics on UNIX message queues: The "queue name" and the "count" of messages in the queue. When running this utility from prompt, it will provide an output on the screen, like the... (4 Replies)
Discussion started by: vai_sh
4 Replies

2. Homework & Coursework Questions

About menu using dd command utility

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: Please help about these script... i dont have a problem in option 1. But when it comes to options 2 and options 3... (2 Replies)
Discussion started by: amneytia1
2 Replies

3. UNIX for Advanced & Expert Users

which shell command or utility will call the net device driver?

Hi, all: Which shell command or utility will call the open(), close(), hard_start_xmit(), rtl8139_rx(), or interrupt() functions in a network device driver I am debugging? Can "ping", "ftp", "scp", or "internet browser" finally call them? Best regards! li, kunlun (0 Replies)
Discussion started by: liklstar
0 Replies

4. UNIX for Dummies Questions & Answers

FTP command-line utility usage

Hi, Using command-line utility "ftp or sftp", I want to transfer files across Windows and UNIX. Can you please tell me from where I need to connect to ftp and how do I specify the hostname, credentials and how do I get and put files between DOS and UNIX? Please provide me as much... (10 Replies)
Discussion started by: Dev_Dev
10 Replies

5. UNIX for Dummies Questions & Answers

What is difference between Power broker utility and sudo command?

Hi I just wanted to know the difference between Using Sudo mechanism over using Power breaker utilities. Are they recommended over sudo? Why ? (4 Replies)
Discussion started by: pinga123
4 Replies

6. Shell Programming and Scripting

DB Access Command Line Utility

To read/write to a DB from Java or Perl, you usually have to install/reference several drivers and write a whole bunch of boilerplate DB access code. I'm curious if someone has written a command line utility for Unix/Linux for simple database access for the major providers, something like: ... (3 Replies)
Discussion started by: furashgf
3 Replies

7. Linux

The dot command-line utility?

Hi, What else is the dot used beside relative filepaths in bash? Is it a shell utility as well? No man entry for dot (.)... (3 Replies)
Discussion started by: varelg
3 Replies

8. Programming

top command line utility

I'm writing a monitoring application. I'd like to periodically get the information provided by the 'top' command line utility from within my code and write the output of 'top' to a file. Wondering if anyone has already done something like this. Doing system("top > someFile"); does not create... (6 Replies)
Discussion started by: antoniomorandi
6 Replies

9. Programming

command line socket read utility

HI I have a messaging s/w daemon(TIBCO rvrd) provided by vendor which will accept connections from various clients and routes messages to the destinations. In order to route it internally uses two ports(one tcp adn one udp). I want to know on which port(tcp/udp) it is transmitting... (3 Replies)
Discussion started by: axes
3 Replies

10. Shell Programming and Scripting

Compound command with 'find' utility?

I'm trying to write a script using the 'find' command and it's -exec option to run a compound command against the files found. Example: find . -name "*.conf" -exec cat {} | grep "#" > /tmp/comments.list \; Of course the above doesn't work. So I experimented for a bit to see if there was... (6 Replies)
Discussion started by: deckard
6 Replies
Login or Register to Ask a Question