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 08-12-2009, 05:53 AM   #1
thomas2004ch
Member
 
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, 05: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, 05: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, 05: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


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


All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration