Zanette Arrigo <[EMAIL PROTECTED]> [2002-11-25 16:14:15 +0100]: > There is a way to get the file mode (octal or text)?
Sounds like you are looking for: ls -ld file | awk '{print$1}' Putting it into a variable. filemode=$(ls -ld file | awk '{print$1}') Bob _______________________________________________ Bug-fileutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-fileutils