Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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'
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.