12-14-2013
Didn't use the "-i" switch with grep, nor the ":set ic" in vi but there are a bunch of non-printable characters in the file and maybe vi and cat/grep interpret them differently.
Thanks for the reply.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can someone tell me how do I find the list of comptabile codepages on Linux(suse) , Is it /usr/lib/locale or somewhere else ?
I was wandering if someone has expereince in using cycrillic chars (russian) in unix / linux ?
Thanks (2 Replies)
Discussion started by: braindrain
2 Replies
2. UNIX for Dummies Questions & Answers
What is the main difference between grep and sed (1 Reply)
Discussion started by: ss4u
1 Replies
3. UNIX for Dummies Questions & Answers
I am writing a script which will read in search terms from a text file and pass each line to Lynx. Lynx will grab the source html, then I want grep/tr, whatever to search for the first occurance of a term (mydomain.name), then delete from that 1st occurance on, creating a new end of file.
Then... (0 Replies)
Discussion started by: roninuta
0 Replies
4. UNIX Desktop Questions & Answers
Hi All,
Can anyone please explain me the difference between grep, egrep and fgrep with examples.
I am new to unix environment.. Your help is highly appreciated.
Regards,
ravi (2 Replies)
Discussion started by: ravind27
2 Replies
5. Shell Programming and Scripting
I want to download a particular page from the internet and get the source code of the page in html format.
I want to parse the source code to find a specific parameters using grep command.
could someone tell me the linux command to download a specific page and parse the source code of it.
... (1 Reply)
Discussion started by: ahamed
1 Replies
6. Shell Programming and Scripting
Hi
What is the difference between grep '.*' xx and grep .* xx?
What grep .* xx command will do where xx is file name.
Thanks
Sas (4 Replies)
Discussion started by: SasDutta
4 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Please i need to know the difference between grep, egrep & grep -i when used to serach through a file.
My platform is SunOS 5.9 & i'm using the korn shell.
Regards,
- divroro12 - (2 Replies)
Discussion started by: divroro12
2 Replies
8. Shell Programming and Scripting
Hi,
I need to know the difference between this commands:
grep * *search*
grep "*" *search*
As far as i know does the 2nd command search for files which have a name with *search* and greps then all which have chars from a-z in the file content.
But was does the first command??
Best... (1 Reply)
Discussion started by: xus
1 Replies
9. AIX
Helo all,
I' trying to print Portuguese special characters like ç, ã, º, º .
I already set my print queue for CODE PAGE of printer ibm.860 but every time i send a print test i receive the following error:
0782-059 Attribute name passed to subroutine piocmdout
by program... (2 Replies)
Discussion started by: marques_rmc
2 Replies
10. Linux
Hi all...
Reference this URL:
https://www.unix.com/unix-for-beginners-questions-and-answers/282400-lower-ascii-characters.html#post303037272
Researching in google for an answer showed the numerous times this has been asked for in various guises.
So it inspired me to create a pseudo-IBM... (2 Replies)
Discussion started by: wisecracker
2 Replies
LEARN ABOUT REDHAT
smbstatus
SMBSTATUS(1) SMBSTATUS(1)
NAME
smbstatus - report on current Samba connections
SYNOPSIS
smbstatus [ -P ] [ -b ] [ -d ] [ -L ] [ -p ] [ -S ] [ -s <configuration file> ] [ -u <username> ]
DESCRIPTION
This tool is part of the Samba suite.
smbstatus is a very simple program to list the current Samba connections.
OPTIONS
-P If samba has been compiled with the profiling option, print only the contents of the profiling shared memory area.
-b gives brief output.
-d gives verbose output.
-L causes smbstatus to only list locks.
-p print a list of smbd(8) processes and exit. Useful for scripting.
-S causes smbstatus to only list shares.
-s <configuration file>
The default configuration file name is determined at compile time. The file specified contains the configuration details required by
the server. See smb.conf(5)
for more information.
-u <username>
selects information relevant to username only.
VERSION
This man page is correct for version 2.2 of the Samba suite.
SEE ALSO
smbd(8) and smb.conf(5)
AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of
Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0
release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter
19 November 2002 SMBSTATUS(1)