arrayBufferToString : function (arrayBuffer) {
var binary_string = '';
bytes = new Uint8Array(arrayBuffer);
for (var i = 0; i < bytes.byteLength; i++) {
binary_string += String.fromCharCode(bytes[i]);
}
return binary_string;
},
find /usr -name " *.c " -print
Pour connaître les derniers fichiers modifiés dans les 3 derniers jours dans toute l'arborescence (/), vous devez taper :find / -mtime 3 -printVous pouvez chercher dans toute l'arborescence, les fichiers ordinaires appartenant à olivier, dont la permission est fixée à 755, on obtient :find / -type f -user olivier -perm 755 -printRecherche des fichiers qui obéissent à la fois à la condition a pour nom core et à la condition a une taille supérieure à 1Mo.find . \ (-name core -a size +2000 \ ) -printExemple recherche des fichiers ayant pour nom core, suivi de l'effacement de ces fichiers.find . -name core -exec rm '{}' \;En tapant cette commande vous allez rechercher dans le répertoire courant tous les fichiers normaux (sans les répertoires, fichiers spéciaux), et rechercher dans ces fichiers tous ceux contenant la chaîne toto.
find . -type f -print | xargs grep toto
find / -type f ! -path '/proc/*' ! -path '/sys/*' -print | xargs grep totohttp://www.funix.org/fr/unix/grep-find.htm
#/etc/samba/smb.conf
[public]
comment = Public Shares
browsable = yes
path = /data/pub
public = yes
writable = no
write list = user_who_can_write
guest ok = yes
[global]
#...
guest account = nobody
m
ap to guest = Bad Password
---
AND
This will create the user with no password :
# smbpasswd -an nobody