04-28-2009
Okay, when you are prompted for "ready to run fdisk?" and you hit "m" or "b" instead of "n", the code simply continues to the next line.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
qwertyuiop (1 Reply)
Discussion started by: rorey_breaker
1 Replies
2. Shell Programming and Scripting
Many of my servers' /etc/group file have many userid's that does not exist in /etc/passwd file and they need to be deleted.
This happened due to manual manipulation of /etc/passwd files.
I need to do this for 40 servers.
Can anyone help me in achieving this? Even reducing a step or two will be... (6 Replies)
Discussion started by: pdtak
6 Replies
3. Shell Programming and Scripting
Hi Guys, I've got an system setup to act as an sftp server. I have a script that allows me to create chroot users running a custom shell within their home directory, it also creates a subdirectory that they can write into. I'm trying to write a script (that I can cron at a later date) that checks... (3 Replies)
Discussion started by: King_Brucie
3 Replies
4. Shell Programming and Scripting
Hi!
I would like to write a script which remove some files, all beginning with the same prefix :
prefix.1
doc/prefix.2
../prefix.3
etc.
So, I would create a file and chmod it executable. But I dont know how to pass a variable to a script. I would like to write something like
... (2 Replies)
Discussion started by: tipi
2 Replies
5. Shell Programming and Scripting
I found some posts describing how to completely clean out a mailbox in Unix/Linux. But I want to keep the 50 most recent messages. Any ideas out there?
Thanks! (3 Replies)
Discussion started by: OPTIMUS_prime
3 Replies
6. UNIX for Advanced & Expert Users
I needed some help with a script to fetch and delete all records prior to 3 days from now connecting to sybase from sunos. I wrote the following script but not working..can someone please guide me with my code.
Thanks
#!/bin/ksh
##GET PREVIOUS DAY DATE
dt=`date | awk... (3 Replies)
Discussion started by: moe458
3 Replies
7. Shell Programming and Scripting
Hi guys!
I have a directory in the production environment from which i have to delete files older then 40 minutes with .pid extention. I wrote a script below for the purpose.
#!/bin/bash
#
# Script to delete specific file older than N minutes.
# OLDERTHAN="40" #40 minutes
... (6 Replies)
Discussion started by: sajid.shah
6 Replies
8. Shell Programming and Scripting
I need help with sed and awk scripts to search for Symmetrix ID=000090009902 and then grep its child disk devices associated to the dead paths and display them only, so that those dead devices can be removed.
test01:/#powermt display dev=all
Pseudo name=hdiskpower0
Symmetrix ID=000090009902... (0 Replies)
Discussion started by: aix_admin_007
0 Replies
9. Shell Programming and Scripting
i=1
out=""
j=`expr 2 * $1`
while
do
out="$out"#""
echo $out
((i=i+1))
done
while
do
print ${out%?}
((i=i+1))
done
This script is throwing an error:
gurnish:/home/fnb/gurnish/saurabh/scripts> while1 3
expr: 0402-050 Syntax error.
# (6 Replies)
Discussion started by: targetshell
6 Replies
10. Shell Programming and Scripting
Hello,
I need some help from unix guru's here..I am looking for some advanced level script to cleanup the directories and files from specific directories under a file system..
The folders are created under /opt/modules
And under modules, there are multiple subfolders with the application... (6 Replies)
Discussion started by: mb525
6 Replies
LEARN ABOUT DEBIAN
ost_runable
ost::Runable(3) Library Functions Manual ost::Runable(3)
NAME
ost::Runable -
A container for objects that can be queued against a runlist.
SYNOPSIS
#include <misc.h>
Public Member Functions
bool starting (Runlist *list)
Start the object against a run list.
void stoping (void)
Stop the object, called when stopping or ready completes.
Protected Member Functions
Runable ()
virtual ~Runable ()
virtual void ready (void)=0
Method handler that is invoked when a wait-listed object becomes ready to run.
Friends
class Runlist
Detailed Description
A container for objects that can be queued against a runlist.
Author:
David Sugar dyfet@ostel.com runable object with notify when ready.
Constructor & Destructor Documentation
ost::Runable::Runable () [protected]
virtual ost::Runable::~Runable () [protected], [virtual]
Member Function Documentation
virtual void ost::Runable::ready (void) [protected], [pure virtual]
Method handler that is invoked when a wait-listed object becomes ready to run.
bool ost::Runable::starting (Runlist *list)
Start the object against a run list. Returns:
true if immediately available to run.
Parameters:
list to start under.
void ost::Runable::stoping (void)
Stop the object, called when stopping or ready completes. May also be used for a task that has not yet started to remove it from the wait
list.
Friends And Related Function Documentation
friend class Runlist [friend]
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::Runable(3)