10 More Discussions You Might Find Interesting
1. AIX
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-022 Cannot load module /opt/freeware/lib/libintl.a(libintl.so.1).
0509-150 Dependent module /opt/freeware/lib/libiconv.a(shr4.o) could not be loaded.
0509-152 Member... (4 Replies)
Discussion started by: Ohmkar
4 Replies
2. Shell Programming and Scripting
Hello,
I am running below command as root user
#nodetool cfstats tests | grep "Memtable switch count"
Memtable switch count: 12
Where as when I try to run same command as another user it gives different result.
#su -l zabbix -s /bin/bash -c "nodetool cfstats tests | grep "Memtable switch... (10 Replies)
Discussion started by: Pushpraj
10 Replies
3. UNIX for Dummies Questions & Answers
I don't know if you guys get this problem sometimes at Terminal but I had been having this problem since yesterday :( Maybe I overdid the Terminal. Even the codes that used to work doesn't work anymore.
Here is what 's happening:
* I wanted to remove lines containing digits so I used this... (25 Replies)
Discussion started by: Nexeu
25 Replies
4. Shell Programming and Scripting
I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank).
In a first approach I coded:
find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt
But this doesn't work. I got an error (under Ubuntu):
grep:... (5 Replies)
Discussion started by: pstein
5 Replies
5. UNIX for Advanced & Expert Users
Hi Experts
I need the following output from grep command of Sunsolaris on a set of input files.
Output:........
1st search string from file1
2nd search string from file1
3rd search string from file1
1st search string from file2
2nd search string from file2
3rd search string from... (3 Replies)
Discussion started by: ks_reddy
3 Replies
6. Shell Programming and Scripting
i want to search in the current directory all the files that contain one word for example "hello"
i want to achieve it with the grep command but not with the grep * (2 Replies)
Discussion started by: aintour
2 Replies
7. Shell Programming and Scripting
hi,
i need to get a count of the lines that contain 2 given patterns.
eg: Line1 is
<PATTERN1>blahblahblah</PATTERN1>then more text <PATTERN2>blahblahblah</PATTERN2>
Line 2 is
<PATTERN1>blahblahblah</PATTERN1>then some more text<INVALIDPATTERN>whatever</INVALIDPATTERN>
I want to get a count of... (1 Reply)
Discussion started by: King Nothing
1 Replies
8. Solaris
Hi all,
I get this this error message
grep: illegal option -- q
Usage: grep -hblcnsvim pattern file
when I execute this command
rsh <host ip> " ps -ef | grep '26' "
&
ur cooperation is appreciated (0 Replies)
Discussion started by: AshAdmin
0 Replies
9. UNIX for Advanced & Expert Users
I am doing "ps -f" to see my process.
but I get lines that one of it represents the ps command itself.
I want to grep it out using -v flag, but than I get another process that belongs to the GREP itself :
I would like to exclude
# ps -f
UID PID PPID C STIME TTY TIME CMD... (2 Replies)
Discussion started by: yamsin789
2 Replies
10. Shell Programming and Scripting
I have a large file that I am grepping to find a certain string.
grep 'C:\Data\Directory\Test.txt' test.txt
It can not find it even though I know it is in there . I know that there is a problem with the backslashes but I can't get it to work. I tried
grep... (2 Replies)
Discussion started by: lesstjm
2 Replies
UPDATE-METAINIT(1) User Contributed Perl Documentation UPDATE-METAINIT(1)
NAME
update-metainit - Generates init scripts
SYNOPSIS
update-metainit [--remove initname [--purge] ]
DESCRIPTION
Metainit solves the problem of writing good init scripts. Instead of manually creating these important files, they are derived from a
declaritive description in the metainit files in /etc/metainit. These files can be shipped with packages or created by the local adminis-
trator.
If update-metainit called without argument, it will regenerate init scripts for all the files in /etc/metainit. The generated files contain
a large warning in form of a comment that they will be overridden. Modifications are preferably done in the files in /etc/metainit and made
effective by running update-metainit. If needed, the administrator can prevent modified init files by removing the warning comment.
OPTIONS
--remove initname
This command will remove any generated and non-modified scripts that were created by the metainit file with the name initname.
--purge
Only usable with --remove. Will remove the generated files even if modified.
SEE ALSO
dh_metainit(1)
AUTHOR
Joachim Breitner <nomeata@debian.org>
perl v5.8.8 2007-07-30 UPDATE-METAINIT(1)