![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sourcing the .bashrc | Nusy | UNIX for Dummies Questions & Answers | 3 | 05-27-2008 05:23 PM |
| .bashrc question re: rm -i & ls --colors | kthatch | UNIX for Dummies Questions & Answers | 16 | 04-21-2008 05:06 PM |
| alias rm = 'rm -i' in .bashrc and vnc | cy163 | UNIX for Dummies Questions & Answers | 0 | 05-23-2007 09:57 AM |
| history -c in my .bashrc | yankee428 | UNIX for Dummies Questions & Answers | 1 | 06-23-2005 04:13 PM |
| from bashrc to sh..?? | moxxx68 | Shell Programming and Scripting | 3 | 09-13-2004 05:39 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
.bashrc question
Hi,
I was instructed to find all the .bashrc files on my system, that MODIFY the PS1 varaible. here is what i've come up with so far: ls / .bashrc -print woo. But thats not all. I need to display the full file name ( Including the full path ) and protection. - I can display the protection ( ls - l ) but not including the .bashrc files - I dont know how to find .bashrc files that modify PS1 varaible - the full file name? Any help is apprecatied. |
|
||||
|
what i've done is: find / -name .bashrc
which lists all the files on the system that have a name ".bashrc" when i redirect that output to a file i only get the the .bashrc files that are in the home directory without redirecting the output i get the .bashrc files that are on the system. again my question is: -Find all files on the system named ".bashrc" that modify the PS1 variable. -List the full file name (including the full path) and protection. Im running the PuTTY configuration system on windows. |
|
||||
|
i have no way of knowing if what i've found modifies the PS1 variable.
ls -lha .bashrc give me: -rw-r--r-- <user> size and date .bashrc i dont think thats all the .bashrc files in the system tho and how would i get the full path name to the .bashrc file? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|