General :: Get Colors In 'less'' Command?

Mar 9, 2010

when I read a file in Linux with the command 'less' or 'more', how can I get the content in colors?

View 5 Replies


ADVERTISEMENT

General :: Bash Watch Command With Colors Preserved?

Mar 29, 2010

From man watch: Non-printing characters are stripped from program output. Use "cat -v" as part of the command pipeline if you want to see them. So how do I use cat -v if I want to see the colored output from:watch ls -al --color

View 3 Replies View Related

Ubuntu :: Pimp Command Line (Fonts, Colors, Hacks, Terminal Profiles)?

Mar 7, 2011

So I used Arch linux for a while and was really impressed and how colorful the commandline output was. Not only from ls, which I was able to emulate by adding "alias ls="ls --color"" to my .bashrc, but also during, say, bootup and other times.Anyway, I was just wondering, what tricks do you guys use to make your command line experience more visually appealing? Fonts, colors, hacks, terminal profiles?

View 5 Replies View Related

Software :: Configure Xterm Colors If Xterm Can Support 256 Colors?

Jul 3, 2009

I have a xterm which can have 256 colors. How can I configure the prompt colors and ls output colors to take advantages of the 256 color values?

View 4 Replies View Related

General :: Get Colors In Terminal?

Mar 8, 2010

I am connecting to a remote suse 10.0 machine, and I do not get colors on the terminal, while I get them when I connect to a remote Ubuntu machine.

How can I do to get colors on the suse terminal?

View 4 Replies View Related

General :: Monitor Colors Too Bright

Oct 13, 2010

I installed memory card now monitor colors has been adjused to light blue and white. Tried control panel in personification to chg color but I think the color is off due to ATI graphic card radeon xpress 200.

View 2 Replies View Related

General :: VNC Viewer Screen Colors Are Off?

Jun 27, 2011

I'm running a VNC server along with a local VNC viewer on the same RHEL5 box. The colors for my GUI components look O.K. in the VNC viewer, but a map that the viewer displays is messed up. The color of the map is too blue. My system is using X11 protocol. I'm a newbie when it comes to Linux.

View 2 Replies View Related

General :: Colors - Apply ICC Profile To Whole Desktop?

Apr 15, 2011

I have a monitor with oversaturated red (HP LP2475w). I am able to apply ICC profile to various apps like GIMP and Firefox and Gnome. But I'd like to apply it to everything - because e.g. Flash animations in Firefox are rendered by Flash and don't use ICC. So, can I apply it to whole X?

View 2 Replies View Related

General :: Linux CLI Through Putty / Do Colors Signify Anything?

Jan 14, 2010

When I connect to a RHEL CLI via Putty, some folders are blue, some are highlighted green, etc etc.Does all that signify something? Is there a link to a site that tells me what it all means?

View 9 Replies View Related

General :: Second Monitor Weird Colors Unbuntu

Sep 16, 2010

at first with a single boot system(ubuntu) everything were fine with everything include second monitor ,then i installed vista too,now i have a dual boot system & i am very happy to get rid of crappy junk microsoft's software as much as i can,unbuntu performance is really wonderful to me,just i have one problem,my second monitor show very weird colors ,almost like a negative print,then i boot with vista & there everything are fine with my second monitor,then i guess i don't have any hardware or driver problem,any help or suggestion?I changed my visual setting from extra to non,in case if this problem is because of not enough memory or els,but iy didn't work. my loptop is a vaio vgn,4 gb ram,intel centrino 2- 2.66 ghz-ati radeon graphic card.

View 2 Replies View Related

General :: ThinIce Theme Colors Configuring?

May 13, 2011

I'm trying to change the color of textfield's background in this config:

