I am using the following to open a help file. When I put it in the run box, it opens just fine. However, when using Shell it keeps saying "File not found". Any ideas?
Shell(ShowShortPath...
Dear experts,
I have an a server that need to start on system start
This is what I'm currently doing to start the server
connect to server (Fedora) through SSH
root # cd <server1 path...
This is a tough one I am not sure if it can be done or not. I googled for a while without any results. Here is the situation. I am creating a script to deploy antivirus to about 1500 workstati...
hi,
I was trying to read file line by line using the below attached code which is supposed to print each line of contents of file.
but the problem that I am facing is that it echoes only t...
Guys, I need a shell script commmand which can parse through the files of a directory and pick with the latest file which starts with MAC, and copy it to another directory.
thanks
Hi,
I've been trying to use awk to process a stanza with the following information;
Handle 0x000D, DMI type 6, 12 bytes.
Memory Module Information
Socket Designation: DIMM0
...
hello,
I have make one script shell, and i want this script shell are start with specific user.
add "su deploy" in my script is not good because avec this line is executed the script stop im...
Hi All,
I want to insert one line as a header to a csv file. I need to read the same from a different file. In other words I need to copy header from once .CSV file to the other..Thanks in ad...
I'm parsing a HTML file witk awk, and I want my field separator to be any sequence of <> tags, leaving fields as the text outside of the tags.
Currently I have
FS = "[ \t]*<[^>]*>[ \t]*"
...
Basically I got a domain named prnetcom.com . Using fantastico and SMF I created a forums under the folder croem97/
Therefore you can access the page if you go http://www.prnetcom.com/croem...
Hi Experts,
I receive UNIX format text files, but some of them don't have newline characters at the end of the file, so I need to add one. This is the method I devised to achieve this:
...
Hi,
I am doing automated file transfer using sftp, but every time file transferr for big files is partiall
but for the small files getting transferred fine, but for the big files once ...
I have my data like below in a fixed width file. I want to create multiple files where there is break in the group number i.e. the first column. In the below example I should be able to create...
Hi all,
Can anyone please post sample code for database connection (Oracle or MySQL) using Shell Script.
Please add comment for the scripts, so that I can easily understand the script.
...
I have a cgi script written using shell scripting. I want to execute another shell script inside the cgi script to setup the global environment.
Inside the CGI script
logFileName=${LOG...
Part of a ksh script is giving me trouble. To help troubleshoot the issue I isolated the problem line and tried to run it from the command line. The results it returned are the same as in the ...
Can somebody give me a most complex shell script and its purpose ?
this is to understand my level of shell scripting knowledge and experience comparing with you.
Thanks!
I have an xml file that is generated by an interface between a Product Data Management (PDM) and an Enterprise Resource Planning (ERP) system. The current file as it goes across sometimes cont...
What is the proper way to do the following:
cd ..\%userprofile%
Without getting the following error:
The filename, directory name, or volume label syntax is incorrect.
This works perfectly - Shell "cmd.exe /c subst W: " + "d:\spool" + " > NUL"
and these varialbes return the correct full directory paths:
?@CURDIR
$SubDir=@CURDIR
?$SubDir
But this doesn...
I have:
- a shared linux acount with FTP access
- a dedicated linux server with full root access
What I need to do:
- i need to login to the shared account via FTP and copy all files and...
Hi
I am trying to write a script that will automatically add group names to my local group. There are couple of commands which I do manually but I want to automate. I tried to do it, but so...
I was curious as to best practice for creating a cross-platform script to start an application via a command-line call, e.g., a java application. My goal is to start a java application on Mac...
I'm new to this, so bare with me.
The scenario:
There is a shell script that is kicked off at such and such time from cron. In this shell, it executes an sql query that takes many hours....
Hello Everyone,
I'm new at powershell, i have a few white papers and some docs from MS to help me understand this utility better, but here's my issue. My manager asked me to create a power...