This script will accept a filename and and do the renaming, but it is rather awkward and I would need to generate a list of files in the directory, which I guess is no big deal.
I would like to have a script that would change my current working directory. However, any time I execute a 'cd' command in a script, it holds only for the life of that script -- the working directory on exit is the same as when the script was initiated. Is it possible to have the script return... (3 Replies)
:confused:
Hi All,
This script is not working. I want to change the directory as per users selection in current shell. Looks like it is spawning sub-shell internally.
I have used
. changedir.sh
source changedir.sh
./changedire.sh
But did not work. Currently shell directory remain the... (4 Replies)
Hi,
I'm struggling to write a script to do the following,
-will go through each line in the file
-in a specific character positions, changes
the value to a new value
-These character positions are fixed througout the file
-----------------------
e.g.: file1.sh will have the following 3... (4 Replies)
Hi,
I am trying to change the directory in my script, & want to check if the directory is present or not .
Ex:
cd /home/xyz/temp/logs
if the logs directory is not present i want to show the error in script instead of shell script error.
Can anybody please help me on the same
Thx in... (2 Replies)
HI,
I need to change the working directory by using the shell script
/Export/home/user_name
I have to go one step back like
/Export/home
Please help on this.:confused: (3 Replies)
Hi All,
I am using the awk command to replace ',' by '\t' (tabs) in a csv file. I would like to apply this to all .csv files in a directory and create .txt files with the tabs.
How would I do this in a script?
I have the following script called "csvtabs":
awk 'BEGIN {
FS... (4 Replies)
Hello,
I must change files and dirs name which contains che "?" char, I try this:
rename 's/?/-/' *.*
nothing, what's the problem?
thanks (14 Replies)
Discussion started by: ionral
14 Replies
LEARN ABOUT DEBIAN
hobbit-nkedit.cgi
HOBBIT-NKEDIT.CGI(1) General Commands Manual HOBBIT-NKEDIT.CGI(1)NAME
hobbit-nkedit.cgi - Xymon Critical Systems view CGI
SYNOPSIS
hobbit-nkedit.cgi
DESCRIPTION
hobbit-nkedit.cgi is invoked as a CGI script via the hobbit-nkedit.sh CGI wrapper.
hobbit-nkedit.cgi is a web-based editor for the hobbit-nkview.cfg(5) file, which is used to configure the Xymon "Critical Systems" view.
A detailed description of how to use the editor is provided in the Xymon Web documentation, available from the "Help" -> "Critical Systems"
link on the Xymon website.
SECURITY
Access to this CGI script should be restricted through access controls in your webserver. Editing the Critical Systems View configuration
will impact the monitoring of your site.
OPTIONS --config=FILENAME
Name of the Critical Systems View configuration file. The default is hobbit-nkview.cfg in the $BBHOME/etc/ directory.
--env=FILENAME
Loads the environment defined in FILENAME before executing the CGI script.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
--debug
Enables debugging output.
SEE ALSO hobbit-nkview.cgi(1), xymon(7)Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-NKEDIT.CGI(1)