This file contains 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
rm file.txt |
This file contains 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
rm -r directory |
This file contains 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
curl -X GET -H "Authorization: Bearer $TOKEN" "https://api.digitalocean.com/v2/droplets" |
Task is an instance of the Runnable
interface.
Thread is an object that facilitates the execution of a task, implements Runnable
.
This file contains 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
# show full file | |
cat file.txt | |
# Show first 10 lines | |
head file.txt | |
# show last 10 lines | |
tail file.txt | |
# show file inprogress |
This file contains 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
grep 'Text to find' file.txt |
This file contains 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
# open file by page | |
# h - help | |
# g - begin | |
# G - end | |
# f - page down | |
# b - page up | |
# /pattern - search | |
# n - next occurence | |
# N - previous occurence | |
less file.txt |