The file is read and parsed as a list of files (one per line), the content is displayed as error messages.
gcc @/path/to/input-file
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- file-read
The file is read and parsed as a list of files (one per line), the content is displayed as error messages.
gcc @/path/to/input-file
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- unprivileged
- Native
- file-read
This actually deletes the file.
gcc -x c /dev/null -o /path/to/input-file
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- file-write
In some older versions, the `x` argument must instead reference any existing file.
gcc -wrapper /bin/sh,-s x
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- shell
In some older versions, the `x` argument must instead reference any existing file.
gcc -wrapper /bin/sh,-s x
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- unprivileged
- Native
- shell