2 - Linux Basic command

Basic commands:

Here is a list of some common commands in Linux that we are going to use in the future tutorials.

  • ls -Displays a list of files in the current working directory, like the dir command in DOS.
  • cd -Change directories.
  • passwd -change the password for the current user.
  • file "filename" -display file type of file with name "filename" .
  • cat "textfile" -throws content of "text file" on the screen.
  • pwd -display present working directory.
  • exit or logout -leave this session.
  • man "command" -read man pages on "command".
  • info "command" -read Info pages on "command".
  • MS-DOS vs. Linux commands

    If you know MS-DOS terminal line commands then you can associate them with Linux commands.

    MS-DOS Linux / Unix

    attrib

    chmod

    backup

    tar

    dir

    ls

    cls

    clear

    copy

    cp

    del

    rm

    deltree

    rm

    -R

    rmdir

    format

    fdformat / mount / umount

    move

    /

    rename

    mv

    type

    less

    cd

    cd


    chdir

    more

    < file

    more

    file

    md

    mkdir

    win

    startx

    More about the above command in the following tutorials.Keep reading the tutorials and leave your comments and also share with your friends and not only with your friends