12-01-2006
Reengineering ShellScripts
Hi,
I'm new in Unix an ShellScripting and I need a programm that create a sequence diagramm graphically from a shell script.
I am just working for 2 weeks in Unix and the Shell. And it would help to understand the whole shellsscripts.
Is there a freeware tool, that can create such a thing?
Thx for Help.
roessrob
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Hope that we are all familiar with the "script" command, which helps us to record the session into any file, until we give "exit".
Can anyone help me, how to do this process from a shell script!? I face problem while ending the script using "exit" which comes out of the program. This... (3 Replies)
Discussion started by: mohanprabu
3 Replies
2. Shell Programming and Scripting
This idea for a shellscript I have, is just beyond my reach of knowledge.
Basically I have a file that contains a list like so:
axis
heater
water
yast
The file is called mqm.list.
What I want to do is when the shellscript is run, it prompts the user to input data.
Say the... (6 Replies)
Discussion started by: syndex
6 Replies
3. Shell Programming and Scripting
Hi Everybody,
I am in urgent need of a solution.
I need to carry out SFTP activities through a shell script.
I have generated public and private keys as shown below:
Shell-Prompt$> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key... (2 Replies)
Discussion started by: $antaclau$
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
this is not exactly a unix specific question however i am sure someone out there may answer my question. The problem is that i write shellscripts and now i want to convert all these shellscripts to .txt. Is it possible?
or if someone knows how to copy the content of shellscript then also... (3 Replies)
Discussion started by: salman4u
3 Replies
5. Shell Programming and Scripting
Dear Community,
I've an urgent issue due to a migration of an application from HP-Unix to Linux.
We have a mass of scripts which are running at a dedicated server on hpunix.
Now we do not know, which further scripts exists on this machine. the idea is, that we crawl through the scripts we... (1 Reply)
Discussion started by: Alibapir
1 Replies
LEARN ABOUT PHP
filectime
FILECTIME(3) 1 FILECTIME(3)
filectime - Gets inode change time of file
SYNOPSIS
int filectime (string $filename)
DESCRIPTION
Gets the inode change time of a file.
PARAMETERS
o $filename
- Path to the file.
RETURN VALUES
Returns the time the file was last changed, or FALSE on failure. The time is returned as a Unix timestamp.
EXAMPLES
Example #1
A filectime(3) example
<?php
// outputs e.g. somefile.txt was last changed: December 29 2002 22:16:23.
$filename = 'somefile.txt';
if (file_exists($filename)) {
echo "$filename was last changed: " . date("F d Y H:i:s.", filectime($filename));
}
?>
ERRORS
/EXCEPTIONS
Upon failure, an E_WARNING is emitted.
NOTES
Note
Note: In most Unix filesystems, a file is considered changed when its inode data is changed; that is, when the permissions, owner,
group, or other metadata from the inode is updated. See also filemtime(3) (which is what you want to use when you want to create
"Last Modified" footers on web pages) and fileatime(3).
Note
Note also that in some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There
is no creation time for Unix files in most Unix filesystems.
Note
Note that time resolution may differ from one file system to another.
Note
The results of this function are cached. See clearstatcache(3) for more details.
Tip
As of PHP 5.0.0, this function can also be used with some URL wrappers. Refer to "Supported Protocols and Wrappers" to determine
which wrappers support stat(3) family of functionality.
SEE ALSO
filemtime(3).
PHP Documentation Group FILECTIME(3)