LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2017, 08:48 AM   #1
caseyneedshelp101
LQ Newbie
 
Registered: Jan 2017
Posts: 3

Rep: Reputation: Disabled
profile file


what exactly is a profile file and where do i go to find it?

edit:
How do you explain the contents of the command 'cat .profile'

Last edited by caseyneedshelp101; 01-05-2017 at 09:07 AM.
 
Old 01-05-2017, 09:00 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,009

Rep: Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627
probably it is /etc/profile, but without context your question has no real meaning...
 
Old 01-05-2017, 09:02 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,307

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
Welcome to the forum.

You need to give us some idea what profile you are looking for, there are many. Please also tell us what distro and version you are running. Without this type of information, we can only guess what you are looking for.
 
Old 01-05-2017, 09:11 AM   #4
caseyneedshelp101
LQ Newbie
 
Registered: Jan 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
there you go

Quote:
Originally Posted by camorri View Post
Welcome to the forum.

You need to give us some idea what profile you are looking for, there are many. Please also tell us what distro and version you are running. Without this type of information, we can only guess what you are looking for.
How do you explain the contents of the command 'cat .profile'
 
Old 01-05-2017, 09:28 AM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,307

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
The command is cat. From the man page;
Quote:
cat - concatenate files and print on the standard output
The command dumps the contents of the file to 'standard out', usually this is your console.

The file is called 'profile'. The period before the name makes the file hidden.

If you want to know more about the contense of the file, you will have to post the output.
 
Old 01-05-2017, 09:29 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,900
Blog Entries: 13

Rep: Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947Reputation: 4947
Hi and welcome to LQ, caseyneedshelp101.

Understand that LQ is here to help you learn. Members here are volunteers who similarly volunteer their expertise with answering questions, however also the expectation is that you are learning and trying on your own.

What do you know about the "cat" command? Have you looked it up? Have you tried to do a man page listing on the cat command? Are you typing at a terminal on a Linux machine? Do you know about how to get the man page for commands?

The command you've cited is a very simple command, and it does show in the man pages on Linux machines. Better that you read the manual page for cat versus us describe it to you. Better also that you use the cat command to see what it does for you. Note that there are other commands similar to cat which you can try, more and less are their names.

An important detail is that you need to be in a directory where the file is located, or specify the full directory name where the file is located for the command to be of any use. Typically people change to the directory where a file is, verify that a file is there, and then use the cat command to view the file.

Do you know how to change directories? Do you know how to list the files in a directory? Do you know how to list the hidden files in a directory?

Once again, are you typing at a command prompt, also known as a terminal window? If you are just asking a question as you read about something, you are likely to be confused a great deal.

Others have cited that you should provide the Linux distribution which you are using and the context of your question. We don't know if you are even at the point where you are typing commands into a terminal.
 
Old 01-05-2017, 09:31 AM   #7
caseyneedshelp101
LQ Newbie
 
Registered: Jan 2017
Posts: 3

Original Poster
Rep: Reputation: Disabled
thanks b x

Last edited by caseyneedshelp101; 01-05-2017 at 09:40 AM.
 
Old 01-05-2017, 12:43 PM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 23,009

Rep: Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627Reputation: 7627
see man bash, you can read about .profile, just look for the word itself
 
Old 01-07-2017, 06:46 AM   #9
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Hi 'casey'! Welcome! Here's a whole book I just found.
Feel free to tell us a bit about your Linux 'journey': computers used, goals/interests.

Here's a LQ Thread that mentions this #1rated book. ~/.profile is on p.129/132
Here's another LQ Thread where I posted a link to a free book I found&liked. p30

Several of the most popular 'distro's have reference books; which 'distro' do you use?

Last edited by Jjanel; 01-10-2017 at 03:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /etc/profile file Soji Antony Linux - Newbie 14 01-18-2011 04:29 AM
Need help about bash profile file. gardenair Linux - Newbie 6 03-05-2010 08:50 AM
user's profile file alaios Fedora 0 07-12-2004 07:57 PM
Problem with .profile file gallet Linux - Security 1 10-14-2003 04:49 PM
Profile file for redhat? KaktusKnight Linux - General 3 06-19-2003 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration