30
loading...
This website collects cookies to deliver better user experience
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
mkdir a
mkdir a/b
mkdir a/b/c
expanse@Ankurs-Mac-mini ~ % pwd
/Users/expanse
cd a
- Enters directory a and this is relative path from current directory.cd b
- Enters directory b from current directorycd /Users/expanse/a/b/c
- Enter directory c using absolute path aka the complete path on the filesystem.cd ..
to go to parent directory from current directory cd -
to go back to previous directory before you entered this one.deploy@linux:~$ free
total used free shared buff/cache available
Mem: 8167616 3140156 795416 1156 4232044 4723404
Swap: 0 0 0
free -mh
deploy@linux:~$ free
total used free shared buff/cache available
Mem: 7.8G 3.0G 776M 1.1M 4.0G 4.5G
Swap: 0B 0B 0B
df -h
deploy@deploy:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.9G 0 3.9G 0% /dev
tmpfs 798M 960K 797M 1% /run
/dev/vda1 78G 61G 17G 79% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/loop0 100M 100M 0 100% /snap/core/11316
/dev/loop2 100M 100M 0 100% /snap/core/11187
/dev/loop1 43M 43M 0 100% /snap/certbot/1201
/dev/loop4 62M 62M 0 100% /snap/core20/1026
/dev/vda15 105M 8.8M 96M 9% /boot/efi
tmpfs 798M 0 798M 0% /run/user/1000
/dev/loop5 43M 43M 0 100% /snap/certbot/1280
deploy@linux:~$ head tennisnews.txt
http://news.bbc.co.uk/rss/sportonline_world_edition/tennis/rss091.xml
http://sports.espn.go.com/espn/rss/tennis/news?null
http://www.tennis-x.com/tennisxnews.xml
http://www.atpworldtour.com/en/media/rss-feed/xml-feed
http://straightsets.blogs.nytimes.com/feed/
http://feeds.tennis.com/concrete-elbow-tignor
http://www.guardian.co.uk/sport/tennis/rss
http://feeds.feedburner.com/tennisx
http://bleacherreport.com/articles/feed?tag_id=12
http://rss.cnn.com/rss/edition_tennis.rss
deploy@linux:~$ head -n 5 tennisnews.txt
http://news.bbc.co.uk/rss/sportonline_world_edition/tennis/rss091.xml
http://sports.espn.go.com/espn/rss/tennis/news?null
http://www.tennis-x.com/tennisxnews.xml
http://www.atpworldtour.com/en/media/rss-feed/xml-feed
http://straightsets.blogs.nytimes.com/feed/
deploy@deploy:~$ watch -n 3 free -m
Every 3.0s: free -m total used free shared buff/cache available
Mem: 7976 3068 722 1 4185 4610
Swap: 0 0 0
screen
[Press Space or Return to end.]
and you will see a normal shell prompt. Here you can simply run a script and exit screen by entering the command ctrl + ad
and to enter the screen again simply type screen -r -d
.deploy@deploy:~$ cat tennisnews.txt | grep swordsmaster
http://blog.xuite.net/swordsmaster/tennis/rss.xml
30