Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-12-2009, 04:53 AM   #1
Registered: Aug 2009
Posts: 537

Rep: Reputation: 32
How to list the file ".bash_profile"?

I loged into my server with putty but can not see the file ".bash_profile". But as I use WinSCP, I can see this file. How can I show the file ".bash_profile" in putty?
Old 08-12-2009, 04:58 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can view hidden files using "ls -a". PuTTY doesn't control things like this.. it's just an SSH client, so you're just using commands on the *NIX machine.
Old 08-12-2009, 04:59 AM   #3
LQ Newbie
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
you give the command cd /root in putty.
give command ls.
you can view all the files in that path.
Give the command vi .bash_profile. then you can open ur file.
you cant see in WinSCP.

I think it help you..
Old 08-12-2009, 04:59 AM   #4
LQ Newbie
Registered: Jul 2007
Location: Vilnius,Lithuania
Distribution: Slackware 12.2
Posts: 20

Rep: Reputation: 1
In *NIX systems, files beginning with . (dot) are considered hidden. To view them, use `ls -A` command.


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
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 06:58 AM
"list dynamic dependency" of an executable using command other than "ldd" Amrita@3086 Solaris / OpenSolaris 3 04-04-2007 04:56 AM
Where is ".bashrc" or ".bash_profile" in Slackware 10.2 ccoffee Slackware 5 08-03-2006 06:28 PM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:58 AM.

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