![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to put file from one ftp to another ftp location | prasee | Shell Programming and Scripting | 1 | 03-28-2008 01:34 AM |
| Untar a TAR file at different location | malaymaru | UNIX for Dummies Questions & Answers | 5 | 09-18-2006 05:59 PM |
| Location of file on disk | cysang | High Level Programming | 3 | 08-02-2006 05:11 AM |
| UNIX Start-up file location | daveo61 | UNIX for Dummies Questions & Answers | 3 | 07-22-2002 05:35 AM |
| Location of defaultrouter file in Red Hat | 98_1LE | UNIX for Dummies Questions & Answers | 4 | 12-11-2001 02:23 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
|||
|
the 'stat' command gives you a lot of information of a file also its location but a bit crypted.
stat /tmp/xx.msg File: `/tmp/xx.msg' Size: 4401 Blocks: 16 IO Block: 4096 regular file Device: 805h/2053d Inode: 30 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ walter) Gid: ( 100/ users) Access: 2006-06-16 13:51:05.000000000 +0200 Modify: 2005-11-11 18:58:51.000000000 +0100 Change: 2005-11-11 18:58:51.000000000 +0100 |
|
|||
|
Quote:
which bash #Will tell you the path of bash. Try it on ls, find, etc. Otherwise, use find to locate the file. Then, you can use /etc/mtab or /etc/fstab to determine the filesystem in use on that partition. If that doesn't answer your question, please state what you're looking for in a little more detail. Shawn |