Hey guys. My goal here is to count the number of .dat files in in a directory(28 files). If 28 files exist I am ok. Having trouble doing this. Any help would b e greatly appreciated.
#!/usr/bin/ksh
#=============================================================================
### Define local... (3 Replies)
Hi all this is a UNIX question.
I have a large flat file with millions of records.
col1|col2|col3
1|a|b
2|c|d
3|e|f
3|g|h
footer****
I am supposed to calculate the sum of col1 1+2+3+3=9, count of col1 1,2,3,3=4, and distinct count of col1 1,2,3=c3
I would like it if you avoid... (4 Replies)
I am writing ksh to check for duplicate records in two different set of tables on oracle database, to get this i am running two plsql qurries at a time through the ksh, so the output of the qurries will be stored in variable say "SQL_STRING". So now to say if duplicate records exists in table or... (3 Replies)
I am writing a ksh to check for duplicate records in two different set of tables on oracle database, to get this i am running two plsql qurries at a time through the ksh, so the output of the qurries will be stored in variable say "SQL_STRING". So now to say if duplicate records exists in table or... (6 Replies)
Hi All
I've very nearly finished this script I'm working on but have hit another idiots problem, after googling I can't see a solution for this one.
I have a while count loop that checks checks two consecutive values then increments the count by two.
What the script has to do is then check... (5 Replies)
I have a text file in which you need to identify the number of lines that looks like this:
awk '{x + +} END {print x}' filename
The problem is that I do not know how this data to any variable in which then need to continue to work in a cycle for ..
do not know someone help?
Sorry for my... (4 Replies)
Hi all, I have a file that contains characters. How do I get total of spesific character from that file and save the count to a variable for doing for calculation.
data.txt
1
2
2
2
2
3
3
4
5
6
7
8
5
4
3
4 (5 Replies)
Input:
|Running the Rsync|Sun Oct 16 22:48:01 BST 2016
|End of the Rsync|Sun Oct 16 22:49:54 BST 2016
|Running the Rsync|Sun Oct 16 22:54:01 BST 2016
|End of the Rsync|Sun Oct 16 22:55:45 BST 2016
|Running the Rsync|Sun Oct 16 23:00:02 BST 2016
|End of the Rsync|Sun Oct 16 23:01:44 BST 2016... (4 Replies)
Discussion started by: busyboy
4 Replies
LEARN ABOUT OSF1
uucheck
uucheck(8) System Manager's Manual uucheck(8)NAME
uucheck - Checks for files and directories required by uucp
SYNOPSIS
uucheck [-v] [-xdebug_level]
FLAGS
Displays a detailed explanation of how the uucp program interprets the permissions file. Displays debugging information. The valid range
for debug_level is 0 to 9. The higher the number, the more detailed the final report.
DESCRIPTION
The uucheck command verifies the presence of the files and directories required by the uucp program. In addition to checking for the pres-
ence of files required by uucp, the uucheck command also checks for some errors in the /usr/lib/uucp/Permissions file.
The uucheck command does not check for correct file and directory modes or for errors in the /usr/lib/uucp/Permissions file, such as dupli-
cate login or machine names.
When the uucp program is installed, uucheck verifies that the directories, programs, and support files required to operate the networking
facility are present. The command is executed automatically, as one of the first steps in the installation process, before the required
uucp directories, programs, and files are actually installed.
Issue the uucheck command from the command line after installing uucp, configuring uucp for your site, or making changes in part of the
uucp program, such as the /usr/lib/uucp/Permissions file.
Note that the uucheck command can only be issued from the command line if you have superuser authority.
EXAMPLES
To find out how the uucp program interprets the /usr/lib/uucp/Permissions file, enter: uucheck -v The -v flag instructs the uucheck command
to verify that the uucp files exist and displays a detailed explanation of how the uucp programs interpret the permissions file. To set
the debug level to 8, enter: uucheck -x8
FILES
Specifies the command path Information about available devices Limits scheduled jobs Limits remote command executions Describes access per-
missions for remote systems Describes accessible remote systems Spooling directory Public directory Prevents multiple use of device nn
RELATED INFORMATION
Commands: uucico(8), uusched(8), uucp(1), uustat(1), uuto(1), and uux(1) delim off
uucheck(8)