mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 08:35:32 +02:00
eject: add page (#2291)
This commit is contained in:
parent
88d0396d08
commit
b50c88a51b
1 changed files with 31 additions and 0 deletions
31
pages/linux/eject.md
Normal file
31
pages/linux/eject.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
# eject
|
||||
|
||||
> Eject cds, floppy disks and tape drives.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue