Tin học Việt

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Tin học Việt

A place for learning and sharing knowledge

Latest topics

» [Đề thi] Đề thi HSG cấp thành phố lớp 12 đợt 1 môn Tin các năm
by camchung Sun Jul 26, 2015 10:49 am

» [Bài tập] Các bài tập quy hoạch động cơ bản
by popperdk Tue Apr 28, 2015 2:17 am

» [Unix/Linux] Lecture 2 - File Transfer and Working with Commands
by Admin Tue Apr 07, 2015 9:35 pm

» [Unix/Linux] Lecture 1 - Basic Command
by Admin Tue Apr 07, 2015 8:44 pm

» [Unix/Linux] Introduction To Unix/Linux
by Admin Tue Apr 07, 2015 8:17 pm

» [Thuật toán] Loang trên ma trận
by zoutsec Sat Feb 28, 2015 4:26 pm

» Thảo luận về stack!
by ganar27 Sat Jun 14, 2014 4:21 pm

» [Bài tập] Bài tập về đường đi ngắn nhất
by sonlv1112 Fri Feb 07, 2014 9:37 pm

» [Game học hóa] Căn nhà phù thủy
by Admin Sun Jan 26, 2014 8:32 pm

» [Game] Căn nhà phù thủy
by Admin Sun Jan 26, 2014 8:31 pm


    [Unix/Linux] Lecture 1 - Basic Command

    avatar
    Admin
    Admin
    Admin


    Posts : 48
    Golds : 2147483646
    Liked : 18
    Ngày tham gia : 2011-08-25
    Tuổi : 27
    Đến từ : Ho Chi Minh City

    [Unix/Linux] Lecture 1 - Basic Command Empty [Unix/Linux] Lecture 1 - Basic Command

    Post by Admin Tue Apr 07, 2015 8:44 pm

    Lecture 1 - Basic Commands


    I. Basic Commands


    pwd: Show user's current place.
    cd: Change directory.
    ls: List files.
    mkdir: Create a directory.
    cp: Copy files or directory.
    rm: Remove files or directory.
    mv: Rename/Move files or directory.

    II. Wild Cards


    *: Stands for any characters.
    ?: Stands for 1 characters.
    [...]: In set of ...
    [!..]: NOT in set of ...
    [[:class:]]: Classes of character
  • alnum: Alphabetic character and Decimal digits
  • alpha: Alphabetic character
  • digit: 0 - 9
  • lower: Lower case letters
  • upper: Upper case letters

    III. Notes


    --help: Put this option after each command will show help panel. We can also use "man" command in before each command to know other options.
    In order to
  • Move to PREVIOUS directory we use: cd ..
  • Move to HOME directory we use: cd ~
  • Move to ROOT directory we use: cd /

    • Current date/time is Sat Apr 27, 2024 3:41 am