Hi All,
Sorry to throw this frequent question but I lost my notes on it.
How do you list the files by date? I'm on red hat.
Thanks in advance,
itik (1 Reply)
Hi
Can some one help me with sorting a file where i am supposed to sort based on the last column(i.e 3rd column) and then by 1 st column
Sample data
2 ishika 4
5 suj 3
10 raj 4
23 fff 3
45 amar 4
to be sorted to
5 suj 3
23 fff 3
2 ishika 4
10 raj 4
45 amar 4
I tried to sort... (2 Replies)
Hi all,
i'm new here in this forum. I really like the helpful answers in this forum.
Here a short question.
For a script i have to sort files by date and exclude the files of the actual date.
Sorting the files by date and preparing the output for awk is done by this line:
ls -l... (3 Replies)
hi all,
i have three files naming file1 , file2, file3 .
i want to merge the content of these three files, sort them and display the sorted output on the screen page by page. (1 Reply)
Hello all -
I am to this forum and fairly new in learning unix and finding some difficulty in preparing a small shell script. I am trying to make script to sort all the files given by user as input (either the exact full name of the file or say the files matching the criteria like all files... (3 Replies)
Hi all! I have a comma delimited file and I'm sorting it based on fields 6, 8 and 10. The following does the job:
sort -t, -nk6,10 unsorted.txt -o sorted.txt
What I need to do now is to write every row containing same values on fields 6, 8 and 10 to a different file.
Any ideas on how to do... (2 Replies)
Hi
I have a requirement like below
I need to sort the files based on the timestamp in the file name and run them in sorted order and then archive all the files which are one day old to temp directory
My files looks like this
PGABOLTXML1D_201108121235.xml... (1 Reply)
Hi Everyone,
I have a question:
I have a lot of file named like
or10000.dat, or9100.dat, or100.dat, or3100.dat...
I want to deal with these files according to the
number in the name. So I want to deal with or100.dat
first and then or3100.dat and so on.
I used :
for i in `ls or*.dat |... (11 Replies)
I need a similar sort, I need to sort the directory by time, but time needs to be to the second or smaller.
Using ls -lt but that is only to the minute. (3 Replies)
Discussion started by: mwlaursen
3 Replies
LEARN ABOUT DEBIAN
builddbm
BUILDDBM(8) Yard Radius Manual BUILDDBM(8)NAME
builddbm - users.db compiler
SYNOPSIS
builddbm [ -hvx ] [ -d directory ] [ -l file ]
DESCRIPTION
YARD RADIUS builddbm is a program that builds the GDBM format of the `users' file, which could be used in conjunction with the radiusd `-b'
flag. The users file should resides in the standard configuration directory, as selected at configuration time. It should be run as root.
Be also sure to set mode 600 for the `users' file as well as the resulting `users.db'.
OPTIONS -d directory
Changes the source `users' file directory. The default value is /usr/conf. The destination directory of `users.db' is the same one.
-h Prints out usage of the command.
-v Prints version information.
-l file
Changes the logging file.
-x Prints (or should do so) debugging messages while compiling.
FILES
/usr/conf/users
This file contains the human readable information for users' accounting and authorization. See radius_attributes(5) for details
about its syntax.
/usr/conf/users.db
The same of the previous one as compiled in by builddbm in GDBM format. It needs to be compiled again every time you make changes to
the previous one and without restarting radiusd .
/usr/conf/dictionary
This read-only file contains the codes and formats for standard and vendor RADIUS protocol attributes and values along with their
human readable representation. It is subject to change, due to new access server supports. It is a plain text file with a pletora of
comments in it.
SEE ALSO radiusd(8), radlast(1), radlist(1), radtest(1), radwatch(1), radius_attributes(1), gdbm(3)COPYRIGHT
Copyright (C) 1992-1999 Lucent Inc. All rights reserved.
Copyright (C) 1999-2004 Francesco Paolo Lovergine. All rights reserved.
See the LICENSE file enclosed within this software for conditions of use and distribution. This is a pure ISO BSD Open Source License .
NOTES
The syntax of the source users file is not described here. Please, refer to the official Livingston documentation, which includes the
RADIUS for UNIX Administrator's Guide.
1.1 Aug 25, 2004 BUILDDBM(8)