Sponsored Content
Top Forums Shell Programming and Scripting How to list files names and sizes in a directory and output result to the file? Post 302975134 by vbe on Wednesday 8th of June 2016 01:53:27 PM
Old 06-08-2016
As RudiC mentionned, what you showed in your last post shows you did not take into account Jim's suggestion...
Why?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script for file names/sizes

How can I look at a certain directory and list all the file names, locations and sizes of each file in the current directory and all subdirectories? (2 Replies)
Discussion started by: ssmiths001
2 Replies

2. AIX

find for specific content in file in the directory and list only file names

Hi, I am trying to find the content of file using grep and find command and list only the file names but i am getting entire file list of files in the directory find . -exec grep "test" {} \; -ls Can anyone of you correct this (2 Replies)
Discussion started by: madhu_Jagarapu
2 Replies

3. Shell Programming and Scripting

how can i copy a list of files with different names into others directory have the same name

dear all. how can i copy a list of files with different names into others directory have the same name like i have 3 files 10_10 10_10_11 10_10_11_12 and i have 3 directories 10_10 10_10_11 10_10_11_12 how can i make a loop to cp this files into the directory have the same name like... (0 Replies)
Discussion started by: t17
0 Replies

4. UNIX for Dummies Questions & Answers

How can i copy a list of files with different names into others directory have the same name?

dear all. how can i copy a list of files with different names into others directory have the same name like i have 3 files 10_10 10_10_11 10_10_11_12 and i have 3 directories 10_10 10_10_11 10_10_11_12 how can i make a loop to cp this files into the directory have the same name like... (31 Replies)
Discussion started by: t17
31 Replies

5. Shell Programming and Scripting

Copying List of Files Under Different File Names ?!

Hi to all here , Excuse me for the lamer question but I need UNIX command for copying List of Files Under Different File Names ! for example I have this list: new_001.jpg new_002.jpg new_003.jpg ..... I want to copy all files that start with "new_" to the same directory but under... (7 Replies)
Discussion started by: boboweb_
7 Replies

6. Shell Programming and Scripting

Grepping file names, comparing them to a directory of files, and moving them into a new directory

got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies

7. UNIX for Advanced & Expert Users

Extracts files names and write those to another file in different directory

Hi , Need to shell script to extracts files names and write those to another file in different directory. input file is inputfile.txt abc|1|bcd.dat 123 david123 123 rudy2345 124 tinku5634 abc|1|def.dat 123 jevid123 123 qwer2345 124 ghjlk5634 abc|1|pqr.txt 123 vbjnnjh435 123 jggdy876... (9 Replies)
Discussion started by: dssyadav
9 Replies

8. Shell Programming and Scripting

Script to list the file names in a directory

Hi all, I need a shell script to write into a .txt file the no of files in a directory with extension and separated by comma in between. For eg, a directory contains files like a.csv b.csv c.csv d.csv Then the output in the output.txt file should be like a.csv,b.csv,c.csv,d.csv ... (3 Replies)
Discussion started by: dubuku_01
3 Replies

9. UNIX for Dummies Questions & Answers

List Directory names which have the file

Hi All, Can any one help me to list out the directory names which contain the specified file. See for example File name : file.201307014.LKT Have the directory structure as below. /app/work/data/INDIA/file.201307014.LKT /app/work/data/AMERICA/file.201307014.KTP... (5 Replies)
Discussion started by: Balasankar
5 Replies

10. Shell Programming and Scripting

Remove all files with specific file names in directory

If I have 5 files in a directory, what is the best way to remove specific files in it? For example, snps.ivg probes.ivg Desired output probes.ivg probes.txt all.txt Basically, removing those files with "snp" in the filename regardless of extension. Thank you :). (2 Replies)
Discussion started by: cmccabe
2 Replies
w2kusers.deny(4)					     Kernel Interfaces Manual						  w2kusers.deny(4)

NAME
w2kusers.deny - Authentication file for Windows 2000 Single Sign On. SYNOPSIS
# Comment account_name DESCRIPTION
The w2kusers.deny is a text file containing a list of user account names. When an account is included in this file, the Windows 2000 Sin- gle Sign-On software verifies only the UNIX authentication for the named account. To add user accounts to the file, use a text editor to enter the user's UNIX account name. The following syntax rules apply to the w2kusers.deny file: Only one user name can be entered on a line. The user name must exactly match a user name in the UNIX /etc/passwd file. Comment lines begin with a pound sign (#). EXAMPLES
The following example shows a typical w2kusers.deny file: # The following file lists account names that are not allowed to use # the Win- dows 2000 authentication information when it is enabled. # Account names must match exactly the user account name in the # /etc/passwd file. # # Syntax: account_1 # . # . # . # account_n # root nobody nobodyV daemon bin uucp uucpa auth cron lp tcb adm ris wnn pop imap Peter Dave Beth Martha FILES
Location of the file. RELATED INFORMATION
Commands: ldapcd(8), lw2ksetup(8) Files: etc/w2kusers.deny(4) Windows 2000 Single Sign-OnInstallation and Administration Guide. delim off delim off w2kusers.deny(4)
All times are GMT -4. The time now is 04:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy