Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: Compare two variables in shell script

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: Compare two variables in shell script

Product Search Results


Results 1 - 25 of 6576

[higher confidence] - higher confidence, [lower confidence] - lower confidence

Compare two variables in shell script
    Summary: Can anyone help me with comparing two vaiables in unix shell script. This is what i'm trying.... if [ $X -ne $Y ] then ----- else ---- fi Wher...

awk variables in shell script
    Summary: Hi, Im trying to set variables in awk script but does not work, I dont know what Im doint wrong, this is my script. #!/bin/sh snmp-cpu="`snmpwalk -v ...

Variables in Shell SCripting
    Summary: Shell Scripting -- Variables In the main script i have exported the variable and accessing it in another file but when i echo the value the value of t...

use variable of shell script in awk
    Summary: Hi i've been trying to write shell script with awk that I want to search a substring with variable of shell script In old one ,I wrote awk that fi...

Parameter file for a shell script
    Summary: Thank you so much for the help. I would like to know what is the purpose of ~, :space: in the awk command. I really appreciate if you could give me b...

loops in shell scripts!!!
    Summary: Hi, I'm trying to run loops in shell scripts using the following script. loop=1 while [ loop -lt 10 ] do echo 'this is my $loop text-line' loop='expr ...

Using hex-code in shell script
    Summary: In shell script sed or awk command, can I use hexadecimal code for substitution? I want to perform the following: Input file: Line1 Line2 Line3 Line4...

Array size in shell script?
    Summary: Dear all, I wonder how to find the size of an array in shell script. For example, I declared an array as following: #! /bin/sh a = (1 adf 8 2 se) How ...

SQL in shell script
    Summary: In shell script I am inserting the record in to the table.After excuation the script output is commit complete which is fine but I need my echo should...

read from file in shell script
    Summary: Hi guys, i have a file inside file file name are stored 1 filename per line i want to open the file and read each line from the file and process it......

Shell Script: Get value from a file
    Summary: Hello All, I am looking for a way to get a string from a file and assign it to a variable in Shell Script. Example I have a file FILE containi...

Create and validate variables in shell script
    Summary: I need create a variable for store command: grep -y 'ORA-' $DIR_LOG ARQ. after i need to validate this statment in the sheel script. Examples IF...

SQL in shell script
    Summary: Hi: This is a common problem with any shell script that runs fine from the command line, but fails from cron. You need to set up your environment in t...

awk in shell script
    Summary: Hello, I want to give back the first 3 letters of my hostname to a variable in a shell script like this principle: N=awk'{printf substr(`uname -n`,1,3...

Ctrl-C in shell script.
    Summary: My first shell script logs into a shell, after setting some environment variables. After log into the shell, I call second shell script. This shell al...

Create and validate variables in shell script
    Summary: I need create a variable for store command: grep -y 'ORA-' $DIR_LOG ARQ. after i need to validate this statment in the sheel script. Examples IF [ ex...

shell script for comparing file
    Summary: I solved my issue with another one i filed: 'comparing 2 files with shell script' in this forum. Thanks for your assistance. Suresh sureshht...

Comparing file sizes in korn script
    Summary: I'm trying to write a shell script to monitor certain files and display a warning when they reach a certain size. The idea being to give a warning BEF...

ftp sql results in shell script
    Summary: Hello Can anybody explain how I can ftp the reult of a sql script in a shell script that is executed via a cronjob??I would like the result to be se...

checking date in Shell script
    Summary: Hi, I need help for a shell script to have a user enter a date into the program. When the date has been entered in format dd/mm/yyyy, i need the scrip...

Please HELP in shell script
    Summary: Hi, I need to run a command and hit 4 times in response to the prompts after the command is run. I don't know how to do this in a shell script. Could...

Calculate time taken in a script
    Summary: I have used the following to compare script efficiency... #!/bin/sh # timer by stefan caunter # little efficiency script to display run # and cpu tim...

reading files in shell scripts
    Summary: Does anyone know a good tutorial for reading files in a shell script and then using that data to do other things? ...

ftp in shell script
    Summary: I need to know if the connection fails to the remote host in a shell script. Which error codes etc should I check for? What would be in the if stateme...

strange behaviour in shell script
    Summary: I am completely baffled by this problem..I have a shell script. Near the start I declare a series of variables for example: TODAY="`date +%y%m%d`" LOG...

Jump To: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>

Sponsored Results for: Compare two variables in shell script

Ads by Google