SELAMAT MEMBACA DI BLOG SENDY ADISTYA Sendy Adistya Blog: Sistem operasi

Sabtu, 26 November 2011

Sistem operasi

MS DOS

PERINTAH INTERNAL

1.       Copy
 Contoh :
             A:\>copy a:\tugas c:\latdos

  1. DEL
      Contoh:
                 C:\latdos>del *.doc

  1. DIR
Contoh:
C:\>dir

  1. REN
Contoh:
C:\>ren tugasm~1.doc tugasku.doc

  1. VOL
      Contoh:
                       A:\>Vol

  1. TYPE
Contoh:
                 A:\>. type surat txt

  1. VER
Contoh:
                      C:\>ver
  1. DATE
      Contoh:
                C:\>date

EKSTERNAL

1.            CHKDSK
   Contoh:
                A:\>chkdsk c:/f

2.            DISKCOPY
Contoh:
A:diskcopy A: A:

3.            FDISK
         Contoh:
FDISK/STATUS/MBR


4.            SCANDISK
Contoh:
A:\>scandisk c:

5.            XCOPY
Contoh:
A:\>xcopy a: c: /s/e


LINUX

INTERNAL

1.      ADDUSER
   Contoh:
               # adduser sendy

2.      MKDIR
         Contoh :
                      $ mkdir linux
3.      CD
         Contoh :
                       $ cd linux

4.      CAT
          Contoh:
                      a. cat > nama_file      
                      b. cat >> nama_file  
                      c. cat nama_file  

5.      CP
         Contoh :
                     cp nama_file alamat_dir_tujuan

6.      RMDIR
         Contoh :
                      rmdir nama_dir

7.      RM-R
         Contoh :
                      rm -r nama_dir





EKSTERNAL


1.XCOPY
   Contohnya:
                           XCOPY SUMBER [DESTINATION] [/Y|-Y] [/A|/M] [/D:DATE] [/P]
                     [/S] [/E] [/V][/W]

2. MOVE
    Contohnya:
                      MOVE [drive:] [path] [filename], [drive] [filename[…]] destination

3.CHKDSK
    Contohnya:
                     CHKDSK (drive:) ((path)filename) (/F) (/V)


4.FORMAT
   Contohnya :
                      C:\>format A:, enter


























UNIX

1. PWD
    contoh:
              # pwd
             /usr/local


2. CD
    Contoh:
                # pwd
                /home/tedy
                # cd /usr/local
               # pwd
               /usr/local

3. LS
    Contoh:
                # pwd
                /home/tedy/tes
                # ls
                BAB III edit.doc* blog.txt


4. CP
    Contoh:
               # cp /home/tedy/contoh.txt /home/tedy/tes/



5.      MV
Contoh:
                  # mv /home/tedy/contoh.txt /home/tedy/tes


6.      TAR
Contoh:
                  # tar -cvf <hasil.tar> <file1> <file2>

9.      GZIP
Contoh:
                  # gzip <nama_file>


10.  TOUCH
Contoh:
                  # touch contoh.txt
                  # ls -l
                  total 0
                  -rw-r--r-- 1 tedy tedy 0 2007-06-26 09:11 contoh.txt







11.  MAN
Contoh:

LS(1)        User Commands      LS(1)
NAME
            ls - list directory contents
SYNOPSIS
            ls [OPTION]... [FILE]...
DESCRIPTION
             List information about the FILEs (the current directory by default).
             Sort entries alphabetically if none of -cftuSUX nor --sort.
             Mandatory arguments to long options are mandatory for short options
             too.
             -a, --all
                        do not hide entries starting with .
             -A, --almost-all
                       do not list implied . a


Tidak ada komentar:

Posting Komentar