Screen-2BShot-2B2015-06-30-2Bat-2B10.20.42-2BPM

How to add a user in Mac OS using Terminal

Here I will show you the steps to add a user in the Mac OS using Terminal / Command Prompt in simple steps. 1) Open up the terminal window. 2) Create a user by using command: dscl . create /Users/hadoop If you get error like: <main> attribute status: eDSPermissionError <dscl_cmd> DS Error: -14120 (eDSPermissionError) Just […]

How to perform CRUD opearation on Cassandra using CQLSH

This article will show the useful commands to perform CRUD operation on Cassandra using CQLSH. 1) Insert the data Syntax is: insert into <TABLE_NAME>(COLUMN1, COLUMN2) values (VALUES1, VALUES2); The table structure to insert the data is: CREATE TABLE cassandrademo.users ( user_id int PRIMARY KEY, user_email text, user_name text, user_pwd text ) Use the following command […]