Hello Mates! I'm kinda new to unix and need to a solve a problem.
Input: date
Situation: With the given date I need to find a list of all such files starting from a given path that were modified after the given date.
I experimented with the "find" with "-newer" but did not quite get it... (4 Replies)
I am currently running the following Korn shell script which works fine:
#!/usr/bin/ksh
count=`db2 -x "select count(*) from schema.tablename"`
echo "count"
I would like to add a "where" clause to the 2nd line that would allow me to get a record count of all the records from schema.tablename... (9 Replies)
Hello all - I've looked and have not been able to find a "find" command that will list the last modified date of files within a specific directory and its subdirectories. If anyone knows of such a command it would be very much appreciated!
If possible, I would like to sort this output and have... (5 Replies)
Hi
How to list all the files in a directory that are modified on a particular date?
Also need to know the count,i.e number of files modified on a particular date.
Thanks
Ashok (1 Reply)
Hi all,
I'm using Red Hat Linux and want to move some folders and files around but not change the modified date. Is this possible?
I know cp has a -p flag which seems to do what I want, but this is a large volume of data so copying and deleting would not be feasible. (13 Replies)
Hi! I am trying to read a file and every line has a specific date as one of its fields.
I want to take that date and compare it to the date today plus 6 days.
while read line
do
date=substr($line, $datepos, 8) #date is expected to be YYYYMMDD
if ; then
...proceed commands
... (1 Reply)
Hi All,
Can you please help me to get only the files which has the modified date as yesterday and before?
Thanks in advance!
Regards,
Velava.S (4 Replies)
I get the date that's inside a text file and assigned it to a variable. When I grep the date from the file, I get this,
Not After : Jul 28 14:09:57 2017 GMT
So I only crop out the date, with this command
echo $dateFile | cut -d ':' -f 2,4The result would be
Jul 28 14:57 2017 GMT
How do I... (3 Replies)
Can someone help me with the code wherein there is a file f1.txt with different column and 34 column have expiry date and I need to get that and compare with system date and if expiry date is <system date remove those rows and other rows should be moved to new file f2.txt .
I don't want to delete... (2 Replies)
I m working on shell scripting and I m stuck where in my .txt file there is column as expiry date and I need to compare that date with system date and need to remove all the rows where expiry date is less than system date and create a new .txt with update. (1 Reply)
Discussion started by: Stuti
1 Replies
LEARN ABOUT ULTRIX
config
config(8) System Manager's Manual config(8)Name
config - build system configuration files
Syntax
/etc/config [-p] [-s] config_file
Description
The command builds a set of system configuration files from a short file which describes the sort of system that is being configured. It
also takes as input a file which tells what files are needed to generate a system. This can be augmented by a configuration specific set
of files that give alternate files for a specific machine. (See the Files section.) If the -p option is supplied, will configure a system
for profiling. You must have sources to use the -p option. Use the -s option when building a kernel from sources.
The command should be run from the subdirectory of the system source (usually ). The command assumes that there is already a directory
created and it places all its output files in there. The output of consists of a number files: contains a description of what I/O devices
are attached to the system, and is a file used by in building the system; a set of header files which contain the number of various devices
that will be compiled into the system; and a set of swap configuration files which contain definitions for the disk areas to be used for
swapping, the root file system, argument processing, and system dumps.
After running it is necessary to run in the directory where the new makefile was created. The command reminds you of this when it com-
pletes.
If you receive other error messages from fix the errors in your configuration file and try again. If compile a system that has configura-
tion errors, the system will fail.
Restrictions
The line numbers reported in error messages are usually off by one.
Files
Generic makefile
List of common files that the system is built from
List of machine specific files
Name to major device mapping file
List of known file systems
See Also
The Syntax portion of each device in Section 4 of the ULTRIX Reference Pages
``Building 4.2BSD UNIX System with Config,'' ULTRIX Supplementary Documents, Volume 3: System Manager
RISC config(8)