-
pwdshows which folder you are currently in -
cdchange directory(folder)cd ~goes to the home folder i.e/home/shaneon mac/Users/shane
-
lslist the contents of the current folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # A little chat progream via ncat | |
| # Author:wrfly Date:2015.7 | |
| # Usage: | |
| # Server: ncat -e chat.sh -lk & | |
| # Client: ncat server_ip | |
| #config | |
| db_users=user_lists | |
| db_rooms=db_rooms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |