12-21-2012
sathya
i wanted to know how can i add a counter as first column to my above mentioned file.... previous error got rectified.....
---------- Post updated at 12:36 PM ---------- Previous update was at 12:33 PM ----------
thanks a ton satya....
it worked..
ur awesome...
it was basic and i was struggling... :P
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a website with a lot of php files. I need to to have the line (where "requiredfile.php"' should be a valid reference to the requiredfile.php in the top directory):
require "requiredfile.php" as first line in every php file. The requiredfile.php will be in the top dir and the line I... (2 Replies)
Discussion started by: ibidris2003
2 Replies
2. Solaris
Hi,
I am new to UNIX environment. Can anybody tell me how can I check whether my OS is 32bit or 64bit?
Regards,
Malay Mary (4 Replies)
Discussion started by: malaymaru
4 Replies
3. UNIX for Dummies Questions & Answers
hi, im trying to cut the file using cut command in unix . the problem is i want to input the chacter list from another file and then using the postioins specified in this file i want to cut another file.
for eg.
cut -c(here i want to use a list being read from a file) listdata(this is the file i... (2 Replies)
Discussion started by: vikramchots
2 Replies
4. Shell Programming and Scripting
Hi,
what is the difference between use and require keywords in Perl.
What is the significance of these lines (what it mean, what is the use of this)
#!/usr/bin/perl -w // In Perl script....
#!/bin/ksh //In shell script.....
Thanks
Sweta (2 Replies)
Discussion started by: sweta
2 Replies
5. Shell Programming and Scripting
Hi friends,
i am trying to print warning for partition size which exceed limit of 90%
& other are ok.
i m using below command which print partition which exceed 90%
# df -h | sort -k5 | head -1 | awk 'END{ print $1" :- Not Having more space on This Partition"}'
i want to print... (14 Replies)
Discussion started by: jagnikam
14 Replies
6. Solaris
Launching for the first time Solaris Management Console.
Management Tools - This Computer - System Status - System Information. A window with info appear:
In the right side:
Solaris Management Console Server: 127.0.0.1 User Name: Root (Already written. And under it Password: (need typing).... (1 Reply)
Discussion started by: Xcislav
1 Replies
7. UNIX and Linux Applications
Hi all,
I am retrieving mail from live mail server to local mail server. I want to know that, how can i exclude some peoples from getmail domain retrival.
verbose = 1
read_all = true
delete_after = 30
message_log = ~/.getmail/log
type = MultidropIMAPRetriever
server = mail.abc.com... (0 Replies)
Discussion started by: jagnikam
0 Replies
8. Shell Programming and Scripting
Hi Folks,
Currently am working with 10g db. I want to sort the below o/p.
Current output:
============
SQL> select partition_name from user_tab_partitions where table_name='USER_AUDIT';
PARTITION_NAME
------------------------------
PARTMAX
PART_AUDIT_NOV02
PART_AUDIT_NOV08... (4 Replies)
Discussion started by: sathik
4 Replies
9. Shell Programming and Scripting
sed 's/abcd/$variable/g' abcd_calls > $variable_calls
This is the statement i am trying which has 2 errors in it.
1st- sed 's/abcd/$variable/g' is changing abcd to $variable in the file abcd_calls ,I want it to convert abcd into the string value given by user through read command, taking... (1 Reply)
Discussion started by: learnbash
1 Replies
10. IP Networking
I HAVE TO DESIGN TWO NODE SAMBA HA SERVER, TO DO THIS I NEED YOUR HELP, HOW CAN CONFIGURE SUCH SCENARIO?
REGARDS
PRAMOD INGOLE (4 Replies)
Discussion started by: pramod_ingole
4 Replies
LEARN ABOUT DEBIAN
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)