Skip to content

Instantly share code, notes, and snippets.

@echo off
SET CMDER_ROOT=C:\PortableApps\cmder_mini
SET ConEmuDir=C:\PortableApps\cmder_mini\vendor\conemu-maximus5
SET CMDER_INIT_BAT=C:\PortableApps\cmder_mini\vendor\init.bat
C:\Windows\sysnative\cmd.exe /k "%CMDER_INIT_BAT%"
@tenthree
tenthree / ubuntu-useful-commands.md
Last active December 18, 2017 10:05
ubuntu useful commands

Ubuntu useful commands

  • list users

    compgen -u or cut -d ":" -f 1 /etc/passwd

  • list groups > compgen -g
@tenthree
tenthree / vps-ubuntu-server-16.04-for-beginner.md
Last active January 14, 2023 09:38
vps ubuntu server 16.04 for beginner

Set up VPS server for beginner

use Ubuntu 16.04/18.04 (lsb_release -a)

Get Started

  • Update packages and system

    • sudo apt update
    • sudo apt upgrade

    If you do encounter problem like this, "A new version of configuration file/etc/default/grub is available,but the version installed currently has been locally modified".

> You can choose "install the package maintainer's version."