---
name: "fstat"
section: "1"
platform: "linux"
package: "fsp"
version: "2.81.b24-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux", "freebsd", "openbsd"]
url: "https://new.carta.tech/fstatcmd"
---

# fstat(1)

Part of [fstatcmd(1)](/fstatcmd/1.md).

## NAME

fstatcmd, fstat displays information on remote files and directories

## SYNOPSIS

**fstatcmd** *filename ...*

**fstat** *filename ...*

## DESCRIPTION

**fstatcmd** will display the type (file or directory), name, size in bytes and creation time of the given remote file. The time and date of creation will be displayed in ISO format.

Since user's command shells generally cannot do the proper globbing for this program, it is recommended that user defines a shell alias or function to turn off command shell globbing before running this program.

**csh** example:

```
alias fstat \(set noglob\; exec fstatcmd \!\*\)
```

**bash** example:

```
_fstat()   { fstatcmd "$@" ;set +f;}
alias fstat='set -f;_fstat'
```

## ENVIRONMEN

See [fsp\_env(7)](/fsp_env/7.md) for list of used environment variables.

## SEE ALSO

[fcatcmd(1)](/fcatcmd/1.md), [fcdcmd(1)](/fcdcmd/1.md), [fgetcmd(1)](/fgetcmd/1.md), [fgrabcmd(1)](/fgrabcmd/1.md), [flscmd(1)](/flscmd/1.md), [fmkdir(1)](/fmkdir/1.md), [fprocmd(1)](/fprocmd/1.md), [fput(1)](/fput/1.md), [frmcmd(1)](/frmcmd/1.md), [frmdircmd(1)](/frmdircmd/1.md), [fver(1)](/fver/1.md), [fducmd(1)](/fducmd/1.md), [fhostcmd(1)](/fhostcmd/1.md), [fspd(1)](/fspd/1.md), [fsp\_prof(5)](/fsp_prof/5.md), [ffindcmd(1)](/ffindcmd/1.md), [fsp\_env(7)](/fsp_env/7.md)
