LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-16-2016, 07:34 PM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 164

Rep: Reputation: Disabled
color terminal question


hello, i'm using ssh to remote into a freebsd machine and i don't have the colors for directories and that when i use ls.

if i go into my home dir and edit .shrc and add--

alias ls="ls -G"

would that do the trick for all logins local and remote for that user?
 
Old 02-16-2016, 07:39 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,416

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
You will need to change the bash startup files on the remote machine as that is where you will be logged in.
 
Old 02-16-2016, 07:46 PM   #3
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 164

Original Poster
Rep: Reputation: Disabled
yes, thats what i meant - on the remote machine. I added, but it didn't work until i realized that i had to logout and back in...derp

thanks for the reply!
 
  


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
[SOLVED] Question: Different color scheme for each Terminal? struct Linux - Newbie 4 09-14-2010 01:39 PM
color in virtual terminal yogi4yu Linux - Desktop 10 05-07-2008 09:09 AM
how could i open new terminal with X color ? DoME69 Linux - Newbie 2 02-12-2008 03:03 AM
Terminal color m2azer Linux - General 3 02-10-2007 12:22 AM
get terminal color? cratos Programming 0 07-16-2003 03:04 PM

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

All times are GMT -5. The time now is 05:41 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