# Anything

#### Set npm cache folder

```bash
npm config set cache /path/to/global/cache -g
npm config get cache -g
```

#### Set yarn cache folder

```bash
yarn config set cache-folder /path/to/cache
yarn config get cache-folder
```

#### Create linux user

```sh
sudo useradd -m -d /home/newuser -s /bin/bash newuser
```

#### Cấp quyền sudo (nếu cần)

```sh
sudo usermod -aG sudo newuser
```

Hoặc nếu muốn chạy sudo mà không cần nhập mật khẩu:

```sh
echo "newuser ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/newuser
```
