> For the complete documentation index, see [llms.txt](https://wiki.jso.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.jso.vn/anything.md).

# 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
```