Code:
# Edit these colors and fonts however you like.
style "default"
{
GtkOptionMenu::indicator_spacing = { 3, 2, 1, 1 }
GtkEntry::progress-border = { 1, 1, 1, 1 }
GtkRange::slider_width = 11
GtkRange::stepper_size = 11

[Code]...

View 1 Replies View Related

General :: What Do Various Colors In Results Of Bash Ls Signify?

Jan 12, 2011

I am at the moment using Ubuntu 10.10 with the default color scheme. If I open a bash terminal and type ls -l / I get the results with most information in white on the standard purple background, most directory names in blue on the normal background, tmp in blue on a green background, a file name in white on the normal background and links in teal on the normal background.

So in this situation I am wanting to figure out what the green background behind tmp signifies. I have searched for information about bash color codes and I find hundreds of links regarding how the CHANGE the colors. I have yet to find one which explains what the colors mean.

View 3 Replies View Related

General :: Setting Custom LS Colors In Xterm?

Jul 17, 2011

I'm having difficulty setting custom ls colors in xterm. If I understand it right one can edit the system-wide file located in /etc/DIR_COLORS to modify every terminal or customize xterm; I chose xterm mostly because the other terminals I never use. Here is my .bash_profile and .bashrc respectively:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi

if [ -f /etc/bashrc ]; then
source /etc/bashrc
fi

alias ls='ls --color -F'
PS1='[e[1;32m][u@h:w]$[e[0m] '

When I use the login shell, the colors are different than xterm in that they are not as bright; furthermore, I marked out bold fonts in .Xresources:
!xterm colors
xterm*foreground: #d3d3d3
xterm*background: #000000
xterm*boldColors: false
xterm*cursorBlink: true
xterm*cursorColor: white
xterm*loginShell: false
xterm*faceName: Liberation Mono
xterm*faceSize: 10

So, there must be a file around somewhere that is changing the colors between the interactive and login shells. Also,
man xterm:
color6 (class Color6)
color7 (class Color7)

These specify the colors for the ISO-6429 extension. The defaults are, respectively, black, red3, green3, yellow3, a customizable dark blue, magenta3, cyan3 and gray90. The default shades of color are chosen to allow the colors 8-15 to be used as brighter versions. How does that get anyone anywhere with setting the color? It doesn't say what color (class) is assigned to which file specifically, thus adhering to the distribution-wide color codes. Perhaps I am making this more difficult than it should be.

View 4 Replies View Related

General :: Get Putty To Support 256 Colors In Emacs On CentOS?

Jan 21, 2011

As far as I can tell from browsing around, I should be getting 256 colors in my Emacs, but I'm not. I'm running CentOS 5.4 on an ec2 instance. I'm running Putty 0.60 on Windows 7. Putty is set to send xterm-256color for its terminal string. Putty is set to allow 256 colors. On CentOS, my $TERM is set to xterm-256color.

tput colors shows 256. I recompiled Emacs to 23.2, making sure to install libtermcap-devel beforehand, because someone claimed they needed that. But still, when I M-x list-colors-display in Emacs, it only shows 8 colors.

View 1 Replies View Related

General :: Wrong Monitor Resolution Set And Now Screen With Many Colors

Jul 25, 2010

I am new to Linux (Ubuntu 10.4 LTS on a Thinkpad T40), now just two days, and had everything working nicely. But since I wanted a better higher resolution I tried to set the monitor resolution to a higher value. After selecting a higher resolution first the screen went black and now it has a white background and is steady but has flickering areas. The system is still working. How can I go back to the resolution that was working?

View 2 Replies View Related

General :: Redefine The Way ANSI Colors Are Shown In A Terminal Emulator?

Jun 8, 2011

I'd like to redefine the actual colors that ANSI escape sequences show, i.e. I'd like to personalize what "light red" means and render it as, say, orange. Is there any terminal emulator that works under linux that allows me to do this? how?

View 1 Replies View Related

General :: List Of Zsh "fg" Colors?

Jan 24, 2011

List of zsh "fg" colors?

View 2 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

General :: Set Up New Keybinding For Finding Last Command Executed Using The First Few Characters Of The Command In Csh?

Jul 21, 2010

I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.

View 1 Replies View Related

General :: Bash Command History Update Before Execution Of Command

Jun 7, 2010

Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).

I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?

View 1 Replies View Related

General :: How Does Cp Command Determine Source And Destination Locations In Command?

Apr 14, 2011

When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.

View 4 Replies View Related

General :: Redirecting STDOUT Of Previous Command To STDIN Of Next Command

Nov 20, 2009

i'm trying to redirect the output of a command to the input of the next command. not sure if i'm going about this the right way. an easy method would be just to store the output of the previous command in a file and redirect input to read that file, but i'm curious to see if this can be done without writing to any files.

View 9 Replies View Related

Software :: How To Mix Colors Using GIMP

Dec 30, 2010

mix colors using GIMP would be? Say you have three colors, and you use the color picker tool. How can you mix them properly? For this specific question, I mean equal amounts of each.How can colors be mixed like you're mixing paints, with the ability to choose how many parts of each color, etc. without purchasing software

View 6 Replies View Related

Slackware :: No Colors In Ls Output

Apr 15, 2011

Using Slackware 13.1 and rxvt-unicode as terminal emulator. There is no colors in ls output under user but running ls as root gives color output.

I check that /etc/profile.d/coreutils-dircolors.sh has executable bit, and LS_OPTIONS environment variable is correct

Code:
bash-4.1$ echo $LS_OPTIONS
-F -b -T 0 --color=auto

Running ls with --color option gives me color output. As I can see /etc/profile.d/coreutils-dircolors.sh should set up aliases for ls, dir and vdir commands but why this aliases don't work under user?

View 7 Replies View Related

General :: What Does This Cryptic Bash Command Mean - Why Command Crashes

Mar 20, 2011

Possible Duplicate: What does this cryptic bash command mean? Why this command crashes Linux? :(){ :|:& };:

View 4 Replies View Related

General :: Remote Command Execution Via SSH And Newgrp Command?

May 9, 2011

Up until now I've been using plink to remotely compile a project I'm working on. But recently the administrator from the remote server updated the distribution and messed up some configurations. My project has a lot of scripts written for tc shell (tcsh), and now the default shell is bash. There is no way to change this. Another problem is that now I need to run newgrp to change my default user group.

So... to work around this problem I've changed my .bashrc to run newgrp and then tcsh. If I do a normal connection using SSH, everything works as expected, but when using plink, or SSH to remotely execute commands, the shell gets stuck on the newgrp command. I think it's because both applications need a return value from newgrp to send the command I need to execute. Remotely running scripts that call a shell also get stuck like newgrp (newgrp also opens a new shell and that's why it gets stuck) my .bashrc is as follows:

Code:

user_grp=`id -g`
if [ $user_grp != 4919 ]; then
newgrp new_group_id
else

[code]....

View 4 Replies View Related

General :: Use This Command It Will Ask The User To Enter Year In Command?

Apr 4, 2011

i want in the website they ask to enter some input.Code:echo -e "<p>Please Enter Year : c</p> "read Yearif i use this command it will ask the user to enter year in command. but what i want is they ask the user to enter year in web browser.

View 14 Replies View Related

General :: Disable The Su Command On A Server So That Users Cant Run The Su Command?

Apr 29, 2010

i want to disable the su command on a server so that users cant run the su command i removed the comment from the 3 and 5 line in /etc/pam.d/su file but it doesnt seem to work the file is shown below

#%PAM-1.0
auth sufficient pam_rootok.so
# Uncomment the following line to implicitly trust users in the "wheel" group.

[code]....

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved