MongoDB, Cloud Fund, Talend, UNIX
MongoDB, Cloud Fund, Talend, UNIX
==============
1) What is Unix?
UNIX is a portable operating system that is designed for efficient multitasking and multi-user functions. Since it is a
portable operating system, it can run on different hardware platforms. It is written in C language.
CommandUsage
ls Lists the content of a directory
alias Define or display aliases
unalias Remove alias definitions
pwd Prints the working directory
cd Changes directory
cp Copies files and directories
rm Remove files and directories
mv Moves (renames) files and directories
mkdir Creates directories
man Displays manual page of other commands
touch Creates empty files
chmod Changes file permissions
./ Runs an executable
exit Exits the current shell session
sudo Executes commands as superuser
shutdown Shutdowns your machine
htop Displays processes and resources information
unzip Extracts compressed ZIP files
echo Displays lines of text
cat Prints file contents
ps Reports shell processes status
kill Terminates programs
ping Tests network connectivity
vim Efficient text editing
history Shows a list of previous commands
passwd Changes user password
which Returns the full binary path of a program
tail Displays the last lines of a file
head Displays the first lines of a file
grep Prints lines that match patterns
whoami Outputs username
whatis Shows single-line descriptions
wc Word count files
uname Displays OS information
neofetch Displays OS and hardware information
What is a directory?
A directory is a specialized form of a file that maintains a list of all files in it.
Cmp – Compare the given two files byte by byte and display the first mismatch.
Diff – Display changes that need to do to make both files identical.
r – Reading permission
w – Writing permission
x – Execution permission
========================================================================================
MongoDB:
=========
What is MongoDB ?
MongoDB is an open-source NoSQL database written in C++ language. It uses JSON-like documents with optional
schemas.
It provides easy scalability and is a cross-platform, document-oriented database.
MongoDB works on the concept of Collection and Document.
Null
{"x" : null}
Boolean
{"x" : true}
Number
{"x" : 4}
String
{"x" : "foobar"}
Date
{"x" : new Date()}
Regular expression
{"x" : /foobar/i}
Array
{"x" : ["a", "b", "c"]}
Embedded document
{"x" : {"foo" : "bar"}}
Object ID
{"x" : ObjectId()}
Binary Data
Binary data is a string of arbitrary bytes.
Code
{"x" : function() { /* ... */ }}
Explain Namespace?
A namespace is the series of the collection name and database name.
========================================================================================
=
Cloud Fundamentals:
==================
6) Cloud service providers are companies that create and sell cloud services to users.
Direct customers are users who use your services in the cloud, without knowing if it's public or private.
Cloud consumers are people or groups within a business unit who use different cloud services to complete tasks.
Serverless machines tend to virtual machines and container management.
Serverless components also take care of multi-threading hardware allocation.
9) Microservices is a way of building applications where each piece of code operates independently from others
and from the platform it's built on.
11) In cloud computing, encapsulation means packaged software code along with all of its dependencies, such that it
can consistently run both on cloud and on-premises.
13) Serverless components in cloud computing simplify application development by eliminating the need to
manage infrastructure. With serverless, you can write code without provisioning servers. Serverless machines
handle tasks like virtual machine and container management, as well as multithreading and hardware allocation.
14) Cloud computing is the delivery of computing services, such as storage, networking, servers, databases,
software, and analytics, over the internet.
=======================================================================================
Talend:
=======
What is Talend?
Talend is an open-source data integration platform that provides solutions for data integration and data
management. Talend Open Studio is an open-source ETL tool used for data integration and Big data.
Define tMap?
tMap is an advanced component that integrates itself as a plugin to Talend Studio.
What is tJoin?
tJoin joins two tables by doing an exact match on several columns.
A scheduler is software that picks processes from a queue and loads them into memory for execution. Talend
doesn't come with its own scheduler.
======================================================================================