05-10-2007
needed very good link for Shell script
I am new to shell script.I need a link which explains basic concepts for shell scrpting
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have the following columns in my input file which is sorted on ColA
colA colB colC colD colE
The data is such that for a single colA it can have multiple values of other columns, for eg the data can be
colA colB colC ... (1 Reply)
Discussion started by: nvuradi
1 Replies
2. Shell Programming and Scripting
Hi All,
I have a problem to writing a shell script to create a soft link in some other directory
For eg:
/opt/Shreedhar/Naik is directory
now i need to write shell script in the path /opt/Shreedhar/Naik which should create a soft link in /opt/Shreedhar.
I have tried to write the script... (3 Replies)
Discussion started by: Shreedhar Naik
3 Replies
3. Shell Programming and Scripting
Hi ,
pwd -P will give the physical directory name for symbolic names.
is there any command to get the value of symbolic link ?
if it's symbolic link , I have to get the physical directory name? any ideas to code in shell ?
Thanks (3 Replies)
Discussion started by: talashil
3 Replies
4. Shell Programming and Scripting
I want to execute a shell script when clicking on an html link. I want the output of the script to be shown on the webpage. Whats the best way to achieve this? (6 Replies)
Discussion started by: streetfighter2
6 Replies
5. Shell Programming and Scripting
Hi all,
I need to modify the below highlighted piece to perform the below task. Please let me know as i am not able to figure out a way to do this.
|| FILENAME=$(date +"$FILENAME")
if ; then
do_log FATAL "FILENAME needs to be set if SWITCH2=0"
exit 1
fi... (3 Replies)
Discussion started by: stunnerz_84
3 Replies
6. Shell Programming and Scripting
I have a target directory, there are some files and directories in "target_dir".
I have a symbol link: my_link -> <target_dir>
The target directory name is NOT known to the script (because it is varying), while the link name is always fixed.
In a shell script, how to remove both the... (1 Reply)
Discussion started by: princelinux
1 Replies
7. Shell Programming and Scripting
Hello Every one,
I have a shell script which is running fine manually, but its giving me hard time when running tru cron job. :wall:.
Am using #!/usr/bin/ksh
>echo $SHELL
/usr/bin/ksh
Cron Job is as below, it execues but dosent do what i want it to do.
47 15 * * *... (1 Reply)
Discussion started by: naren.chowdhary
1 Replies
8. Shell Programming and Scripting
Guys,
I am always struggling with awk and sed commands in UNIX,especially while writing shell script. Can you please suggest some good websites?
Cheers,
Aravind (3 Replies)
Discussion started by: AraR87
3 Replies
9. Shell Programming and Scripting
Hi All,
I have a situation to parse a file with following limitations:
2) The XML is not proper as it has no fix root tag rather have multiple XML in a single XML. or you can say multiple root elements.
This file will be huge in size. So before i think of some good solution to parse it, i... (1 Reply)
Discussion started by: peekuabc
1 Replies
10. UNIX for Advanced & Expert Users
Hi All
I have a task which is manually submitted from a web browser link, by entering a value. This has an xml code as well.
I am looking for options to automate the above to avoid manual intervention/dependency. Is there a way I can achieve this using shell script? Either open the link by... (3 Replies)
Discussion started by: sparks
3 Replies
LEARN ABOUT DEBIAN
platform::shell
platform::shell(3tcl) Tcl Bundled Packages platform::shell(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(3tcl)