danie10 ,
@danie10@mastodon.social avatar

Try these Linux bash aliases for more efficient use of the command line

For those who don’t know, bash aliases allow you to create unique command shortcuts. So, a simple word can be used to run a more complex command which may have a lot of additional parameters, e.g. just type the word ‘update’ to execute an update com ...continues

See https://gadgeteer.co.za/try-these-linux-bash-aliases-for-more-efficient-use-of-the-command-line/

palordrolap ,

The trash one is a little outdated and won't necessarily put the trashed file where the user's GUI file manager would put it.

gio trash FILE and kfmclient move FILE trash:/ are the compatible commands under GNOME and KDE respectively. Derivatives generally use one or the other.

Unfortunately, the KDE one is somewhat tricky to do with an alias, what with the parameter being in the middle. I am also unsure as to whether it has a force option. Web results are inconclusive and I'm on a GNOME derivative.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines