How to Learn Linux commands without installing Linux

Source: Internet
Author: User
If you do not need to install Linux, you can also learn Linux commands-general Linux technology-Linux programming and kernel information. For details, refer to the following section. By wanghuabin http://wanghuabin-2003.blog.163.com/

It actually uses the batch processing command to combine the Linux Command with the doscommand.

@ Cls

@ Echo off

@ Color 3

@ Prompt Wang huabin Blog star [$ p] $ B $ t $ B $ _-bash-2.05b #

@ Doskey uname = ver

@ Doskey mv = move $ *

@ Doskey pwd = cd $ *

@ Doskey mkdir = md $ *

@ Doskey rmdir = rd $ *

@ Doskey rm = del $ *

@ Doskey ls = dir $ *

@ Doskey cp = copy $ *

@ Doskey cat = type $ *

@ Doskey clear = cls

@ Doskey w = quser

@ Doskey id = whoami

@ Rem you can add linux commands according to your needs. The format is the same as above.

@ Cls

@ Echo on

1. Copy the above program to a text document and save it as a file with the extension. cmd. Copy the file to drive C.

2. Enter regedit in the running state to enter the Registry. Find the directory [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Command Processor] in the registry, and double-click "AutoRun" in the right window ", in the data column, modify the address of this batch to c: \ whb. cmd (assume the file name is whb. cmd ). Close after refreshing.

3. Run the command again, enter the cmd command, and press Enter. To open the file. Enter the linux Command in the file to run the linux Command in windows.

Now, the operation is complete.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.