LoginSignup
3
3

More than 5 years have passed since last update.

Linux cmd

Last updated at Posted at 2014-08-26

Shell script in background

nohup script.sh &

Clear terminal

clear  or  ctr+l

Apache Virtual Host Dump

sudo apachectl -t -D DUMP_VHOSTS

Reload .bash_profile

source ~/.bash_profile

Screen

To start the section

screen -R node

Detech screen

press ctrl + a AND d

List all screen section

screen -la

To restore screen section

screen -r node(name)

T find the program running on a port

sudo lsof -i :80 # checks port 80
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3