04-13-2008
how can i print the output of the shell script in bigger size
how can i print the output of the shell script in bigger size
eg: echo " hello world"
i want to print this in the output with bigger size in the middle of the screen.
can someone please help me out in that
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Suppose u have a file like
1 30
ABCSAAHSNJQJALBALMKAANKAMLAMALK
4562676268836826826868268468368282972982
2863923792102370179372012792701739729291
31 60... (8 Replies)
Discussion started by: cdfd123
8 Replies
2. Shell Programming and Scripting
hello people
i need your help please
i want to achieve the following with the simplest, most efficient shell-tools:
i have a directory with a lot of files from users.
the script should check which partition the dir is on
if the partition with the directory is more than 90% full
... (2 Replies)
Discussion started by: scarfake
2 Replies
3. Shell Programming and Scripting
Hello ,
I have to write a crontab line make a check on a file and, if bigger than 2Gb, to stop apache daemon, delete the file and restart apache .
Someone have suggestions ?
Thanks (2 Replies)
Discussion started by: gogol_bordello
2 Replies
4. UNIX for Advanced & Expert Users
All,
PLease can you help me with a shell script which can compare two xml files and print the difference to a output file.
I have attached one such file for you reference.
<Group>
<Member ID=":Year_Quad:41501" childCount="4" fullPath="PEPSICO Year-Quad-Wk : FOLDER.52 Weeks Ending Dec... (2 Replies)
Discussion started by: kanthrajgowda
2 Replies
5. Shell Programming and Scripting
I have used an script to reduce the size of multiples pdf. This script creates files with the same name but with different extension. The extension of the compressed files is xpdf. Sometimes the "compressed" xpdf are bigger than the "uncompressed"pdf. I want to create a zsh script to compare each... (1 Reply)
Discussion started by: AMDx64BT
1 Replies
6. Shell Programming and Scripting
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies
7. Shell Programming and Scripting
HI,
I want to connect to database and fetch the count from a table.
The sql query is as below :
select count(*) from table_test where test_column='read';
How can I print the output of this statement using shell script.
Thanks in advance. (4 Replies)
Discussion started by: confused_info
4 Replies
8. Shell Programming and Scripting
#! /bin/ksh
#] && . ./.profile 2>/dev/null
if test -f '.profile'; then . ./.profile; fi;
#. .profile
LOG_DIR=/app/rpx/jobs/scripts/just/logs
sendEmail()
{
pzCType="$1"; pzTitle="$2"; pzMsg="$3"; pzFrom="$4"; pzTo="$5"; pzFiles="$6"; pzReplyTo="$7"
(
... (4 Replies)
Discussion started by: ankit.mca.aaidu
4 Replies
9. Shell Programming and Scripting
Hi Team,
Need shell script to Telnet multiple node , Ping some IP and print output like pass or fail.
Need this script to check reachability of multiple nodes at same time.
Help me.
I use this but not working...
Eg.
in this script i need to telnet... (4 Replies)
Discussion started by: Ganesh Mankar
4 Replies
10. Shell Programming and Scripting
Hello all,
I am facing a weird issue while executing a code below -
#!/bin/bash
cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset
sh UKBA_publish.sh UKBA 28082015 3
if
then
echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies
LEARN ABOUT DEBIAN
mkfs.gfs2
mkfs.gfs2(8) System Manager's Manual mkfs.gfs2(8)
NAME
mkfs.gfs2 - Make a GFS2 filesystem
SYNOPSIS
mkfs.gfs2 [OPTION]... DEVICE [ block-count ]
DESCRIPTION
mkfs.gfs2 is used to create a Global File System.
OPTIONS
-b BlockSize
Set the filesystem block size to BlockSize (must be a power of two). The minimum block size is 512. The FS block size cannot
exceed the machine's memory page size. On the most architectures (i386, x86_64, s390, s390x), the memory page size is 4096 bytes.
On other architectures it may be bigger. The default block size is 4096 bytes. In general, GFS2 filesystems should not deviate
from the default value.
-c MegaBytes
Initial size of each journal's quota change file
-D Enable debugging output.
-h Print out a help message describing available options, then exit.
-J MegaBytes
The size of the journals in Megabytes. The default journal size is 128 megabytes. The minimum size is 8 megabytes.
-j Number
The number of journals for gfs2_mkfs to create. You need at least one journal per machine that will mount the filesystem. If this
option is not specified, one journal will be created.
-O This option prevents gfs2_mkfs from asking for confirmation before writing the filesystem.
-p LockProtoName
LockProtoName is the name of the locking protocol to use. Acceptable locking protocols are lock_dlm (for shared storage) or if
you are using GFS2 as a local filesystem (1 node only), you can specify the lock_nolock protocol. If this option is not specified,
lock_dlm protocol will be assumed.
-q Be quiet. Don't print anything.
-r MegaBytes
gfs2_mkfs will try to make Resource Groups about this big. Minimum RG size is 32 MB. Maximum RG size is 2048 MB. A large RG size
may increase performance on very large file systems. If not specified, mkfs.gfs2 will choose the RG size based on the size of the
file system: average size file systems will have 256 MB RGs, and bigger file systems will have bigger RGs for better performance.
-t LockTableName
The lock table field appropriate to the lock module you're using. It is clustername:fsname. Clustername must match that in clus-
ter.conf; only members of this cluster are permitted to use this file system. Fsname is a unique file system name used to distin-
guish this GFS2 file system from others created (1 to 16 characters). Lock_nolock doesn't use this field.
-u MegaBytes
Initial size of each journal's unlinked tag file
-V Print program version information, then exit.
[ block-count ]
Make the file system this many blocks in size. If not specified, the entire length of the specified device is used.
EXAMPLE
gfs2_mkfs -t mycluster:mygfs2 -p lock_dlm -j 2 /dev/vg0/mygfs2
This will make a Global File System on the block device "/dev/vg0/mygfs2". It will belong to "mycluster" and register itself as
wanting locking for "mygfs2". It will use DLM for locking and make two journals.
gfs2_mkfs -t mycluster:mygfs2 -p lock_nolock -j 3 /dev/vg0/mygfs2
This will make a Global File System on the block device "/dev/vg0/mygfs2". It will belong to "mycluster" and but have no cluster
locking. It will have three journals.
mkfs.gfs2(8)