Home » Questions » Computers [ Ask a new question ]

Map "untar" to tar xvfz?

Map "untar" to tar xvfz?

How can I map 'untar' as a command to 'tar -xvfz' ? Sorry, but I almost always forget the arguments necessary to 'tar' for this operation.

Asked by: Guest | Views: 68
Total answers/comments: 2
Guest [Entry]

"alias untar='tar -xvzf'

Place in your .bashrc file to persist across logins/shell sessions, or in your /etc/bash.bashrc file to persist for logins from all users on your system."
Guest [Entry]

"I'm always remembering it by saying it out loud:
tar e X tract Z ip F ile V erbose"