The Windows command line, like any other command line/console, is actually quite practical: It allows a variety of customizations and allows for yellow completion of commands. In the second of this series of articles, where we describe the Windows command line and its commands, we will give you some information so that you can become more practical when using the command prompt. In the first, some important points about what the command line is and system rights we mentioned.
Looking at a black and white screen all the time while working in the command prompt or terminal can be quite boring and depressing. Terminal inputs and outputs to color
You can use the color command . In the color command, the colors that we can define as the main colors are expressed with numbers, while we express the intermediate colors or colors in different tones with letters. For example, our terminal inputs and outputs red if we want it to appear color 4, light red
If we want it to be , we can use color c.
For information about the color command /? You can use jewelry. For example I below to learn the colors /? I used the tag, then typing color 1 blue
I wanted to use the color .
If we want to color not only the printouts but also the black background, we can use the color numbers we learned. one 0 to the right
If we add , we will apply the relevant color to the background. For example, when we enter the color 1 command, the text turns blue, while the color 10 command turns the background completely blue. If you want the text on the background color to be in a different color, you can use the color background color + the number to which the color belongs. For example, because I want to make my background blue below, I used the logic of background color (blue color 10) + color number (yellow color 6) and wrote color 16.
At the command prompt, Unix and Unix-like If we want to print text on a command line as in systems, we use the echo command. For example echo Technopat. When we write NET, we get the result. “Technopat. NET” will return.
If we want to change the title of the command line window we are working with, we can use the tidollarse command.
Let’s say you want to learn thoroughly about the meaning and usage of a command. For this, there are a few jewelry that you can use with komudollarsar. /h or /? If you use one of the charms with the command, you will get a detailed output on how the related command can be used.
If you want to list all the commands you can use with the help of the command prompt and briefly understand what they are, just type help.
Note: When you use the help command in front of other commands, it works the same as /h.
As you know, working from the command line makes it easy for many tasks, but it can be quite tedious to constantly specify the file path, enter the commandlines correctly and type the same things. Right at this point TAB button comes to our rescue. Do the rest by typing in the names and only a small part of the paths. TAB
You can complete it with the button.
For example, you want to write a cd music folder, but imagine that you are a little lazy and bored. write cd music TAB
After pressing the key, the command line will complete the path for you and give you the path in the form of a cd music folder.
Note: If there is another folder in the directory you are in that starts with the word music TAB command will not do the completion directly, instead it will do the completion with the folders containing the relevant word each time you press it. Therefore, if you want it to automatically define the folder called “Musicklasoru” for us, you need to add another distinctive letter for that folder in the form of “Music”. Immediately after TAB
You can make it complete by pressing the button.
Also, if there is a command you have written before and you need to use it again, you can use your keyboard’s up arrow key (UP).