command line
Here you can find all the posts tagged with command line.
- Adding a user to the sudoers list in Ubuntu
Stop using root for administrative tasks. Here is how to add a new user to the sudoers list in Ubuntu.
- A more powerful version of grep
The utility command grep has a more powerful brother that let us use POSIX Extended Regular Expressions.
- Display disk usage with the du command
How to display the total of the current directory or a particular directory, as well as listing subtotals (subdirectories).
- Hide the desktop icons on Mac OS X
A two step way using the defaults command to hide the icons from the desktop in Mac OS X.
- Display line numbers using the cat command
A simple feature you one day may be glad you know.
- Finding the latest version of an npm package
Using the view registry info command to show the latest version available of a package in the node package manager.
- Create and extract tar archives compressed with gzip
For some reason I always find it hard to remember how to create and extract gzipped TAR archives, but here is how to do it.