<p>I need in a bash script to get details about a file when I know the inode.The system is Linux.</p>

You can use
```
find
```
with a combination of
```
-inum
```
and
```
-xdev
```
. This gives you the file's names (it can have more than one name), and from them you can find whatever information you want.