Skip to content

AdaniKamal/Command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Command

Linux

Delete Directory/Files

rmdir & rm -d command is for removing empty directories

rm -r for deletes non-empty directories

Windows

Change CMD color

For example,

set PROMPT=$E[1;37m[user@machine:$E[1;35m$P ]$$ $E[1;37m

Produces:

image

The format for the colors is:

$E[bold_or_not;colorm

With m always following the color number. bold_or_not = 0 or 1. Here's a guide for the colors:

No Attributes
0 Turn Off Attributes
1 High Intensity
2 Normal Intensity
4 Underline (mono only)
5 Blink
7 Reverse Video
8 Invisible
30 Black
31 Red
32 Green
33 Yellow
34 Blue
35 Magenta
36 Cyan
37 White
40 Black
41 Red
42 Green
43 Yellow
44 Blue
45 Magenta
46 Cyan
47 White

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published