Saturday, January 17, 2009
Relative vs. Absolute Pathnames
Posted on 9:22 PM by Unknown
Commands can be given file name arguments in two ways. If you are in the same directory as the file (i.e., the file is in the current directory), then you can just enter the file name on its own (e.g., cp my_file new_file). Otherwise, you can enter the full path name, like cp /home/jack/my_file /home/jack/new_file.Very often administrators use the notation ./my_file to be clear about the
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment