07-24-2007
Please stick to the rules. Do not bump your posts.
I have merged both the posts.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
I need a simple shell script(Linux..bash shell) for the below description. Can anyone help me please. I need it very urgently. That is why
i cannot write it myself.
Objective
Create shell scripts using:
· Simple interactive menus
· Variables, functions
Description
Create a... (4 Replies)
Discussion started by: praji
4 Replies
2. AIX
We have a problem where we delete a user and their associated UID gets dumped back in the UID pool. The if we immediately create a another (new) user, AIX reuses the last UID, the one that was just released. This is causing a problem when reports are being generated because the new users name is... (2 Replies)
Discussion started by: xsys2000
2 Replies
3. Shell Programming and Scripting
Hi ..please tell me how to modinfy an existing file in a directory, i need commands like to open edit and save n execute the file in BASH. please respond immediately (3 Replies)
Discussion started by: deepti.1104
3 Replies
4. Linux
how can i check if the size of my file is greater than 5MB and if it is so then how can I direct my data to another new file.
the data will be in the form of SQL query (4 Replies)
Discussion started by: infyanurag
4 Replies
5. Programming
HI,
I am getting the error :
ErrCode:-2 Message:Application Initialisation function Err Params:Could not Load SO/DLL
Nothing specific is coming, just the above error.
Can anyone tell me how to debug this error.
Thanks. (3 Replies)
Discussion started by: amol_helwatkar
3 Replies
6. Shell Programming and Scripting
Hello,
I have a UNIX file in which data is like this --
ISA*00* *00* *01*006415160 *01*137361242 ... (3 Replies)
Discussion started by: The Observer
3 Replies
7. Linux
Hi all,
I am trying to schedule a one time job using at. First I do a `date` command to capture current date
$ date
Fri Aug 8 15:53:20 # shows current date
$ at -t 16:00 today #schedule command to run at 4pm
at> command1
at> <EOT> #after pressing Crtl D
job 6 at 2008-08-08 15:53 and... (1 Reply)
Discussion started by: new2ss
1 Replies
8. Shell Programming and Scripting
what is the script to take files from ftp to unix server and unzipped the files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
9. Solaris
I try and start a short script nohup the nohup immediately stops.
Here's the code
#!/bin/sh
rm backup.out
for i in `cat /home/xxxxx/Allservers.txt`
do
echo "Logging onto $i"
ssh -qt $i '/usr/local/bin/sudo "/src/bkupsa"'
done >>backup.out
Any ideas? (3 Replies)
Discussion started by: ekrause77
3 Replies
LEARN ABOUT HPUX
extendfs_hfs
extendfs_hfs(1M) extendfs_hfs(1M)
NAME
extendfs_hfs: extendfs - extend HFS file system size
SYNOPSIS
size] special
DESCRIPTION
If the original HFS file system image created on special does not make use of all of the available space, the command can be used to
increase the capacity of an HFS file system by updating the file system structure to include the extra space.
The command-line parameter special specifies the character device special file of either a logical volume or a disk partition. The special
must be unmounted before the command can be run (see mount(1M)).
Options
recognizes the following options:
Specify the HFS file system type.
Query the size of
special. No file system extension will be done.
Verbose flag.
Specifies the number of
blocks to be added to the file system. If the number of blocks is not specified, the maximum possible size is used.
EXAMPLES
To increase the capacity of a file system created on a logical volume, enter:
WARNINGS
The root file system cannot be extended using the command because the root file system is always mounted, and the command only works on
unmounted file systems.
will fail if used on a file system, on a logical volume, where the logical block size of the logical volume is greater than the file sys-
tem's fragment size. The logical block size, of a logical volume changes, when additional disks with larger sector size are added.
RETURN VALUE
returns the following values:
0 No errors were detected and file system was successfully extended.
1 Command aborted.
SEE ALSO
extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M).
extendfs_hfs(1M)