Your Hosting Tutorial & shell scripting admin
Showing posts with label Shell. Show all posts
Showing posts with label Shell. Show all posts
Linux Disk utilities
fdisk /dev/hda
(= "fixed disk". As root.) Linux hard drive partitioning utility (DOS has a utility with the same name). In the example above, I specified that I would like to partition the first harddrive on the first IDE interface, hence "hda". If I were you, i would backup any important data before using fdisk on any partition. I do not not know anybody who likes fdisk (either Linux or DOS edition)--I prefer easier to use cfdisk, see next command.
cfdisk /dev/hda
(as root) Hard drive partitioning utility, menu-based. Easier to use then the plain-vanilla fdisk (see the previous command). Physical drives can contain primary partitions (max 4 per disk), and logical partitions (no restriction on number). A primary partition can be bootable. Logical partitions must be contained within "extended partitions"; extended partitions are not usable by themselves, they are just a container for logical partitions. When partitioning a disk, I typically: (1) create a primary partition (2) make the primary partition bootable (3) create an extended partition, (4) create logical partition(s) within the extended partition.
Script untuk melihat load pada server
#script gabungan hafidz
echo "Mw tampilan brp baris -script Hafidz ver 0.1-";
#read input
#a="$input"
echo "Mw tampilan brp baris -script Hafidz ver 0.1-";
#read input
#a="$input"
How To replace my text easily
now we can replace our text easily like this
1. #nano test.txt
2. insert apa apa apa apa apa
3. save it
4. replace apa brekele -- test.txt
5. and if we call it , #more test.txt
the view is brekele brekele brekele brekele brekele
please comment
