12-18-2013
sorry it is GNU/Linux, 2.6.32.59-0.7-default
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi can some body please help me...i'm been sitting here trying to figure how to do this..but still don't understand. Like each type of *.src (if any) in the given directory will be displayed on the screen one page at a time....
can someone explain how to do this..plz (1 Reply)
Discussion started by: zip_zip
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a .txt file
Sample:
=====================
NEXT HOST
=====================
AEADBAS001
ip access-list extended BLA_Incoming_Filter
ip access-list extended BLA_Outgoing_Filter
access-list 1 permit xxxxxxxxxxxxxx
access-list 2 permit xxxxxxxxxxxxxx
=====================... (4 Replies)
Discussion started by: I-1
4 Replies
3. Shell Programming and Scripting
hiii,
i have to write a shell script like this----
i have a huge log file name abc.log .i have to search for a pattern name "pattern",it may occur 1000 times in the log file,every time it finds the pattern it should display the 10 lines above the pattern.
I appericiate your help. (30 Replies)
Discussion started by: namishtiwari
30 Replies
4. UNIX for Dummies Questions & Answers
Hi guys,
I have a script that call another, the other displays de message and I can print directly to the flat file, but in one command I am searchig that this message can be displayed in the screen and in the flat file in one command.
I am doing something like this:
var=$(./Example.sh)... (2 Replies)
Discussion started by: pipoca
2 Replies
5. UNIX for Dummies Questions & Answers
cat is the normal unix command to display the content of a file.
Is there any program to display the content of the file.
If there is, then can you send me the code. (5 Replies)
Discussion started by: vedanjalig
5 Replies
6. Shell Programming and Scripting
Hi All,
Need a small help. I have a log file which keeps updating for every Minute with multiple number of lines. I just want to grep few properties which has latest Date and Time to it. How do i do it?
I wanted to grep a property by name "Reloading cache with a maximum of" from the... (4 Replies)
Discussion started by: nvindraneel
4 Replies
7. Shell Programming and Scripting
Hell,
I want to grep certain word from file and display above 2 lines and after two lines.
Here is the content of sample file.
Mar 14, 2013 12:56:59 AM Agent.Agent SendTo
INFO: Connection to server:7041 - Credential Transmit Successesful
Mar 14, 2013 8:54:21 AM cgent SendTo
WARNING:... (7 Replies)
Discussion started by: balareddy
7 Replies
8. Shell Programming and Scripting
Am using the following grep to match a particular patter in grep.
grep xyz abc.txt
now while i run this command, if the pattern matched, am getting the line containing xyz
Output: xyz is doing some work
Now if i want the file name also along with my output, what should i do
Expected... (2 Replies)
Discussion started by: rituparna_gupta
2 Replies
9. Shell Programming and Scripting
Hi Gurus,
I have some weird issue. when using
ls -l
the result shows different time format:
-rw-r--r-- 1 abc gourp1 3032605576 Jun 14 2013 abc
-rw-rw-r-- 1 abc gourp1 1689948832 Aug 10 06:22 abc
one display 2013 which is year; another one displays 06:22 which is time.
... (4 Replies)
Discussion started by: ken6503
4 Replies
10. Shell Programming and Scripting
Hi All,
I have a requirement where I need to monitor the files in a directory for 15 secs and if the size of the files are not changing within that time I would like to merge all the data in those files and move it to another directory with a time stamp
For eg dir1 I have 10 files and... (2 Replies)
Discussion started by: Tomlight
2 Replies
LEARN ABOUT DEBIAN
makeweights
MAKEWEIGHTS(6) Games Manual MAKEWEIGHTS(6)
NAME
makeweights - generate a GNU Backgammon binary weights file
SYNOPSIS
makeweights [[-f] output [input]]
DESCRIPTION
makeweights generates GNU Backgammon binary weights file from a text input file. By default, it reads input from standard input and writes
output to standard output, but input and output files may be specified on the command line. It is only of interest if you want to regener-
ate the gnubg.wd database from a modified gnubg.weights file.
OPTIONS
-f This option may be given for compatibility with the options of other GNU Backgammon programs but is ignored.
EXAMPLES
To generate gnubg.wd from gnubg.weights:
makeweights gnubg.wd gnubg.weights
SEE ALSO
gnubg(6)
AUTHORS
Joseph Heled, Oystein Johansen, Jorn Thyssen, and Gary Wong, with the assistance of many others <bug-gnubg@gnu.org>.
This manual page was written by Russ Allbery <rra@debian.org>, for the Debian GNU/Linux system (but may be used by others). It may be
redistributed and/or modified under the terms of version 3 or later of the GNU General Public License as published by the Free Software
Foundation (the same license as GNU Backgammon).
2008-02-16 MAKEWEIGHTS(6)