PATHCHK(1) General Commands Manual PATHCHK(1)NAME
pathchk - check pathname
SYNOPSIS
pathchk [-p] path ...
OPTIONS -p Check against POSIX rules
EXAMPLES
pathchk /usr/src/file.c
# Check the accessibility of file.c
pathchk -p file # Check posix compliance of file
DESCRIPTION
Pathchk verifies path names and display error if paths are too long, contain names that are too long, go thru a non-searchable directory or
contain an invalid character in names. If the -p flag is specified, the POSIX rules apply instead of the rules of the current file system.
PATHCHK(1)
Check Out this Related Man Page
PATHCHK(1) User Commands PATHCHK(1)NAME
pathchk - check whether file names are valid or portable
SYNOPSIS
pathchk [OPTION]... NAME...
DESCRIPTION
Diagnose invalid or unportable file names.
-p check for most POSIX systems
-P check for empty names and leading "-"
--portability
check for all POSIX systems (equivalent to -p -P)
--help display this help and exit
--version
output version information and exit
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report pathchk translation bugs to <http://translationpro-
ject.org/team/>
AUTHOR
Written by Paul Eggert, David MacKenzie, and Jim Meyering.
COPYRIGHT
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for pathchk is maintained as a Texinfo manual. If the info and pathchk programs are properly installed at your
site, the command
info coreutils 'pathchk invocation'
should give you access to the complete manual.
GNU coreutils 8.22 June 2014 PATHCHK(1)
At the login prompt of a unix system I get no shell. The backup job ran without a new tape for three days, and when the user tries to logon the message "no shell" appears.
Is the system in the wrong directory for login? (19 Replies)
following situation...
- bourne shell script
- sb. should entry a path and the script should look if the path exists, when not it should restart the Input
...
echo "path\c"
read Inp
if ; then
echo " path doesn't exist, try again... "
(how to go back to the Inp?????)
else
echo "... (3 Replies)
Hi,
I want to set a cron job with the yesterday date in a unix server (solaris).
I tried TZ=CST+24 date +%Y%m%d but i had TZ=CST+24: not found
I tried `perl -mPOSIX -e 'print POSIX::strftime("%Y%m%d",localtime(time() - 86400)) '` it works but I'm not sure that all the clients have perl... (12 Replies)