LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-12-2009, 04:53 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
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
Nylex
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
happyalways
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..
thanks...
 
Old 08-12-2009, 04:59 AM   #4
merer
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.
 
  


Reply



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

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

All times are GMT -5. The time now is 11:36 PM.

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