Tag archives: command

RSS feed of command

linux help command Summary notes

Linux help command : help,--help,man,info

type command : View command type(Internal Command,External Command)
eg.:
[root@levi ~]# type -a cd 
cd is a shell builtin (Internal Command)

[root@levi ~]# type -a grep 
 grep is /bin/grep    ( External Command)
1.Internal Command (Help view)
help COMMAND
2.External Command (help view)
COMMAND --help
3 ...

Continue reading

Linux command history

[root@linux ~]# history [n]
[root@linux ~]# history [-c]
[root@linux ~]# history [-raw] histfiles

Parameters:

-n  :number, meaning ' the n command to list the most recent list ' means!

-c  :All the history in the current shell delete all content

-a  :Will be added into the history currently added instruction in histfiles, if not histfiles, then the ...

Continue reading