HI ,
In the below script I am trying to return the value of the environment variable TIBCO_HOME to the caller
#! /usr/bin/csh
set VAR_NAME=$1
echo VAR_NAME
On the aix console.. set to setenv TIBCO_HOME /app/tibco
When I execute the script... myscript.sh TIBCO_HOME, the script... (5 Replies)
Hi All,
In our code we are using below code to calculate the UNIX Epoch Time from the time stamp present in the file.
Can any one explain how the DC operates in below command and how we calculate the UNIX EPOCH time from this.
Date incide the file is 20:26:51
Output we get is 1289943554... (3 Replies)
Hi, I am trying to make a maths calculator that:
1. Prompts the user for a number.
2. Prompts the user for an operation (add, subtract, divide or multiply)
3. Prompts the user for a number.
4. Prompts the user for another operation (same as above) OR the option to get the result for the... (4 Replies)
I am trying to make a calculator. The user Enters number 1, chooses and operation, enters number 2, then chooses another operation or for the answer to be displayed.
eg. 1 + 1 = or 1 + 1 + 2 + 1 =
Both of these should be possible.
#!/bin/bash
read -p "what's the first number? " n1... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known/data:
Script a simple calculator. In the command line enter the script file
/home/etc/mycalc or /home/etc/mycalc 1 +... (6 Replies)
Well, I think I must have this for Christmas!
Python on the Casio FX-CG50 with Data Acquisition
YT: CASIO fx-CG50 E-CON4 Movie
YT: Update Your CG50 Operating System. Now Includes Python! (OS update)
This is a great deal on Amazon!
See YT Code Tag Video (9 Replies)
Discussion started by: Neo
9 Replies
LEARN ABOUT DEBIAN
sbuild-apt
SBUILD-APT(1) Debian sbuild SBUILD-APT(1)NAME
sbuild-apt - run apt-get or apt-cache in an sbuild chroot
SYNOPSIS
sbuild-apt [-h|--help | -V|--version] CHROOT (apt-get|apt-cache) [ARG1 [ARG2 [ARGn...]]]
DESCRIPTION
sbuild-apt runs apt-get(1) or apt-cache(1) inside the specified chroot, along with any additional arguments.
OPTIONS
Actions
-h, --help
Display this manual.
-V, --version
Print version information.
Chroot selection
CHROOT The chroot to run the command in. Note that 'o', 's', 't', 'u' and 'e' may be used as abbreviations for 'oldstable', 'stable',
'testing', 'unstable' and 'experimental', respectively.
APT options
apt-get
Run apt-get.
apt-cache
Run apt-cache.
ARG Additional arguments to pass to apt-get or apt-cache.
EXAMPLES
To update the APT package lists in the unstable chroot:
% sbuild-apt unstable apt-get update
Note that sbuild-update(1) is a more convenient method for doing the above.
AUTHORS
Roger Leigh.
COPYRIGHT
Copyright (C) 2006-2008 Roger Leigh <rleigh@debian.org>.
SEE ALSO apt-cache(1), apt-get(1), sbuild(1), sbuild-update(1), sbuild-upgrade(1).
Version 0.63.2 18 Aug 2012 SBUILD-APT(1)