history – POFTUT

Linux Bash Alias Command Tutorial

Linux Bash Alias Command Tutorial

Linux Bash provides some shortcuts about operations. Sometimes we need to run a log and error prone command in the shell. Every time writing or remembering the command is not a feasible way. Bash have alias feature which is used to set some shortcuts about user commands. alias Command Syntax The syntax of the alias definition … Read more

Linux Bash History

[rps-include post=6835] Bash shell runs in terminals like gnome-terminal, konsole, getty, etc. To make things make easy bash provides some shortcuts and pragmatic operations. Here we will look details about them. History Busy system administrators writes a lot of bash commands. They have no time to write notes about the commands. But bash have a … Read more

Linux History Command Tutorial with Examples

Linux history is a function of the bash that provides previously issued commands with different options. In this tutorial we will look these options. Display History To simple list history providing history command is enough. History file is located in users home directory and named .bash_history for bash shell. $ history OR another way to … Read more

Linux Print History Command Without Line Numbers

Linux history command is used to get previously used commands by the current user. The default size for the history command is 1000 which means that last 1000 command will be stored in history. While listing history of bash line numbers are provided too. This is not expected in some situations. To get history without line … Read more