Sponsored Content
Full Discussion: N days ago
Top Forums UNIX for Advanced & Expert Users N days ago Post 302489642 by big123456 on Friday 21st of January 2011 04:25:49 AM
Old 01-21-2011
thank you but can I use this in a filename.sh to define a variable? how ?

MYVARIBLE=???
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting files created before two days ago

Dear All: I want to build a shell that delete files created two or more days ago ... I think it could be built using a special command with ls or grep, I'd apreciate any help from you guys I have a lot of log files from november, december, january and this tool will help me a lot The files... (3 Replies)
Discussion started by: josecollantes
3 Replies

2. Shell Programming and Scripting

Function 7 days ago

Please tell me how can I wirte a function to return the date 7 days ago by using calendar command? :confused: (2 Replies)
Discussion started by: LAY
2 Replies

3. UNIX for Dummies Questions & Answers

file was created before 15 days ago.

How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago? It has to be korn shell script. Thanks. (1 Reply)
Discussion started by: YoungBlood
1 Replies

4. Shell Programming and Scripting

Find the file from 15 days ago

How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago? It has to be korn shell script. Thanks. (2 Replies)
Discussion started by: YoungBlood
2 Replies

5. Shell Programming and Scripting

date for two days or 3 days ago

i need a script that can tell me the date 2 days ago or 3 days ago. please help (7 Replies)
Discussion started by: tomjones
7 Replies

6. Shell Programming and Scripting

Date within a timeframe 2 days ago

How could I using the following example, change it to show 2 days ago within the same time frame 0600 AM to 0600 AM let foo=`date "+(1%H-106)*60+1%M-100"` bar=foo+1440 find . -mmin +$foo -mmin -$bar | tr -s '/','-' '^' | cut -f2,3 -d"^" | tr -s '^' ' ' | Please use code tags (7 Replies)
Discussion started by: freddie999
7 Replies

7. Shell Programming and Scripting

Calculating 7 days ago date for the given Argument

Hi I have shell script and I am facing the below issue to integrate the date calculation to the the script. If I give the $1 as the date(20110701) then I need to get the 7 days ago date for the same format.(20110624). At first I thought its a simple one to handle and I did a search in the... (10 Replies)
Discussion started by: filter
10 Replies

8. Shell Programming and Scripting

Find a string in file 5 days ago

Hi, I need to grep for a string "Color Yellow" in all log files dated 5 days back until today's date . So, as today is 20 Dec i need to find in all logs from 16th dec to 20 dec. Also, i need ls -ltre output for the files that have the "Collor Yellow" string. Below is my OS: ... (1 Reply)
Discussion started by: mohtashims
1 Replies

9. UNIX for Beginners Questions & Answers

How to find a file that's modified more than 2 days ago but less than 5 days ago?

How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies

10. Shell Programming and Scripting

Get a given date and subtract it to 5 days ago

Hi all, I have been researching to obtain SSL certification expiry for most of our webistes. For some cases, some hosts where not directly accessible so i finally got a solution working with curl using my proxy. This lists the expiry date which i'm finally looking for. # curl --proxy... (4 Replies)
Discussion started by: nms
4 Replies
Defines(3)						       globus gsi sysconfig							Defines(3)

NAME
Defines - Defines #define GLOBUS_GSI_SYSCONFIG_SET_KEY_PERMISSIONS #define GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR #define GLOBUS_GSI_SYSCONFIG_CHECK_KEYFILE #define GLOBUS_GSI_SYSCONFIG_CHECK_CERTFILE #define GLOBUS_GSI_SYSCONFIG_FILE_EXISTS #define GLOBUS_GSI_SYSCONFIG_DIR_EXISTS #define GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR #define GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_HOST_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_SERVICE_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_PROXY_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_SIGNING_POLICY_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_CA_CERT_FILES #define GLOBUS_GSI_SYSCONFIG_GET_CURRENT_WORKING_DIR #define GLOBUS_GSI_SYSCONFIG_MAKE_ABSOLUTE_PATH_FOR_FILENAME #define GLOBUS_GSI_SYSCONFIG_SPLIT_DIR_AND_FILENAME #define GLOBUS_GSI_SYSCONFIG_REMOVE_ALL_OWNED_FILES #define GLOBUS_GSI_SYSCONFIG_GET_GRIDMAP_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_AUTHZ_CONF_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_GAA_CONF_FILENAME #define GLOBUS_GSI_SYSCONFIG_IS_SUPERUSER #define GLOBUS_GSI_SYSCONFIG_GET_USER_ID_STRING #define GLOBUS_GSI_SYSCONFIG_GET_PROC_ID_STRING #define GLOBUS_GSI_SYSCONFIG_GET_USERNAME #define GLOBUS_GSI_SYSCONFIG_GET_UNIQUE_PROXY_FILENAME Detailed Description These precompiler defines allow for a platform (ie Win32 vs UNIX) independent API. Define Documentation #define GLOBUS_GSI_SYSCONFIG_SET_KEY_PERMISSIONS Set the correct file permissions on a private key. See globus_gsi_sysconfig_set_key_permissions_unix() and globus_gsi_sysconfig_set_key_permissions_win32() #define GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR Get the current users home directory See globus_gsi_sysconfig_get_home_dir_unix() and globus_gsi_sysconfig_get_home_dir_win32() #define GLOBUS_GSI_SYSCONFIG_CHECK_KEYFILE Check for the correct file permissions on a private key. See globus_gsi_sysconfig_check_keyfile_unix() and globus_gsi_sysconfig_check_keyfile_win32() #define GLOBUS_GSI_SYSCONFIG_CHECK_CERTFILE Check for the correct file permissions on a certificate. See globus_gsi_sysconfig_check_certfile_unix() and globus_gsi_sysconfig_check_certfile_win32() #define GLOBUS_GSI_SYSCONFIG_FILE_EXISTS Check whether a given file exists See globus_gsi_sysconfig_file_exists_unix() and globus_gsi_sysconfig_file_exists_win32() #define GLOBUS_GSI_SYSCONFIG_DIR_EXISTS Check whether a given directory exists See globus_gsi_sysconfig_dir_exists_unix() and globus_gsi_sysconfig_dir_exists_win32() #define GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR Determine the location of the trusted certificates directory See globus_gsi_sysconfig_get_cert_dir_unix() and globus_gsi_sysconfig_get_cert_dir_win32() #define GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME Determine the location of the users certificate and private key See globus_gsi_sysconfig_get_user_cert_filename_unix() and globus_gsi_sysconfig_get_user_cert_filename_win32() #define GLOBUS_GSI_SYSCONFIG_GET_HOST_CERT_FILENAME Determine the location of the host certificate and private key See globus_gsi_sysconfig_get_host_cert_filename_unix() and globus_gsi_sysconfig_get_host_cert_filename_win32() #define GLOBUS_GSI_SYSCONFIG_GET_SERVICE_CERT_FILENAME Determine the location of a service certificate and private key See globus_gsi_sysconfig_get_service_cert_filename_unix() and globus_gsi_sysconfig_get_service_cert_filename_win32() #define GLOBUS_GSI_SYSCONFIG_GET_PROXY_FILENAME Determine the location of a proxy certificate and private key See globus_gsi_sysconfig_get_proxy_filename_unix() and globus_gsi_sysconfig_get_proxy_filename_win32() #define GLOBUS_GSI_SYSCONFIG_GET_SIGNING_POLICY_FILENAME Determine the name of the signing policy file for a given CA See globus_gsi_sysconfig_get_signing_policy_filename_unix() and globus_gsi_sysconfig_get_signing_policy_filename_win32() #define GLOBUS_GSI_SYSCONFIG_GET_CA_CERT_FILES Get a list of of trusted CA certificate filenames in a trusted CA certificate directory. See globus_gsi_sysconfig_get_ca_cert_files_unix() and globus_gsi_sysconfig_get_ca_cert_files_win32() #define GLOBUS_GSI_SYSCONFIG_GET_CURRENT_WORKING_DIR Get the current working directory See globus_gsi_sysconfig_get_current_working_dir_unix() and globus_gsi_sysconfig_get_current_working_dir_win32() #define GLOBUS_GSI_SYSCONFIG_MAKE_ABSOLUTE_PATH_FOR_FILENAME Prepend the current working directory to the give filename See globus_gsi_sysconfig_make_absolute_path_for_filename_unix() and globus_gsi_sysconfig_make_absolute_path_for_filename_win32() #define GLOBUS_GSI_SYSCONFIG_SPLIT_DIR_AND_FILENAME Split directory component of path from filename. See globus_gsi_sysconfig_split_dir_and_filename_unix() and globus_gsi_sysconfig_split_dir_and_filename_win32() #define GLOBUS_GSI_SYSCONFIG_REMOVE_ALL_OWNED_FILES Remove all proxies owned by current uid See globus_gsi_sysconfig_remove_all_owned_files_unix() and globus_gsi_sysconfig_remove_all_owned_files_win32() #define GLOBUS_GSI_SYSCONFIG_GET_GRIDMAP_FILENAME Determine the location of the grid map file. See globus_gsi_sysconfig_get_gridmap_filename_unix() and globus_gsi_sysconfig_get_gridmap_filename_win32() #define GLOBUS_GSI_SYSCONFIG_GET_AUTHZ_CONF_FILENAME Determine the location of the authorization callout config file. See globus_gsi_sysconfig_get_authz_conf_filename_unix() #define GLOBUS_GSI_SYSCONFIG_GET_GAA_CONF_FILENAME Determine the location of the GAA callout config file. See globus_gsi_sysconfig_get_gaa_conf_filename_unix() #define GLOBUS_GSI_SYSCONFIG_IS_SUPERUSER Determine whether the current user is the super user See globus_gsi_sysconfig_is_superuser_unix() and globus_gsi_sysconfig_is_superuser_win32() #define GLOBUS_GSI_SYSCONFIG_GET_USER_ID_STRING Get the current UID in string form See globus_gsi_sysconfig_get_user_id_string_unix() and globus_gsi_sysconfig_get_user_id_string_win32() #define GLOBUS_GSI_SYSCONFIG_GET_PROC_ID_STRING Get the current PID in string form See globus_gsi_sysconfig_get_proc_id_string_unix() and globus_gsi_sysconfig_get_proc_id_string_win32() #define GLOBUS_GSI_SYSCONFIG_GET_USERNAME Get the current user name See globus_gsi_sysconfig_get_username_unix() and globus_gsi_sysconfig_get_username_win32() #define GLOBUS_GSI_SYSCONFIG_GET_UNIQUE_PROXY_FILENAME Generate a unqiue proxy file name See globus_gsi_sysconfig_get_unique_proxy_filename() Author Generated automatically by Doxygen for globus gsi sysconfig from the source code. Version 5.2 Mon Apr 30 2012 Defines(3)
All times are GMT -4. The time now is 02:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy