10-05-2006
Can you show your script?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How can I create a file inside a script. The thing is that, I have to create the file inside the script and it will be acting as a log file the script.Whenever I execute the script the file has to be created and the output has to be directed into that file.
Tahnks in advance (11 Replies)
Discussion started by: sendhilmani
11 Replies
2. Shell Programming and Scripting
I am very new to Unix and know the basic commands. I have to write a script file and I'm completely lost. The script file is to show the following at the beginning:
Menu of Options
1. Display all files in a user's home directory.
2. Welcome yourself to the program.
3. Display System... (8 Replies)
Discussion started by: sinjin
8 Replies
3. UNIX for Dummies Questions & Answers
I'm very new to Unix and know the simplest of its commands. I am trying to write a script file that has a menu with the following options showing:
1) Display all files in a user's home directory.
2) Welcome yourself to the program
3) Display System Information
4) Exit to Windows
I am able... (6 Replies)
Discussion started by: sinjin
6 Replies
4. Shell Programming and Scripting
Kindly help,
Suppose i am having a file that has got the following contents. Is there any way (eg. sed command) to remove the (*) (*any number) pattern.
se.bas
tulf.h
(1)
tuna.c
(1)
tunsim.c
(1)
tus.cpp
(1)
vp.c
(1)
vp.h
(1)
vpi.
(1) (1 Reply)
Discussion started by: frozensmilz
1 Replies
5. Shell Programming and Scripting
Hi,
I need help urgently for following issue. Pls help me to resolve this issue.
I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql)
I given... (6 Replies)
Discussion started by: praka
6 Replies
6. Shell Programming and Scripting
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am a beginner in scripting...I have to do a script where I have to read a file which has list of job names, line by line and for every line execute a dsjob command to find the log details of the job and extract only the start time of the job, if it is greater than jan 01 2008 and create... (1 Reply)
Discussion started by: Vijay81
1 Replies
8. Shell Programming and Scripting
Here is my code which i am using wright now:
CODE
#!/bin/bash
awk ' BEGIN { FS="|";
while ( getline <"file1.txt" > 0)
a=$2
}
{
if($1 in a)
printf("%s %s Specialty Mapped\n", $1, a) > "mapped.txt"
else
printf("%s %s Specialty Not mapped\n", $1, $2) > "notmapped.txt"
... (2 Replies)
Discussion started by: dsh007
2 Replies
9. Shell Programming and Scripting
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Discussion started by: Yoodit
0 Replies
10. Shell Programming and Scripting
Hi all
i am struggling in creating a restore of env files while doing applications clone.
the first file i created for copying the important configurations file
which is running perfect
now for reverting the changes i mean when i am restoring these files to its original places
i have to do... (7 Replies)
Discussion started by: javeedkaleem
7 Replies
YACPI(1) General Commands Manual YACPI(1)
NAME
YACPI - Yet Another Configuration and Power Interface
SYNOPSIS
yacpi [OPTION]
DESCRIPTION
Yacpi is an acpi monitoring tool for Linux. It displays various acpi information like battery status, ac status and temperature. This
information will be displayed in a user-friendly ncurses interface or as plain-text. It is also able to display current cpu frequency and
the kernel scaling governor.
OPTIONS
-h display help
-v display version number and release date
-p display as plain-text only, useful for script output for example
-l loop yacpi output every second.
-n display not found items (display everything you can)
-d specify delay seconds for loop
-b show battery information
-a show ac adapter information
-f show fan information
-t show thermal zone information
-c show cpu frequency
-g show used frequency governor
The default prints all available information.
KEYS
q - quit yacpi
r - reload acpi information
h - print help screen
REPORTING BUGS
ACPI information is platform and system depended so please include as much information you can gather about your system like contents of
/proc/acpi files, strace output or backtraces/core files.
AUTHOR CONTACT
Yacpi was written by Nico Golde <nico@ngolde.de>
User Commands YACPI(1)