NodeJS Backend engineer
At Berijalan Technocenter
abas
knkuu_
kankuu
Code Shell Execution Server
tbot: telegram bot
Bots are simply Telegram accounts operated by software – not people – and they'll often have AI features. They can do anything – teach, play, search, broadcast, remind, connect, integrate with other services, or even pass commands to the Internet of Things.
@June 24, 2015
_2 years after Telegram was released
@BotFather - manage your own bot
@TriviaBot – test your trivia knowledge or add to groups to compete with friends.
@PollBot – add this one to group chats to create polls.
@vkmusic_bot - search music and listen
-. you must at least One telegram account
-. open chat with @botfather
-. and send command > /newbot
-. once you got TELEGRAM BOT TOKEN,
-. u can create with your own tech stack :D
A shell is a command-line interpreter that provides a user interface for accessing the services of an operating system. In Unix-like systems, several types of shells are available, including the Bourne Shell (sh), C Shell (csh), Korn Shell (ksh), and Bourne Again Shell (bash).
@ 1977 by Stephen Bourne
AT&T's Bell Labs.
> ls # listing directory
> pwd # print work directory
> whoami # get current user
> root - be carefull! its overpower user :D
> System - non-login users (eg. nobody, www-data)
> Regular - standart linux users can;t sudo (eg. abas)
> Administrator - Regular users with sudo
Ohh CRAP!! permission denied.
> sudo kill him
this told the machine to kill him with grant permission of Administrator
which him is like PID (Process ID)
Fyi:
everysingle linux process has a PID, even command line
/abas/code-shell
take a look first :D
https://github.com/yagop/node-telegram-bot-api
> module that can spawn child process - can spawn into OS level
IN URGENT NEEDED
-. bot can send server log
-. bot can send direct action when connection to server was poor
-. bot can execute several command that bundling in .sh script (automation)
-. bot can reboot server.. or even SHUTDOWN IT ? :v