Files And Searches


Table of Contents

Chinese 
cmd:ls show Chinese 
search Chinese 
will 0-length file take up inodes 
File commands 
cmd:type 
cmd:which 
cmd:file 
cmd:stat 
Find files excluding a string 
csh parameters 
var for 2nd csh 
cmd:chmod 
Type conditional chmod 
Type conditional chmod 
cmd:chmod, sticky bit 
chmod —> r-sr-sr-x 
Rename file 
Renaming parts other than extension 
cmd:mkdir 
du & df 
Delete the newist files 
mmv 
Source: 
File size: 
Comment 

Chinese 

cmd:ls show Chinese 

Show Chinese characters in file names:

ls --show-control-chars

documented on: 02-17-99 15:05:22

search Chinese 

Search Chinese with Perl, grep nok.

perl -ne "print if /[\200-\377]/"

Remove all Chinese lines:

perl -ne "next if /[\200-\377]/; print"