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) [nmh-1.5] RMF(1)
rmf - remove an nmh folder
rmf [+folder] [-interactive | -nointeractive] [-version] [-help]
Rmf removes all of the messages (files) within the specified (or default) folder, and then removes the folder (directory) itself.
If there are any files within the folder which are not a part of nmh, they will not be removed, and an error will be produced. If the
folder is given explicitly or the -nointeractive option is given, then the folder will be removed without confirmation. Otherwise, the
user will be asked for confirmation. If rmf can't find the current folder, for some reason, the folder to be removed defaults to `+inbox'
(unless overridden by user's profile entry "Inbox") with confirmation.
If the folder being removed is a subfolder, the parent folder will become the new current folder, and rmf will produce a message telling
the user 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.
If rmf s used on a read-only folder, it will delete all the (private) sequences (i.e., "atr-seq-folder" entries) for this folder from your
context without affecting the folder itself.
Rmf irreversibly deletes messages that don't have other links, so use it with caution.
$HOME/.mh_profile The user profile
Path: To determine the user's nmh directory
Current-Folder: To find the default current folder
Inbox: To find the default inbox
`+folder' defaults to the current folder, usually with confirmation
`-interactive' if +folder' not given, `-nointeractive' otherwise
Rmf will set the current folder to the parent folder if a subfolder is removed; or if the current folder is removed, it will make "inbox"
current. Otherwise, it doesn't change the current folder or message.
Although intuitively one would suspect that rmf works recursively, it does not. Hence if you have a sub-folder within a folder, in order
to rmf the parent, you must first rmf each of the children.
MH.6.8 11 June 2012 RMF(1)