mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 23:48:21 +00:00
Update cheatsheets
This commit is contained in:
37
linux/eject
Normal file
37
linux/eject
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# eject
|
||||
|
||||
> Eject cds, floppy disks and tape drives.
|
||||
> More information: <https://manned.org/eject>.
|
||||
|
||||
- Display the default device:
|
||||
|
||||
`eject -d`
|
||||
|
||||
- Eject the default device:
|
||||
|
||||
`eject`
|
||||
|
||||
- Eject a specific device (the default order is cd-rom, scsi, floppy and tape):
|
||||
|
||||
`eject {{/dev/cdrom}}`
|
||||
|
||||
- Toggle whether a device's tray is open or closed:
|
||||
|
||||
`eject -T {{/dev/cdrom}}`
|
||||
|
||||
- Eject a cd drive:
|
||||
|
||||
`eject -r {{/dev/cdrom}}`
|
||||
|
||||
- Eject a floppy drive:
|
||||
|
||||
`eject -f {{/mnt/floppy}}`
|
||||
|
||||
- Eject a tape drive:
|
||||
|
||||
`eject -q {{/mnt/tape}}`
|
||||
Reference in New Issue
Block a user