To check large files with grep
grep "match" filename.txt
import React, { useState, useEffect, useRef, } from "react"; | |
import { Modal, Button, Upload, Row, Col, Slider, Typography, Input, Popover, } from 'antd'; | |
import Icon from '@ant-design/icons'; | |
import { InboxOutlined, CloseCircleOutlined } from '@ant-design/icons'; | |
import { useDispatch } from "react-redux"; | |
import { setPostImage, setPostImageAlternativeText, toggleModals, searchConnections, } from "../../../store/actions"; | |
import { useTranslation } from "react-i18next"; | |
import { image } from "../../../api"; | |
// import RotateSvg from "@assets/images/rotate.svg"; | |
// import ReverseRotateSvg from "@assets/images/reverse-rotate.svg"; |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Node Inspector", | |
"type": "node", | |
"request": "launch", | |
"args": ["${workspaceRoot}/src/service.ts"], | |
"runtimeArgs": ["-r", "ts-node/register"], | |
"cwd": "${workspaceRoot}", |
1. Start new tmux session | |
tmux new -s [session_name] | |
2. List all session | |
tmux ls | |
3. Dive into session | |
tmux attach -t [session_name] | |
4. Exit the session without killing current session |