Sponsored Content
Full Discussion: Sysdate setting in .profile
Top Forums Shell Programming and Scripting Sysdate setting in .profile Post 302408268 by malickhat on Monday 29th of March 2010 04:06:45 AM
Old 03-29-2010
Sysdate setting in .profile

Hi,
I need to append the current system date and time in my file which are being taken a backup by my shell script .so i added the following line in by .profile
Code:
SYSDATE="$( date '+%d/%B/%Y/%S' )"
export SYSDATE

But it's a constant one rather then a sync with my system date ,so how can i do that in my .profile file
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Setting LIBPATH in profile

Hi there, I wonder if anyone can help me. I run an application on an AIX 4.3.3 machine, for which I need to set up the LIBPATH environment variable for a specific user. I need this to be set up automatically when the user logs in (via Exceed), so I tried setting this in the .profile file. ... (7 Replies)
Discussion started by: durnelln
7 Replies

2. UNIX for Dummies Questions & Answers

changed .profile but didnt ./.profile, yet reflected changes

hi , i added ls -F to .profile. and i need to do ./.profile for the effect to take effect BUT i didnt and YET the next day when i came to work and log in, the changes took effect. i am on aix. please explain.. thanks (4 Replies)
Discussion started by: yls177
4 Replies

3. Shell Programming and Scripting

NLS_LANG setting in .profile

Hi In my .Profile file initially I had given export NLS_LANG="BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1" and later I commented it. When I connect to sqlplus from shell prompt and query "select * from nls_session_parameters" it gives PARAMETER VALUE... (1 Reply)
Discussion started by: arksjd
1 Replies

4. UNIX for Advanced & Expert Users

Setting Up Profile.......Need Help Urgently

Hi I am not able to setup PS1 environment variable in .profile file in my Home directory.I am using RED HAT3 Linux.this is the excercise that i have done $echo $SHELL /bin/ksh $pwd /home/khan $ls -l .profile -rwxrwxrwx $more .profile set -o vi export PS1='khan' $echo $PS1 $ (13 Replies)
Discussion started by: reachtokhan
13 Replies

5. UNIX for Dummies Questions & Answers

Setting up Bash profile

Hi, I have a SunOS -s 5.9 Generic_118558-39 sun4u sparc SUNW,Sun-Fire-V210 system. I need to set up my .bash_profile. I need to do the following thins. 1) set up history 2) Set up VI as my editor 3) Display the current directory at the prompt. I have tried using the set command, the... (1 Reply)
Discussion started by: kaushys
1 Replies

6. UNIX for Dummies Questions & Answers

setting home as lin in user profile

Hi. I have a directory structure built with links. For example: /home/user1 is a link to /var/123/user1 can i set the home variable in the .profile of the user to use a link? or it has to be a "real" directory? tks (1 Reply)
Discussion started by: mrodrig
1 Replies

7. Shell Programming and Scripting

Need help in setting .profile , .cshrc , .exerc ..... in HP-UX , Solaris , AIX-UX

I need help in settings to Hp-UX , Solaris , AIX-UX .. I worked on Linux previously ... now i am working on Hp-UX , Solaris , AIX-UX .. up/down arrow , to see history of previous command (basically to modify ) and few keyboard keys are different ... so i need to set .profile , .cshrc , ... to... (1 Reply)
Discussion started by: girija
1 Replies

8. UNIX for Dummies Questions & Answers

Setting umask 022 by default to my profile

Hello everyone, I want to set my properties of my profile to umask 022 by default. I have an idea that i need to make the change in .profile file. Can you please help me, on how would i be able to set it. Thanks, Abhishek S. (4 Replies)
Discussion started by: abhisheksunkari
4 Replies

9. UNIX for Dummies Questions & Answers

setting the profile

What's the purpose of setting the profile in side the script? however the user when logins, the profile wil be set. Then why we need to use that explicitly inside the script? Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies

10. AIX

Profile Max CPU Setting

I have a system with the following settings: min:0.10 Assigned: 2.0 Max: 6.0 Partition is uncapped weight is 128. I would like to know if even if this is uncapped, is the max it can use 6? The actual pool has 16. I remember reading about this somewhere but I don't remember can anyone... (3 Replies)
Discussion started by: techy1
3 Replies
EXCHANGE2ICAL(1)					     OpenChange Users' Manual						  EXCHANGE2ICAL(1)

NAME
exchange2ical - Convert Exchange calendar to ical file SYNOPSIS
exchange2ical [-?V] [-?|--help] [--usage] [-f|--database=STRING] [-p|--profile=STRING] [-P|--password=STRING] [-i|--icalsync=STRING] [-o|--filename=STRING] [-R|--range=STRING] [-d|--debuglevel=STRING] [--dump-data] [-V|--version] DESCRIPTION
exchange2ical provides a way to extract appointments from an Exchange calendar into the ical format. The ical is provided on stdout by default if the filename is not specified. OPTIONS
--database -f Set the path to the profile database to use --profile -p Set the profile to use. If no profile is specified, exchange2ical tries to retrieve the default profile in the database. If no default profile has been set, exchange2ical returns MAPI_E_NOT_FOUND . --password -P Specify the password for the profile to use. This can be omitted if the password is stored in the profile. --icalsync -i Specify an icalendar file to be used to sync back to exchange. --filename -o Specify the filename for the icalendar output. The specified file will be overwritten with the new icalendar. If this is omitted, stdout will be used by default. --range -r Specify the range of exchange appointments to be converted into an icalendar. If there are no events, whos start date is within the specified range, an icalendar with no vevents will be returned. Format: MM/DD/YYYY-MM/DD/YYYY --dump-data Dump the hex data. This is only required for debugging or educational purposes. --debuglevel -d Set the debug level. EXAMPLES
Extract appointments from the Exchange calendar: exchange2ical > appointments.ical Extract appointments from the Exchange calendar to a specified path exchange2ical --filename=/path/to/file.ics Extract only appointments which begin from June 25 2008 to July 26 2009 exchange2ical --range=06/25/2008-07/26/2009 REMARKS
If you are using the default profile database path and have set a default profile (using mapiprofile --profile=profile_name -S ) you do not need to specify these parameters on the command line. AUTHOR
exchange2ical was written by Julien Kerihuel <j.kerihuel at openchange dot org> This man page was written by Brad Hards <bradh at openchange dot org> OpenChange 2.0 QUADRANT 2013-01-24 EXCHANGE2ICAL(1)
All times are GMT -4. The time now is 05:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy