Can the file change anywhere? Or can lines only be added to it? If lines can only be added to it, just keep track of the last line number:
Then a while later, do:
Once you're done, you can print the length again. You can do it altogether this way:
I have a Unix based server running Sagitta and the server is giving me an error of 4b10004 and my research tells me this is an EPROM issue, which means the processor needs to be flashed or repaired. Once up and running where can I go to get updates for Unix? (1 Reply)
Hi all,
I would like to perform multiple updates within a single database open and close.
Box: solaris
dB: informix
This is how i do perform for single update
dbaccess <dbname> -<<EOF
update table1 set col1=1 where col2=1
EOF
i have the col1 values in a file (some 1000 values)... (1 Reply)
All,
I'm updating my redhat servers by directly connecting to internet (redhat network). After I connecting to the internet, I see some packages in package updater.I'm trying to do update but its stucking up when it is starting updating the server. Any ideas. Thanks (4 Replies)
hello all
I Installed CenTOS 5.5 and i've Run yum update command
every thing went smoothly but i got the following error at the end
6:kdebase-3.5.4-21.el5.centos.1.i386: Insufficient space in download directory /var/cache/yum/updates/packages
* free 6.0 M
* needed 28 M
... (2 Replies)
Hi,
Im using Fedora version 23 (latest upgrade and upates). Currently to receive the updates, I use:
su -c 'yum update'
This works fine, but I get:
yum command has been deprecated, redirecting to '/usr/bin/dnf update'.
See 'man dnf' and 'man yum2dnf' for more information.
To... (1 Reply)
This cmd will update the user's crontab with the quoted line.
But how to script the update using a previously stored variable?
crontab -l | awk '{print} END {print "* * * * * echo test >> /tmp/testing"}' | crontab
crontab -l | awk '{print} END {print "$storedvariable"}' | crontab
Does not... (3 Replies)
On Hp-ux,I'm not talking about security patches.But free products like SecureShell.
How to know if update is avaliable?On Solaris11 is possible using pkg update.
On hpux?Some tool to check for outdated products and tell if new version is avaliable?
---------- Post updated at 03:24 AM... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
LEARN ABOUT CENTOS
update
update(n) Tcl Built-In Commands update(n)
__________________________________________________________________________________________________________________________________________________NAME
update - Process pending events and idle callbacks
SYNOPSIS
update ?idletasks?
_________________________________________________________________DESCRIPTION
This command is used to bring the application "up to date" by entering the event loop repeatedly until all pending events (including idle
callbacks) have been processed.
If the idletasks keyword is specified as an argument to the command, then no new events or errors are processed; only idle callbacks are
invoked. This causes operations that are normally deferred, such as display updates and window layout calculations, to be performed imme-
diately.
The update idletasks command is useful in scripts where changes have been made to the application's state and you want those changes to
appear on the display immediately, rather than waiting for the script to complete. Most display updates are performed as idle callbacks,
so update idletasks will cause them to run. However, there are some kinds of updates that only happen in response to events, such as those
triggered by window size changes; these updates will not occur in update idletasks.
The update command with no options is useful in scripts where you are performing a long-running computation but you still want the applica-
tion to respond to events such as user interactions; if you occasionally call update then user input will be processed during the next
call to update.
EXAMPLE
Run computations for about a second and then finish:
set x 1000
set done 0
after 1000 set done 1
while {!$done} {
# A very silly example!
set x [expr {log($x) ** 2.8}]
# Test to see if our time-limit has been hit. This would
# also give a chance for serving network sockets and, if
# the Tk package is loaded, updating a user interface.
update
}
SEE ALSO
after(n), interp(n)
KEYWORDS
event, flush, handler, idle, update
Tcl 7.5 update(n)