Relative Content

Tag Archive for linuxbash

How to create a bash alias with a name that includes an argument

What I want to achieve is to change the default behavior of a command + argument, specifically tail -f. This command shows, by default, the last 10 lines of the file and follows its changes. I want it to show 50 lines, instead of 10. The corresponding command for that is tail -fn 50 so I thought about creating an alias with something like this: