hello
i need help to remove directory . The directory is not empty ., it contains
several sub directories and files inside that..
total number of files in one directory is 12,24,446 .
rm -rf doesnt work . it is prompting for every file ..
i want to delete without prompting and... (6 Replies)
Hi,
I am relatively new to Unix and trying to understand as much as I can.
I would like to know if it's possible to count the total number of Unix accounts? If so, can the count be done from any working directory or does it have to be specific to where the accounts are based?
Thanks! (4 Replies)
Hello All. I am trying to do this from a terminal prompt on my mac....
I have 100 folders all named different things. Those 100 folders are inside ~/Desktop/Pictures directory.
Each of the 100 folders are uniquely named. The image files inside of each folder only have some similarities.
... (1 Reply)
Hi,
Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time..
Thanks (3 Replies)
Hello I'm trying to do an exercise programming in bash where I have to get only the store of files in a directory but NOT all capacity of the directory.
I probe with: du -sh "$directory"*` but I get all the capacity and I probe with ls command but I couldnt.
Are there any way to get only files... (2 Replies)
Need a Unix command to save the last 20 versions of a file in a specific directory and delete everything else. Date is irrelevant. Anyone aware of such an animal?
In my test, I came up with:
ls -t1 /tmp/testfile* | tail -n +20 | xargs rm
I don’t quite trust the author though! (1 Reply)
Hi all,
I'm looking over all the internet for finding how to make a count of the files for every directory apart.. not a total result for the xx directories.
For example:
-dir1
file1
file2
-subdir1
-subdir2
file1
-subdir3
file1
-dir2
-dir3
file4
... (9 Replies)
Hello Is there a way to calculate how many times a particular symbol appeared in a string before a particular word.
Desktop/Myfiles/pet/dog/puppy
So, I want to count number of occurence of"/" in this directory before the word dog lets say.
Cheers,
Bob (3 Replies)
Hi expert,
Is there any fastest way to calculate recursive directory, and I have total 600 directories have 100000 files and 10 directory approximately 9000000 - 10000000 each files per directory. currently using this command "du -k --max-depth=0" to get the size but very slow it take 24 hours... (9 Replies)
Discussion started by: rufino
9 Replies
LEARN ABOUT REDHAT
openssl_add_all_algorithms
OpenSSL_add_all_algorithms(3) OpenSSL OpenSSL_add_all_algorithms(3)NAME
OpenSSL_add_all_algorithms, OpenSSL_add_all_ciphers, OpenSSL_add_all_digests - add algorithms to internal table
SYNOPSIS
#include <openssl/evp.h>
void OpenSSL_add_all_algorithms(void);
void OpenSSL_add_all_ciphers(void);
void OpenSSL_add_all_digests(void);
void EVP_cleanup(void);
DESCRIPTION
OpenSSL keeps an internal table of digest algorithms and ciphers. It uses this table to lookup ciphers via functions such as
EVP_get_cipher_byname().
OpenSSL_add_all_digests() adds all digest algorithms to the table.
OpenSSL_add_all_algorithms() adds all algorithms to the table (digests and ciphers).
OpenSSL_add_all_ciphers() adds all encryption algorithms to the table including password based encryption algorithms.
EVP_cleanup() removes all ciphers and digests from the table.
RETURN VALUES
None of the functions return a value.
NOTES
A typical application will will call OpenSSL_add_all_algorithms() initially and EVP_cleanup() before exiting.
An application does not need to add algorithms to use them explicitly, for example by EVP_sha1(). It just needs to add them if it (or any
of the functions it calls) needs to lookup algorithms.
The cipher and digest lookup functions are used in many parts of the library. If the table is not initialized several functions will misbe-
have and complain they cannot find algorithms. This includes the PEM, PKCS#12, SSL and S/MIME libraries. This is a common query in the
OpenSSL mailing lists.
Calling OpenSSL_add_all_algorithms() links in all algorithms: as a result a statically linked executable can be quite large. If this is
important it is possible to just add the required ciphers and digests.
BUGS
Although the functions do not return error codes it is possible for them to fail. This will only happen as a result of a memory allocation
failure so this is not too much of a problem in practice.
SEE ALSO evp(3), EVP_DigestInit(3), EVP_EncryptInit(3)0.9.7a 2000-09-19 OpenSSL_add_all_algorithms(3)