ProgrammingKnowledge

Videos: 167 Likes: 6,881 Views: 582,199

Videos by: ProgrammingKnowledge

Linux Command Line Tutorial For Beginners 25 – .bashrc File

Linux Command Line Tutorial For Beginners 25 – .bashrc File

2 months ago
The .bashrc is a configuration file for the Bash , which every time you open a terminal is also loaded. In it you can abbreviations for commands (ie an alias ) Enter, you change here is the appearance of the prompt , or you can add additional scripts which facilitate a working with the Shell. […]
Linux Command Line Tutorial For Beginners 24 – Basic Group Management (groups, groupadd, groupdel)

Linux Command Line Tutorial For Beginners 24 – Basic Group Management (groups, groupadd, groupdel)

2 months ago
groups – print the groups a user is in groupadd – create a new group groupdel – delete a group gpasswd – administer /etc/group and /etc/gshadow The options which apply to the gpasswd command are: -a, –add user Add the user to the named group. -d, –delete user Remove the user from the named group.
Linux Command Line Tutorial For Beginners 23 – userdel command (Removing Users)

Linux Command Line Tutorial For Beginners 23 – userdel command (Removing Users)

2 months ago
NAME userdel – delete a user account and related files SYNOPSIS userdel [options] LOGIN DESCRIPTION userdel is a low level utility for removing users. On Debian, administrators should usually use deluser instead. The userdel command modifies the system account files, deleting all entries that refer to the user name LOGIN. The named user must exist.
Linux Command Line Tutorial For Beginners 22 –  useradd command (Creating Users)

Linux Command Line Tutorial For Beginners 22 – useradd command (Creating Users)

2 months ago
NAME useradd – create a new user or update default new user information SYNOPSIS useradd [options] LOGIN useradd -D useradd -D [options] DESCRIPTION useradd is a low level utility for adding users. On Debian, administrators should usually use adduser(8) instead. When invoked without the -D option, the useradd command creates a new user account using […]
Node.js Tutorial for Beginners 19 –  Installing npm packages globally + install nodemon

Node.js Tutorial for Beginners 19 – Installing npm packages globally + install nodemon

2 months ago
Where does npm install packages? %AppData%npmnode_modules There are two ways to install npm packages: locally or globally. You choose which kind of installation to use based on how you want to use the package. If you want to use it as a command line tool, something like the grunt CLI, then you want to install […]
Node.js Tutorial for Beginners 18 –  npm init & package.json File

Node.js Tutorial for Beginners 18 – npm init & package.json File

2 months ago
npm init [-f|–force|-y|–yes] Description This will ask you a bunch of questions, and then write a package.json for you. It attempts to make reasonable guesses about what you want things to be set to, and then writes a package.json file with the options you’ve selected. If you already have a package.json file, it’ll read that […]
Node.js Tutorial for Beginners 17 –  Node Package Manager (npm)

Node.js Tutorial for Beginners 17 – Node Package Manager (npm)

2 months ago
npm is the default package manager for the JavaScript runtime environment Node.js. npm is automatically included when Node.js is installed. npm consists of a command line client that interacts with a remote registry. It allows users to consume and distribute JavaScript modules that are available on the registry.Packages on the registry are in CommonJS format […]
Node.js Tutorial for Beginners 16 – Basic Routing with node

Node.js Tutorial for Beginners 16 – Basic Routing with node

2 months ago
Basic routing. Routing refers to determining how an application responds to a client request to a particular endpoint, which is a URI (or path) and a specific HTTP request method (GET, POST, and so on). Each route can have one or more handler functions, which are executed when the route is matched.
Node.js Tutorial for Beginners 15 – Using node.js for serving JSON Data

Node.js Tutorial for Beginners 15 – Using node.js for serving JSON Data

2 months ago
In this video I am going to show you How can I return JSON from node.js backend to frontend. if you want to send the response prettified, for some awkward reason, you could use something like JSON.stringify(anObject, null, 3) It’s important that you set the Content-Type header to application/json, too.
Node.js Tutorial for Beginners 14 – Using node.js for serving HTML page

Node.js Tutorial for Beginners 14 – Using node.js for serving HTML page

2 months ago
In this video we will see how we can serve a html page to the web browser. sets say I want to run a very simple HTTP server. Every GET request to example.com should get index.html served to it but as a regular HTML page (i.e., same experience as when you read normal web pages).
Node.js Tutorial for Beginners 13 – pipes

Node.js Tutorial for Beginners 13 – pipes

2 months ago
The ‘pipe’ event is emitted when the stream.pipe() method is called on a readable stream, adding this writable to its set of destinations. All Readable streams begin in paused mode but can be switched to flowing mode in one of the following ways: Adding a ‘data’ event handler. Calling the stream.resume() method. Calling the stream.pipe() […]
Node.js Tutorial for Beginners 12 – Basics of Streams – Writable Streams

Node.js Tutorial for Beginners 12 – Basics of Streams – Writable Streams

2 months ago
The path to the file the stream is writing to as specified in the first argument to fs.createWriteStream(). If path is passed as a string, then writeStream.path will be a string. If path is passed as a Buffer, then writeStream.path will be a Buffer.