Sponsored Content
Top Forums UNIX for Dummies Questions & Answers difference between /etc/profile and .profile? Post 302284823 by gehlnar on Friday 6th of February 2009 11:06:51 AM
Old 02-06-2009
Thanks for your reply. But is there any relationship or dependency of these two files?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

why i have local.profile, local.cshrc,local.login instead of .profile, .login ?

Hello again ! Thanks for response of my first question. there is my second quesiton why i have local.profile instead of .profile file ? my all files in pwd shoes local. before any file. is anybody can tell me about that ? Thanks Abid Malik (5 Replies)
Discussion started by: abidmalik
5 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. UNIX for Advanced & Expert Users

.profile

I installed Red Hat 7.1. I found that .profile is not geting executed for any user. I checked the location of .profile . It is in home directory. What may be the reason. Thank you in advance!!! (3 Replies)
Discussion started by: j1yant
3 Replies

4. UNIX for Dummies Questions & Answers

How to get to my .profile?

Hi, When I logon to UNIX I go to the root directory. I don't have an assigned user directory. I need to get to my .profile so that I can change things like command prompt. How do I do this? By the way I am using SUN Solaris Thanks. (3 Replies)
Discussion started by: GMMike
3 Replies

5. SCO

Difference between .profile and .~/.profile

what is the difference between these two lines, if we use it in korn shell script: .profile .~/.profile (3 Replies)
Discussion started by: maneesh mehta
3 Replies

6. UNIX for Dummies Questions & Answers

Where can I read about the difference between "..profile" and ".profile"

Hi I know from reading O Riley's Classic Shell Scripting' that the .profile file is " the shells configuration file" but I am unable to find a reference to what "..profile" means. I have searched on the net, Sams Teach Yourself Unix, Unix Visual Quickstart Guide and Linux in a Nutshell. I have... (2 Replies)
Discussion started by: zorrokan
2 Replies

7. Infrastructure Monitoring

trap in etc/profile and user .profile

Hello I really wonder what's trap in etc/profile and in each user .profile. I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing. I want to know ... 1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies

8. Shell Programming and Scripting

Profile use

hey'all does anyway know how I can make a script which resides in dir: /mypath/a/b/c/d available to other users without them having to set their environment to PATH=/mypath/a/b/c/d=$PATH export PATH in their profiles. This is done so they can simply type myscript on the... (4 Replies)
Discussion started by: cyberfrog
4 Replies

9. Shell Programming and Scripting

difference between .login, .tcshrc ,.profile

Could you please explain me what is the difference between .login, .tcshrc ,.profile file . Can I keep .tcshrc file in two different location .Actually my problem is I have one server in which another server is mounted so I have two programs which refers to two different versions of java and I need... (1 Reply)
Discussion started by: maitree
1 Replies

10. UNIX for Dummies Questions & Answers

Help with .profile

Hello All , Hope you are doing good. I have problem need you guys help . i tried to modify my .profile i was using PS1="\$ " printf "\033]0;`hostname`\007" and i have alias ( alias e='exit' )as well now wanna use bash as having good options , and modified as below bash -c... (1 Reply)
Discussion started by: radha254
1 Replies
mkdep(1)						      General Commands Manual							  mkdep(1)

NAME
mkdep - generate dependency list from a C program SYNOPSIS
mkdep [-a] [-f depend_file] [-p] [cc_options] file... The mkdep command generates a dependency list file from a C source program. OPTIONS
Causes mkdep to append its output to the end of the dependency file instead of creating a new dependency file. If the dependency file does not exist, mkdep creates it. Specifies a name for the dependency file; overrides the default file name Inhibits mkdep from appending the suffix to the names of object files listed in the output. DESCRIPTION
The mkdep command uses cc(1) to compile a list of dependency files required to build the named C program file or files. The list is for- matted so that it is suitable for inclusion into a makefile for make(1). Duplicate dependency listings for a given program are included only once in the output. You can specify C compiler options by including them in the command line; mkdep passes all unrecognized options through to the compiler. By default, mkdep writes to a file named -f option to specify an alternative output file name. EXAMPLES
The following example illustrates the use of mkdep with the -p option: % cat hello.c #include <stdio.h> main() { printf("%s0","Hello World!"); } % mkdep -p -f hello.depend hello.c % cat hello.depend hello: hello.c /usr/include/stdio.h /usr/include/standards.h hello: /usr/include/sys/types.h /usr/include/standards.h hello: /usr/include/mach/machine/vm_types.h /usr/include/sys/limits.h hello: /usr/include/standards.h /usr/include/machine/machlimits.h hello: /usr/include/sys/syslimits.h /usr/include/float.h hello: /usr/include/standards.h /usr/include/fp_class.h hello: /usr/include/machine/machtime.h SEE ALSO
Commands: cc(1), make(1) mkdep(1)
All times are GMT -4. The time now is 09:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy