Being given a text file create a folder that will contain 26
dictionary files as follows:first file contains the words
begining with 'A', alphabetically sorted, the second file with
'B' and so on.
I tried to solve it using awk...I have attached what i Have worked...pls help!
I got Gentoo installed with only a few minor problems, but those are the worse right? :p Anyway, I can boot into a terminal and could could fine into TWM (yuck).
So I emerged XFCE4 by doing this:
use="-gnome -kde" emerge xfce
I then inserted this into ~./xinitrc :
... (3 Replies)
hi freinds,
i just learning shell programming. i usually work in bash shell, but when i need tcshell, i normally i/p chshell command and go there. but although i have installed all the neccessay patches for this shell my machine can not work in tshell. but it shows the shell to be present..... (0 Replies)
i am not able to install solaris 10
i have installed solaris many times succesfully with wotking network
after that abrupt power failure i was never able to start solaris and neither install during install it hangs
IS IT PROBABLE THAT BIOS OR SOME OTHER SETTINGS RELATED TO HARDWARE IS... (0 Replies)
Hello all,
Any idea how to check whether a variable holding null value or not. if -z option works fine in bash, where as it is not working in sh.
bash-3.00$ sh
$ TEST=
$ if ; then
> echo "Null"
> else
> echo "Not null"
> fi
sh: test: 0403-004 Specify a parameter with this command.... (2 Replies)
HI Friends,
Traxlist.txt --this is my file contains this txt
-------------
108042708190000.txt
108042708190001.txt
112040108174516.txt
112042708173000.txt
112042708174508.txt
112050108173000.txt
113042708100500.txt
113042708103026.txt
i have varible called... (3 Replies)
i am not able to install solaris 10
i have installed solaris many times succesfully with wotking network
after that abrupt power failure i was never able to start solaris and neither install during install it hangs
IS IT PROBABLE THAT BIOS OR SOME OTHER SETTINGS RELATED TO HARDWARE IS... (3 Replies)
Dear friends,
I am working with two files named g1.txt and g2.txt....g1.txt is my main file in which it contains following data
#per_no permissionname permission command
1|HideCDrive, | : REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v... (1 Reply)
Dear Friends,
I am trying to get a script in c-shell working but no way! I don't know why but on my mac was working and now on linux is not!
Basically the script should accept a root_file_name and work in batch on files. This is the script:
#!/bin/csh -fn
setenv IMAGIC_BATCH 1
... (3 Replies)
Hi
I am getting the following error while executing any command related to LVM -
# vgs
vgs: symbol lookup error: vgs: undefined symbol: pvcreate
Can any one please advise how to get rid of this problem?
Thanks (6 Replies)
Dear All,
I have script.
Dest=""
IFS='
'
for translation in $(echo $MY_MAP)
do
t1=$(echo $translation | cut -d"=" -f1)
t2=$(echo $translation | cut -d"=" -f2| cut -d"," -f1)
if
then
Dest=$UNX/$u_product_path/$u_study_path/$UNXTR/$t2
break;
... (4 Replies)
Discussion started by: yadavricky
4 Replies
LEARN ABOUT CENTOS
cracklib-format
cracklib-format(8) Debian GNU/Linux manual cracklib-format(8)NAME
cracklib-format, cracklib-packer, cracklib-unpacker - cracklib dictionary utilities
SYNOPSIS
cracklib-format file ...
cracklib-packer cracklib_dictpath
cracklib-unpacker cracklib_dictpath
DESCRIPTION
cracklib-format takes a list of text files each containing a list of words, one per line, It lowercases all words, removes control charac-
ters, and sorts the lists. It outputs the cleaned up list to standard output. The text files may be optionally compressed with gzip(1).
If you supply massive amounts of text to cracklib-format you must have enough free space available for use by the sort(1) command. If you
do not have 20Mb free in /var/tmp (or whatever temporary area your sort(1) command uses), have a look at the /usr/sbin/cracklib-format pro-
gram which is a sh(1) program. You can usually tweak the sort(1) command to use any large area of disk you desire, by use of the -T
option. cracklib-format has a hook for this.
cracklib-packer reads from standard input a list of sorted and cleaned words and creates a database in the directory and prefix given by
the command line argument cracklib_dictpath. Three files are created with the suffixes of .hwm, .pwd, and .pwi. These three files are in
the format that the FascistCheck(3) subroutine, cracklib-unpacker(8), and cracklib-check(8), utilities understand. The number of words
read and written are printed on stdout(3).
cracklib-unpacker reads from the database in the directory and prefix given by the command line argument cracklib_dictpath and outputs on
standard output the list of words that make up the database.
The database is in a binary format generated by the utilities cracklib-format(8) and cracklib-packer(8). On a Debian system the database
is located in the directory /var/cache/cracklib/cracklib_dict and is generated daily with the program /etc/cron.daily/cracklib. The loca-
tion is also defined in the header file crack.h using the constant CRACKLIB_DICTPATH though none of the subroutines in the cracklib
libraries have this location hardcoded into their implementations.
FILES
/var/cache/cracklib/cracklib_dict.[hwm|pwd|pwi]
cracklib dictionary database files used by utilities.
/etc/cron.daily/cracklib
cracklib daily cron program to rebuild the cracklib dictionary database.
/etc/cracklib/cracklib.conf
cracklib configuration file used by the cracklib daily cron program to rebuild the cracklib dictionary database.
/usr/include/crack.h
cracklib header file defining the subroutine FascistCheck(3) and the constant CRACKLIB_DICTPATH used to compile in the location of
the cracklib dictionary database for these utilities.
/usr/sbin/cracklib-format
cracklib shell script to create initial list of words for dictionary database.
SEE ALSO FascistCheck(3), cracklib-check(8), update-cracklib(8), create-cracklib-dict(8)
/usr/share/doc/libcrack2/libcrack2.html
/usr/share/doc/cracklib-runtime/cracklib-runtime.html
AUTHOR
cracklib2 is written by Alec Muffett <alecm@crypto.dircon.co.uk>. Manual added by Jean Pierre LeJacq <jplejacq@quoininc.com>.
2.7-8.5 Sat Jun 21 22:43:12 CEST 2008 cracklib-format(8)