12-21-2001
Changing color with other commands?
Is it possible to change the color output on other commands like.
banner "^[[31m^[[44m Hello ^[[0m"
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Please can someone help me how I can read a CSV file with 10 columns and remove the 2nd, 4th, 6th, 8th column and build the new output file. Script to be done in Korn shell.
File contains data like bnt, lb2, lb3, vnw, lb4, lb5, bst, lb6, lb7, vgw (multiple rows)
Output file should... (2 Replies)
Discussion started by: riteshm
2 Replies
2. UNIX for Dummies Questions & Answers
I have only slight difference between remarks (gray) and code (black)
using c and c++ how cani change remark to other color ?
The option preferences/language mode/c++ doesn't help (0 Replies)
Discussion started by: eynkesef
0 Replies
3. Shell Programming and Scripting
I am writing a script to keep check on free disk space, and I would like to find a way to parse $LINE (see code below) into a numeric value (for free disk space percentage) and a string value (for mount point). If possible, I would like to avoid sed or any additional use of awk since I am not very... (7 Replies)
Discussion started by: shew01
7 Replies
4. Solaris
OK so I've been trying to figure this out on and off for about two years on Solaris 8, and now I'm trying to do it in Solaris 10 (which seem to have identical resource structures for Dtwm.)
I've created my own sleek, single row front panel with small custom icons, and smaller font so that it's... (1 Reply)
Discussion started by: insamniac
1 Replies
5. OS X (Apple)
For a long time, when I type man anything on my Mac, both the manpage header fonts and the background was black, so I had to use my mouse to highlight the manpage output to read it. It was really annoying.
The problem was the same both locally or using the terminal and going ssh somewhere.
... (1 Reply)
Discussion started by: Neo
1 Replies
6. Shell Programming and Scripting
HELLO
I am new in shell bash script>
I have two text files.They contain same datas.
I want to change some text in two files.If I changed in one file.Then I want to change another same file without using vieditor.Iwant to change another file by using shell script
for example
file1
hello
good... (7 Replies)
Discussion started by: vidhun.v
7 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (0 Replies)
Discussion started by: pink01
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (1 Reply)
Discussion started by: pink01
1 Replies
9. Shell Programming and Scripting
Hi this is my first post, so forgive me if what I'm requesting doesn't make sense.
I'm connecting into a Unix server via SSH and using a Korn Shell (#!/bin/ksh). The Unix server has Oracle 11g installed on it and there are a number of scripts already setup to query the Oracle database to perform... (2 Replies)
Discussion started by: KeithJ
2 Replies
10. Shell Programming and Scripting
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
Discussion started by: spradha
4 Replies
LEARN ABOUT DEBIAN
initctl2dot
initctl2dot(8) System Manager's Manual initctl2dot(8)
NAME
initctl2dot - manual page for initctl2dot
SYNOPSIS
initctl2dot [OPTIONS]
DESCRIPTION
Convert initctl(8) output to GraphViz dot(1) format.
With no options, initctl(8) will be invoked automatically and the output written to file upstart.dot.
OPTIONS
-h Display usage statement.
-f INFILE , --infile=INFILE
File to read initctl(8) output from ("initctl show-config -e"). If not specified, initctl(8) will be run automatically.
-w OUTFILE , --outfile=OUTFILE
File to write output to.
-r RESTRICTIONS , --restrict-to-jobs=RESTRICTIONS
Limit display of start on and stop on conditions to comma-separated list of jobs.
--color-emits=COLOR_EMITS
Specify color for 'emits' lines.
--color-start-on=COLOR_START_ON
Specify color for 'start on' lines.
--color-stop-on=COLOR_STOP_ON
Specify color for 'stop on' lines.
--color-event=COLOR_EVENT
Specify color for event boxes.
--color-text=COLOR_TEXT
Specify color for summary text.
--color-bg=COLOR_BG
Specify background color for diagram.
--color-event-text=COLOR_EVENT_TEXT
Specify color for text in event boxes.
--color-job-text=COLOR_JOB_TEXT
Specify color for text in job boxes.
--color-job=COLOR_JOB
Specify color for job boxes.
AUTHOR
Written by James Hunt <james.hunt@ubuntu.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2011 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
init(8) initctl(8)
Upstart 2011-03-07 initctl2dot(8)