I have a script that archive files then delete.How do Its working fine,however,before I perform the delete operation,I want to verify that indeed the FILE is in the path of folder I want to archive.
For example,I have a path /A/B I want all files in B to be archived,the scripts lists all the file then archive them. Now I want to take each file to be deleted,check if the file is in B folder really, then delete it.
Hello,
I registered an account several hours ago, and never recieved the email
registration link in my email account. Read the instructions posted here, and
requested to resend registration link, and this one also has not shown up in
my email acccount.
yes, I've checked the bulk folder as... (1 Reply)
Hello everybody,
Can anybody tell me how do we comfirm the execution of a scheduled job ?
In other words, how do I know whether my scheduled script is being executed or not ?
Thanks
Jitu JK (2 Replies)
Hi All,
Seems to be one of the disk has failed on my Solaris server.
How do i confirm that disk has really failed or not?
Here are alert details.
-------
iostat -En out/put
c1t3d0 Soft Errors: 1884 Hard Errors: 153 Transport Errors: 54
Vendor: FUJITSU Product:... (3 Replies)
Dear All
i am new to solaris. I am using solaris 5.10 running on my sun blade 150 (sparc). Nowadays i studying about boot process and i am bit confused with the location of the kernel,bootblk. As i found through the internet,
The location of the kernel is
... (0 Replies)
On my Solaris box I have to reboot some devices like below.
However I think this can be done through a script. I've create a list that contains the devices IP addresses.
Here's the logic:
Reboot 4 devices and sleep for 5mins(300s.) While the devices are rebooting, I would like to confirm... (9 Replies)
How to confirm whether a particular substitution taken place or not ?
Find the code below :-
#!/bin/ksh
COUNT=0
####### Create backup of the original file ######
cp passwd passwd_old
####### Read the csv file for unixid and project ######
while IFS=, read unix_id project_id
do
... (1 Reply)
Need to check whether the source file(FTP'ed file) is completly copied or not such that I can further action on the same. I have created the below script to achieve this by checking for every 10secs to whether file size is same or not but it may create a problem if the file transfer is slow and if... (4 Replies)
Hi Guys,
I need to reboot one Server as the newly inserted disk is not getting detected in system , I have also confirmed with Sun Support and finally it was the reboot which was required after doing all troubleshooting stuff.
So I have disassembled the mirror and kept working disk's single... (3 Replies)
Hi everyone,
My current AIX OS level is "7100-01-06-1241"
and I am planning to upgrade it to " 7100-02-03 ".
Can i directly upgrade it to "7100-02-03" from 7100-01-06" ?
or first i need to upgrade the "7100-01-06" LPAR to TL 02 and then reboot and
then upgrade it to TL 02 SP03 ?
... (4 Replies)
Hi,
I am getting the error su: cannot set user id: Resource temporarily unavailable.
In limits.conf, it shows soft nproc 2047 for this user. ps H -u | wc -l shows 508 processes only.
Linux flavour is Red Hat Enterprise Linux Server release 5.10 (Tikanga)
Any advice will be much... (1 Reply)
Discussion started by: newbie_01
1 Replies
LEARN ABOUT MINIX
svc
SVC(1) General Commands Manual SVC(1)NAME
svc, ci, co, svclog - shell version control system
SYNOPSIS
ci [-lu] file
co [-l] [-r rev] file
svclog file
OPTIONS -l For ci, checkin, checkout again, and lock file
-l For co, checkout file and then lock the archive
-u After checking in, do not delete the file
-r Check out revision rev instead most recent revision
EXAMPLES
ci -u file # Check in file
co -l file # Check out file and lock archive
co -r 2 file # Check out version 2
DESCRIPTION
Svc is the Shell Version Control system, patterned on RCS. It maintains a sequence of versions in archive files, so that new versions can
be checked in (added to the archive), and old versions can be checked out (made available). To create an archive for file, check it in
with the -u flag. This action will prompt for a log message and then create an archive called file,S in the current directory, or in the
subdirectory SVC if it exists. The file will not be deleted, but will be made unwritable.
To update the file, check it out with the -l flag. Then modify it, and check it back in, giving a new message when prompted. After this
process has been repeated many times, the archive will contain the entire history. Any version can be checked out using the -r flag. To
get a printout of the history, use svclog.
SVC(1)