I have been using Linux form past 3 years and more.
I would interested to know more commands and use them in real time.
Recently I got to know about 4 new commands. They are,
- apropos : The basic use of this command is search the manual page names and descriptions. Whenever we don’t what command to in a situation, based on our requirement we can search a keyword that will show you list of commands related to the keyword.
If we want to edit a file, and we don’t know which command to use, here apropos will help you.
Just run from your command line apropos edit and you will get list of commands that will be used to edit a file as listed below. Depending on requirement you an use appropriate command.
sudoedit (8) – execute a command as another user
vi (1) – Vi IMproved, a programmers text editor
view (1) – Vi IMproved, a programmers text editor
vigr (8) – edit the password, group, shadow-password or shadow-group file
vim (1) – Vi IMproved, a programmers text editor
vimdiff (1) – edit two, three or four versions of a file with Vim and show differences
vipw (8) – edit the password, group, shadow-password or shadow-group file
visudo (8) – edit the sudoers file
vorbiscomment (1) – List or edit comments in Ogg Vorbis files
vorbistagedit (1) – allows batch editing of vorbis comments with an editor
xedit (1) – simple text editor for X
zipnote (1) – write the comments in zipfile to stdout, edit comments and rename files in zipfile
- rmdir: Used to remove an empty directory
- pushd and popd: This two commands are real time applications of stack. Pushd is to preserve current directory path to stack, and popd is to get a directory from stack and move into it.