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
GETCONF(1) Debian GNU/Linux GETCONF(1)
NAME
getconf - Query system configuration variables
SYNOPSIS
getconf -a
getconf [-v specification] system_var
getconf [-v specification] path_var pathname
DESCRIPTION
-a
Displays all configuration variables for the current system
and their values.
-v
Indicate the specification and version for which to obtain
configuration variables.
system_var
A system configuration variable, as defined by sysconf(3) or
confstr(3).
path_var
A system configuration variable as defined by pathconf(3). This
must be used with a pathname.
AUTHOR
getconf was written by Roland McGrath for the GNU C Library
This man page was written by Ben Collins <bcollins@debian.org> for the Debian GNU/Linux system.
SEE ALSO
sysconf(3), pathconf(3), confstr(3)
3rd Berkeley Distribution squeeze GETCONF(1)