Contents

  1. Startup & Shutdown
  2. File & Directory Operations
  3. Using Archives
  4. User Operations
  5. Package Operations (pkgsrc)
  6. Advanced Command Line Recipes

Startup & Shutdown

`

shutdown -r now

`

`

shutdown -p now

`

`

shutdown -h now

`

File & Directory Operations

Using Archives

The same using pax:

pax -w -v -f my_archive.tar some_directory

The same using pax:

pax -r -v -f my_archive.tar

User Operations

or

<span class="createlink"><a href="/cgi-bin/ikiwiki?from=tutorials%2Fnetbsd_command-line_cheat-sheet&amp;do=create&amp;page=basics%2Fchpass" rel="nofollow">?</a>chpass</span> -s /bin/ksh jsmith

Package Operations (pkgsrc)

Advanced Command Line Recipes

Add a comment