-
copy directory
cp -R --dir
-
Find files
find / name *.js
mlocate - ubuntu
locate - mac
-
check space
df -h
-
check size of specific file.
du -sh file
- with sorting ```du -hs * | sort -rh | head -5``
-
check RAM status.
- free -m (To check in MB)
- free -g (To check in GB)
- free (To check in KB)
-
find running process
ps aux | grep process_name
-
SCP
scp me@host:/path/to/file ~
-
Kill service on specific port(ex. port 80)
sudo fuser -k 80/tcp
-
check ubuntu version
lsb_release -a
-
Check services runnin on specific port.
sudo netstat -plant | grep 80
Last active
February 22, 2021 10:34
-
-
Save akumbhani66/19420e6d81ac3847ebaf161677d0014d to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment