Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Hi guys, i'm new to UNIX and only know a small amout about it, but have just had some changes at work which now require me to interact with and work on SUN Unix systems often. I have reasonable knowledge of PC's but hope that you will be able to help me with these questions.
Part1.
I would like... (3 Replies)
How to list out the files which are not accessed for the last n days?
and
How to list out all the executable files in a directory?
can anyone help me on the above?
Thanks in advance. (3 Replies)
I have two files in UNIX.
1st file is Entity and Second File is References. 1st File has only one column named Entity ID and 2nd file has two columns Entity ID | Person ID.
I want to produce a output file where entity id's are matching in both the files.
Entity File
624197
624252
624264... (4 Replies)
Hi Unix Gurus,
I need to list all files in a Unix Directory which either end with a
.pdf or .rtf and they should be case insensitive ie .Pdf , .pDF , .RtF etc are also possible.
How can i accomplish this with with a ls command ? If not then a find command. (6 Replies)
Dear All,
I have 2 files. If field 1, 2, 4 and 5 matches in both file1 and file2, I want to print the whole line of file1 and file2 one after another in my output file.
File1:
sc2/80 20 . A T 86 F=5;U=4
sc2/60 55 . G T ... (1 Reply)
Is there a simple way to find the longest common prefix of a space-separated list of strings, optionally by field?
For example, given input:
"aaa_b_cc aaa_b_cc_ddd aaa_b_cc aaa_b_cd"with no field separator, output:
aaa_b_cwith _ field separator, output:
aaa_bI have an awk solution which... (1 Reply)
Hi,
I want to list all files present in directory those contains one specific word but exclude other.
If possible suggest unix commands instead of script to do so.
e.g.
List all files name from directory which are having "PROMOTION" word but not "LEN_PROMOTION".
Thanks (4 Replies)
Hi there,
I am looping through folders in order to rename the files in the current folder.
So, given me being a newbie here, I would do that with a for-loop. The renaming per se should be like this:
I want to add the folder-name as a prefix to the files in the folder in question. For instance,... (6 Replies)
Dear All,
assume i have a file with content:
<Start>6000</Start>
<Stop>7599</Stop>
the output is:
6000
7000
7100
7200
7300
7400
7599
how should we use any awk, sed, perl can do this task, means to extract the uniq prefixes from the start and stop prefix.
Thanks
Jimmy (3 Replies)
Discussion started by: jimmy_y
3 Replies
LEARN ABOUT REDHAT
make_unicodemap
MAKE_UNICODEMAP(1)MAKE_UNICODEMAP(1)NAME
make_unicodemap - construct a unicode map file for Samba
SYNOPSIS
make_unicodemap codepage inputfile outputfile
DESCRIPTION
This tool is part of the Samba suite.
make_unicodemap compiles text unicode map files into binary unicode map files for use with the internationalization features of Samba 2.2.
OPTIONS
codepage
This is the codepage or UNIX character set we are processing (a number, e.g. 850).
inputfile
This is the input file to process. This is a text unicode map file such as the ones found in the Samba source/codepages directory.
outputfile
This is the binary output file to produce.
SAMBA UNICODE MAP FILES
A text Samba unicode map file is a description that tells Samba how to map characters from a specified DOS code page or UNIX character set
to 16 bit unicode.
A binary Samba unicode map file is a binary representation of the same information, including a value that specifies what codepage or UNIX
character set this file is describing.
FILES
CP<codepage>.TXT
These are the input (text) unicode map files provided in the Samba source/codepages directory.
A text unicode map file consists of multiple lines containing two fields. These fields are :
o character - which is the (hex) character mapped on this line.
o unicode - which is the (hex) 16 bit unicode character that the character will map to.
unicode_map.<codepage> - These are the output (binary) unicode map files produced and placed in the Samba destination lib/codepage direc-
tory.
INSTALLATION
The location of the server and its support files is a matter for individual system administrators. The following are thus suggestions only.
It is recommended that the make_unicodemap program be installed under the $prefix/samba hierarchy, in a directory readable by all, write-
able only by root. The program itself should be executable by all. The program should NOT be setuid or setgid!
VERSION
This man page is correct for version 2.2 of the Samba suite.
SEE ALSO smbd(8)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 MAKE_UNICODEMAP(1)