ajout un site et commandes shell pour paritionner usb stick
This commit is contained in:
16
shell.txt
16
shell.txt
@@ -26,3 +26,19 @@
|
||||
**sass --watch name.scss:name.css** make the transformations of scss in css file
|
||||
**'tree' like :**
|
||||
find | sort | grep -ve "node_modules/" -e ".git/" | sed 's#[^/]*/#|__ #g;s#__ |# |#g;s#| # #g;s#\(node_modules\|.git[ignore]*\)#\1 ...#;$a\ '
|
||||
|
||||
**format usb**
|
||||
**sudo fdisk -l** list all disks - find yours (something like /dev/sdx)
|
||||
**sudo fdisk /dev/sdx** enter in fdisk program
|
||||
**p** print the partions
|
||||
**o** create an empty dos table
|
||||
**n** add a new partition
|
||||
**p** primary
|
||||
**1** partition number 1
|
||||
**enter** default first selector
|
||||
**+1G** for 1Gb size or *enter* for default
|
||||
**a** toogle the flag *bootable*
|
||||
**n** again if you want more partitions
|
||||
**w** write and quit
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user