04-18-2002
What shell script are you using? There are many ways to do what you want to do on Linux depending on the shell you are using? PERL? PHP? KSH?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi frnds,
i need ur help reg getdents command which is used to read the directory entries. I need to know the exact usage of the command and any sample code reg the usage of getdents command
-------------
deep :confused: (1 Reply)
Discussion started by: deep
1 Replies
2. Shell Programming and Scripting
Hi
Im trying to use sed to change some files which I'll describe here:
I want to use a regular expression to grab the <body> tag from a document. However, the <body> tag can look different so the regular expression used will take care of that and "include" all types of bodies, in example:... (4 Replies)
Discussion started by: hjalle
4 Replies
3. Linux
Hi Guys,
I had a small task to install linux using Kickstart(Remote Installation) in sun x4450 server. Any document with screen shot for linux installation. please assist me, Thanks in Advance.
specifications
2* Quad core 2.93 ghz cpu
32 gb
4 * 146 gb harddisk (1 Reply)
Discussion started by: kurva
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
i am using PUTTY 0.51 release for connecting the Red hate linux box in SSH mode. its working fine but i can't able to scoll the scoll bar using scroll wheel inthe mouse. please suggest me how to solve it.
thanks in advance.
thanks and regards,
ilayans (2 Replies)
Discussion started by: ilayans
2 Replies
5. Shell Programming and Scripting
Hi,
I would like to grep for a string within a tag, can someone provide some assistance in how to do it? So I would like to use the grep command to find a string like:
<tag>sometext<tag>
because the sometext can be any number of characters or an type of number or lettering, what expression... (1 Reply)
Discussion started by: cyberfrog
1 Replies
6. Shell Programming and Scripting
Hi all,
is there anyone good at bash who will help me?
I need to use syntax ${string/pattern/replacement}
The problematic part where I am stuck is:
#!bin/bash
text="A cat is on a mat."
exp="cat"
newexp="SOMECODEcatSOMECODE"
newtext=${${text}/${exp}/${newexp}}
== > ERROR "wrong... (4 Replies)
Discussion started by: JohnnyM77
4 Replies
7. Shell Programming and Scripting
Hi,
i have some problems with regular expressions in a awk search pattern.
what i want to do:
i want to calculate the mean-value in the time from 00:00 to 06:00
how my data looks like:
....
04/01/13-01:40 670992 54802 80711 116460 156177
04/01/13-01:50 703725 60150 85498 ... (3 Replies)
Discussion started by: IMPe
3 Replies
8. UNIX for Advanced & Expert Users
When in the vi editor, I can find where the value of variables in COBOL programs (everything is uppercase) get changed with
/ *ACCT-BALANCE and it will find the last two characters of reserved words such as ACCEPT, FROM, TO, and COMPUTE followed by at least one space before the variable I'm... (2 Replies)
Discussion started by: wbport
2 Replies
9. Shell Programming and Scripting
Dear community,
I am trying for several hours now to create an egrep command to grep the number of lines containing a specific text from a text-file but seem to have an error somewhere.
The Textfile contains several thousand lines and has the expression "Lastname" in several lines.... (3 Replies)
Discussion started by: Donzo
3 Replies
LEARN ABOUT SUSE
paperconfig
PAPERCONFIG(8) Linux Administrator's Manual PAPERCONFIG(8)
NAME
paperconfig - configure the system default paper size
SYNOPSIS
paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ]
DESCRIPTION
paperconfig sets the system (or default) paper to be used by tools using the papersize file. It can either ask interactively for the paper
to use or be called non-interactively by scripts.
When the paper size has been changed, paperconfig notifies other packages of the change by running the scripts in the /etc/libpaper.d
directory.
OPTIONS
-v,--version
Print the version of paperconfig and exit.
-h,--help
Print help about usage and exit.
-p, --paper papername
Use papername if possible. If papername is not a valid paper, print an error message and exit.
--force
Force interactive selection of the system paper even if the actual paper is a valid one.
ENVIRONMENT
PAPERCONF Full path to a file containing the paper size to use; this file will be rewritten with the system paper size.
FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE variable is not set.
/etc/libpaper.d Directory of scripts to run after the paper size has been changed. This package puts no scripts here, but other pack-
ages may.
AUTHOR
Yves Arrouye <arrouye@debian.org>
SEE ALSO
paperconf(1)
papersize(5)
Debian/Linux 5 January 2005 PAPERCONFIG(8)