10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am in a Unix class and have been out of town. I have been tasked to generate a couple of scripts and ahve never done it before. I have a virtual machine running Ubuntu. The task is below
Prompt the system administrator for all valid input parameters
Generate a menu to ask which... (1 Reply)
Discussion started by: jkeeton81
2. Shell Programming and Scripting
i have a file something like this :
and i want (end - start) total run time in below format:
00:15:00 (4 Replies)
Discussion started by: Acme
3. Shell Programming and Scripting
i have date as inputdate=01/01/2013,how to get the previous date from this date and also first day's date of the month.
how can i get solution to this. my unix is not supporting GNU Dates
... (0 Replies)
Discussion started by: learner24
4. Shell Programming and Scripting
Totally newbie in scripting. And need helps in preparing a script to help me to do file moving, renaming and even delete.
I have 2 directories.
a) I will be getting new text files (e.g NewFile23052013.txt) created in the directory #1 every day... (1 Reply)
Discussion started by: quickerz
5. Shell Programming and Scripting
Hello everyone! I am brand new at this forum thing and wanted to thank all of you for your time and help in advance for helping me troubleshoot my issue.
I am fairly new to shell scripting and scoured the entire internet to find a solution for my issue to no avail and hope you're able to help.
... (2 Replies)
Discussion started by: sedrocks
6. Shell Programming and Scripting
I'm trying to craft a log file summarisation tool for an application that creates a lot of duplicate entries with only a different suffix to indicate point of execution. I thought I'd gotten close but I'm clearly missing something.
Here's a genericized version:
A text_file... (3 Replies)
Discussion started by: mthespian
7. Shell Programming and Scripting
I am using ii for irc on my pogoplug...
If you look at the bottom of there, it states
31 What other fancy stuff can I do with ii?
33 It is very easy to write irc bots in ii:
34... (3 Replies)
Discussion started by: spartan2006
8. Shell Programming and Scripting
if I have a string delimited by commas how can I put each character on a new line followed by a carriage return, and output this to a filee.g
thanks you (3 Replies)
Discussion started by: Wahmed9
9. Shell Programming and Scripting
PFA file "color.txt".
Note : There is no newline character in the file. I have manually inserted the newline char to make it easy to understand.
I am expecting out in the form as specified in second file "out.txt"
I need a perl script to perform the task.
Thanks in advance. (2 Replies)
Discussion started by: deo_kaustubh
10. UNIX for Dummies Questions & Answers
hi everyone! I'm the newest member of the forum. Im interested learning unix programming. Could anyone give me some points on which book have the best approach for begginers. What kind of unix os that suite for my needs.. Or anyone who has free manuals that are downloadable. (1 Reply)
Discussion started by: hinayupax
rmf(1) General Commands Manual rmf(1)
rmf - remove folder (only available within the message handling system, mh)
rmf [+folder] [-help] [-[no]interactive]
Prints a list of the valid options to this command. Asks for confirmation before deleting a folder. By default, rmf deletes a folder and
its messages without asking for confirmation. If you specify the -interactive option, rmf asks if you are sure before deleting the folder.
You are advised to use this option, since when rmf deletes a folder its contents are lost irretrievably.
The rmf command removes all of the messages within the current folder, and then removes the folder itself. If there are any files within
the folder which are not part of MH, they are not removed, and an error message is displayed.
You can specify a folder other than the current folder by using the +folder argument. If you do not specify a folder, and rmf cannot find
the current folder,rmf asks you whether you want to delete +inbox instead.
If the current folder is removed, it makes +inbox current.
Note that the rmf command irreversibly deletes messages that do not have other links, so use it with caution.
If the folder being removed is a sub-folder, the parent folder becomes the new current folder, and rmf tells you that this has happened.
This provides an easy mechanism for selecting a set of messages, operating on the list, then removing the list and returning to the current
folder from which the list was extracted.
Using rmf to delete a read-only folder deletes the private sequence and current message information from the file, without affecting the
folder itself. If you have sub-folders within a folder, you must delete all the sub-folders before you can delete the folder itself.
Path: To determine the user's Mail directory
This example shows how rmf asks for confirmation when the -interactive option is used: % rmf -interactive +test Remove folder "test"? y
The user profile.