Skip to content
Snippets Groups Projects
Commit 52414b31 authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

"Screenshots" und Beispiel-Dateien zur Unix-Shell

parent 30e57bdf
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
ls -l
cassini/home/peter/bo/2016ss/es/20160421> grep Hallo
Hallo?
Hallo?
Ah - alles klar.
Ist da jemand?
Hallo?
Hallo?
Hallo???
Hallo???
#!/usr/bin/bc
2 + 2
quit
cassini/root# grep "usb[01]" /etc/fstab
/dev/sdb /media/usb0 auto rw,user,noauto 0 0
/dev/sdb1 /media/usb1 auto rw,user,noauto 0 0
cassini/root# fdisk -l /dev/sdb
Disk /dev/sdb: 3,9 GiB, 4188012544 bytes, 8179712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc0d11b18
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 8179711 8177664 3,9G b W95 FAT32
cassini/root# fdisk -l /dev/sdb
Disk /dev/sdb: 2 GiB, 2095577088 bytes, 1023231 sectors
Units: sectors of 1 * 2048 = 2048 bytes
Sector size (logical/physical): 2048 bytes / 2048 bytes
I/O size (minimum/optimal): 2048 bytes / 2048 bytes
Disklabel type: dos
Disk identifier: 0x6f20736b
Device Boot Start End Sectors Size Id Type
/dev/sdb1 ? 778135908 1919645538 1141509631 2,1T 72 unknown
/dev/sdb2 ? 168689522 2104717761 1936028240 3,6T 65 Novell Netware 386
/dev/sdb3 ? 1869881465 3805909656 1936028192 3,6T 79 unknown
/dev/sdb4 ? 0 3637226495 3637226496 6,8T d unknown
Partition table entries are not in disk order.
Dies ist ein Test.
Dies auch.
Noch ein Test.
Und dies hier?
Auch ein Test.
abc
abbbbbbc
ac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment