Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. dinlinux
    • Profile
    • Following 10
    • Followers 11
    • Topics 7
    • Posts 36
    • Best 15
    • Controversial 0
    • Groups 1

    dinlinux

    @dinlinux

    Linux / Network / Windows Admin, Part-time programmer, Cloud solutions expert..

    43
    Reputation
    566
    Profile views
    36
    Posts
    11
    Followers
    10
    Following
    Joined Last Online
    Website nexaxislanka.com Age 36

    dinlinux Unfollow Follow
    Linux Help

    Best posts made by dinlinux

    • Share your knowledge and experience and win a t-shirt

      As we are growing fast and steadily. We have decided to share our joy with you by giving away 10 t-shirts for you in this new year season. You just need to make sure you are contributing to the community.

      You just have to follow below steps..

      1. Sign up in lankadevelopers.com website
      2. Confirm your email
      3. Comment on this post.

      You have better chances if you have more than 3 reputations.

      You must Contribute / Signup between 1st of January 2019 to 30th January to be entitled to this event.

      The winners will be announced in lankadevelopers.com/announcements

      0_1546364862885_T-Shirt-promotion-fb-2.jpg

      posted in Announcements
      dinlinux
      dinlinux
    • Hello Sri Lankan Developers

      Hey, we have a new forum for you today!

      We are introducing new forum called Lanka Developers. It is exclusively for Sri Lankan Developers. It just like Stack Overflow where you can ask questions related to Information Technology Field.

      We meet people who use Stack Overflow every single day, but a lot of them tell us if we have our own would be great. “ලංකාවට එකක් තිබ්බනම් නියමයි මචං!” they say. We Think so too!

      Still, when we think about what questions developers have every day, only the ones can be asked in English and other International languages on Stack Overflow. Maybe you need a explanation about Python or Android in Sinhala… maybe you want to ask something about in your own language!

      That’s the idea behind Lanka Developers.

      posted in Announcements
      dinlinux
      dinlinux
    • Congratulations to our top users

      Hi everyone,

      We are Delighted to announce that we are nearing 1000 IT professionals in our community. As we promised we have chosen top 10 contributors of our community who will be getting the free T-Shirt from Lanka Developers.

      Thank you guys for your great contributions...

      1. lahirunc
      2. shehan_s
      3. fern
      4. yashura99
      5. sudo
      6. b6
      7. crxssrazr93
      8. shaavi
      9. geethonion
      10. varuna

      As we need to verify the users we are sending a validation code to all the winners through community's direct message service and to their registered email addresses. Instructions will be sent via the same email address.

      posted in Announcements
      dinlinux
      dinlinux
    • Survey on payment methods in Sri Lanka

      මචන්ලා,

      පොඩි උදව්වක් ඕනේ අපි පොඩි Survey එකක් කරනවා ලංකාවේ payment method ගැන. ඔයාලා ඔක්කොගේම උදව් බලාපොරොත්තු වෙනවා. පහල තියන ලින්ක් එකට ගිහින් Survey document එක පුරවන්න.

      https://docs.google.com/forms/d/e/1FAIpQLSe45GwslB_YaQzi-8YP1d5MdMdyqycT1-PudQYY35bHePlYWg/viewform

      posted in General Discussion
      dinlinux
      dinlinux
    • Powershell ගැන දැන ගනිමු.

      මොකක්ද මේ Powershell කියන්නේ?

      Powershell කියන්නේ Windows operating system වල මෑත කාලයේ හඳුන්වා දුන් Linux bash command line ekata මඳක් සමාන cli එකක්.

      මොකක්ද මෙකෙන් කරන්න පුළුවන්?

      අපිට windows වල gui එකෙන් කරන්න පුළුවන් දේවල් වඩා ලේසියෙන් ඉක්මනින් කරගන්න පුළුවන්. Windows Automation scripts හදාගන්න පුළුවන්.

      Windows Powershell පාවිච්ච් කරන්නේ කවුද?

      හුඟක්ම use කරන්නේ windows administrators ලා. මන් අත් දැකල තියෙන විදිහට හුඟක්ම මේක පාවිච්චි කරන්නේ Linux bash command line එකට කැමති අය සහ cloud servers පාවිච්චි කරන අය. Azure cloud වැඩ කරද්දී මේක හුඟක් අවශ්‍ය වෙනවා.

      දැන් අපි බලමු මොනවද Powershell වල Basic commands කියලා.

      Command alias Cmdlet name Description of command
      % ForEach-Object Performs an operation against each item in a collection of input objects.
      ? Where-Object Selects objects from a collection based on their property values.
      ac Add-Content Appends content, such as words or data, to a file.
      asnp Add-PSSnapIn Adds one or more Windows PowerShell snap-ins to the current session.
      cat Get-Content Gets the contents of a file.
      cd Set-Location Sets the current working location to a specified location.
      chdir Set-Location Sets the current working location to a specified location.
      clc Clear-Content Deletes the contents of an item, but does not delete the item.
      clear Clear-Host Clears the display in the host program.
      clhy Clear-History Deletes entries from the command history.
      cli Clear-Item Deletes the contents of an item, but does not delete the item.
      clp Clear-ItemProperty Deletes the value of a property but does not delete the property.
      cls Clear-Host Clears the display in the host program.
      clv Clear-Variable Deletes the value of a variable.
      cnsn Connect-PSSession Reconnects to disconnected sessions
      compare Compare-Object Compares two sets of objects.
      copy Copy-Item Copies an item from one location to another.
      cp Copy-Item Copies an item from one location to another.
      cpi Copy-Item Copies an item from one location to another.
      cpp Copy-ItemProperty Copies a property and value from a specified location to another location.
      curl Invoke-WebRequest Gets content from a webpage on the Internet.
      cvpa Convert-Path Converts a path from a Windows PowerShell path to a Windows PowerShell provider path.
      dbp Disable-PSBreakpoint Disables the breakpoints in the current console.
      del Remove-Item Deletes files and folders.
      diff Compare-Object Compares two sets of objects.
      dir Get-ChildItem Gets the files and folders in a file system drive.
      dnsn Disconnect-PSSession Disconnects from a session.
      ebp Enable-PSBreakpoint Enables the breakpoints in the current console.
      echo Write-Output Sends the specified objects to the next command in the pipeline. If the command is the last command in the pipeline, the objects are displayed in the console.
      epal Export-Alias Exports information about currently defined aliases to a file.
      epcsv Export-Csv Converts objects into a series of comma-separated (CSV) strings and saves the strings in a CSV file.
      epsn Export-PSSession Imports commands from another session and saves them in a Windows PowerShell module.
      erase Remove-Item Deletes files and folders.
      etsn Enter-PSSession Starts an interactive session with a remote computer.
      exsn Exit-PSSession Ends an interactive session with a remote computer.
      fc Format-Custom Uses a customized view to format the output.
      fl Format-List Formats the output as a list of properties in which each property appears on a new line.
      foreach ForEach-Object Performs an operation against each item in a collection of input objects.
      ft Format-Table Formats the output as a table.
      fw Format-Wide Formats objects as a wide table that displays only one property of each object.
      gal Get-Alias Gets the aliases for the current session.
      gbp Get-PSBreakpoint Gets the breakpoints that are set in the current session.
      gc Get-Content Gets the contents of a file.
      gci Get-ChildItem Gets the files and folders in a file system drive.
      gcm Get-Command Gets all commands.
      gcs Get-PSCallStack Displays the current call stack.
      gdr Get-PSDrive Gets drives in the current session.
      ghy Get-History Gets a list of the commands entered during the current session.
      gi Get-Item Gets files and folders.
      gjb Get-Job Gets Windows PowerShell background jobs that are running in the current session.
      gl Get-Location Gets information about the current working location or a location stack.
      gm Get-Member Gets the properties and methods of objects.
      gmo Get-Module Gets the modules that have been imported or that can be imported into the current session.
      gp Get-ItemProperty Gets the properties of a specified item.
      gps Get-Process Gets the processes that are running on the local computer or a remote computer.
      group Group-Object Groups objects that contain the same value for specified properties.
      gsn Get-PSSession Gets the Windows PowerShell sessions on local and remote computers.
      gsnp Get-PSSnapIn Gets the Windows PowerShell snap-ins on the computer.
      gsv Get-Service Gets the services on a local or remote computer.
      gu Get-Unique Returns unique items from a sorted list.
      gv Get-Variable Gets the variables in the current console.
      gwmi Get-WmiObject Gets instances of Windows Management Instrumentation (WMI) classes or information about the available classes.
      h Get-History Gets a list of the commands entered during the current session.
      history Get-History Gets a list of the commands entered during the current session.
      icm Invoke-Command Runs commands on local and remote computers.
      iex Invoke-Expression Runs commands or expressions on the local computer.
      ihy Invoke-History Runs commands from the session history.
      ii Invoke-Item Performs the default action on the specified item.
      ipal Import-Alias Imports an alias list from a file.
      ipcsv Import-Csv Creates table-like custom objects from the items in a CSV file.
      ipmo Import-Module Adds modules to the current session.
      ipsn Import-PS Session Imports commands from another session into the current session.
      irm Invoke-RestMethod Sends an HTTP or HTTPS request to a RESTfulweb service.
      ise powershell_ise.exe Explains how to use the PowerShell_ISE.exe command-line tool.
      iwmi Invoke-WMIMethod Calls Windows Management Instrumentation (WMI) methods.
      iwr Invoke-WebRequest Gets content from a web page on the Internet.
      kill Stop-Process Stops one or more running processes.
      lp Out-Printer Sends output to a printer.
      ls Get-ChildItem Gets the files and folders in a file system drive.
      man help Displays information about Windows PowerShell commands and concepts.
      md mkdir Creates a new item.
      measure Measure-Object Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text.
      mi Move-Item Moves an item from one location to another.
      mount New-PSDrive Creates temporary and persistent mapped network drives.
      move Move-Item Moves an item from one location to another.
      mp Move-ItemProperty Moves a property from one location to another.
      mv Move-Item Moves an item from one location to another.
      nal New-Alias Creates a new alias.
      ndr New-PSDrive Creates temporary and persistent mapped network drives.
      ni New-Item Creates a new item.
      nmo New-Module Creates a new dynamic module that exists only in memory.
      npssc New-PSSessionConfigurationFile Creates a file that defines a session configuration.
      nsn New-PSSession Creates a persistent connection to a local or remote computer.
      nv New-Variable Creates a new variable.
      ogv Out-GridView Sends output to an interactive table in a separate window.
      oh Out-Host Sends output to the command line.
      popd Pop-Location Changes the current location to the location most recently pushed to the stack. You can pop the location from the default stack or from a stack that you create by using the Push-Location cmdlet.
      ps Get-Process Gets the processes that are running on the local computer or a remote computer.
      pushd Push-Location Adds the current location to the top of a location stack.
      pwd Get-Location Gets information about the current working location or a location stack.
      r Invoke-History Runs commands from the session history.
      rbp Remove-PSBreakpoint Deletes breakpoints from the current console.
      rcjb Receive-Job Gets the results of the Windows PowerShell background jobs in the current session.
      rcsn Receive-PSSession Gets results of commands in disconnected sessions.
      rd Remove-Item Deletes files and folders.
      rdr Remove-PSDrive Deletes temporary Windows PowerShell drives and disconnects mapped network drives.
      ren Rename-Item Renames an item in a Windows PowerShell provider namespace.
      ri Remove-Item Deletes files and folders.
      rjb Remove-Job Deletes a Windows PowerShell background job.
      rm Remove-Item Deletes files and folders.
      rmdir Remove-Item Deletes files and folders.
      rmo Remove-Module Removes modules from the current session.
      rni Rename-Item Renames an item in a Windows PowerShell provider namespace.
      rnp Rename-ItemProperty Renames a property of an item.
      rp Remove-ItemProperty Deletes the property and its value from an item.
      rsn Remove-PSSession Closes one or more Windows PowerShell sessions (PSSessions).
      rsnp Remove-PSSnapin Removes Windows PowerShell snap-ins from the current session.
      rujb Resume-Job Restarts a suspended job
      rv Remove-Variable Deletes a variable and its value.
      rvpa Resolve-Path Resolves the wildcard characters in a path, and displays the path contents.
      rwmi Remove-WMIObject Deletes an instance of an existing Windows Management Instrumentation (WMI) class.
      sajb Start-Job Starts a Windows PowerShell background job.
      sal Set-Alias Creates or changes an alias (alternate name) for a cmdlet or other command element in the current Windows PowerShell session.
      saps Start-Process Starts one or more processes on the local computer.
      sasv Start-Service Starts one or more stopped services.
      sbp Set-PSBreakpoint Sets a breakpoint on a line, command, or variable.
      sc Set-Content Replaces the contents of a file with contents that you specify.
      select Select-Object Selects objects or object properties.
      set Set-Variable Sets the value of a variable. Creates the variable if one with the requested name does not exist.
      shcm Show-Command Creates Windows PowerShell commands in a graphical command window.
      si Set-Item Changes the value of an item to the value

      ඉහල තියන Commands පාවිච්චි කරලා අපිට පුළුවන් Windows operating system එකේ හුගක් දේවල් කරගන්න.

      මේ වගේ තවත් Tutorial එකකින් යලිත් හමුවෙමු.

      posted in Windows
      dinlinux
      dinlinux
    • Amazon Web Services (AWS) Tutorial Part 1

      What is Cloud Computing?

      Cloud computing is an internet-based service in which large groups of remote servers are networked to allow centralized data storage, and online access to computer resources. It saves money and time for organizations other than using there own servers and infrastructure.

      Main benefits for the organization using cloud computing are

      • Resources can be scale up or down to organizations requirement.

      • You only have to pay for what you use.

      • You can access your resources from any where any time with proper security.

      • Can add or remove services on demand.

      • You do not have to worry about disaster management or limited storage.

      There are three main cloud service models

      • Infrastructure as a Service (IaaS).
        Cloud infrastructure services, known as Infrastructure as a Service (IaaS), are made of highly scalable and automated compute resources. IaaS is fully self-service for accessing and monitoring things like compute, networking, storage, and other services, and it allows businesses to purchase resources on-demand and as-needed

      • Platform as a Service (PaaS)
        Cloud platform services, or Platform as a Service (PaaS), provide cloud components to certain software while being used mainly for applications. PaaS provides a framework for developers that they can build upon and use to create customized applications. All servers, storage, and networking can be managed by the enterprise or a third-party provider

      • Software as a Service (SaaS)
        Software as a Service, also known as cloud application services, represent the most commonly utilized option for businesses in the cloud market. SaaS utilizes the internet to deliver applications to its users, which are managed by a third-party vendor.

      Amazon Web Services is the most popular service provider which uses all the cloud service models above.

      posted in Cloud Computing
      dinlinux
      dinlinux
    • RE: AngularJS Guide Part 1

      Superb. Keep it up brother..

      posted in Front-End Development
      dinlinux
      dinlinux
    • RE: What's your programming language ?

      I'm using php with laravel framework and c# with .net framework.
      For scripting I'm using bash.

      posted in Comments & Feedback
      dinlinux
      dinlinux
    • RE: Google Code In

      ඔන්න ඔය වගේ ප්‍රශ්න වලට විසඳුම් ලබා දෙන්න තමයි අපි මේ lankadevelopers.com community එක හදලා තියෙන්නේ. අපි මේ ගැන දැනුවත් කරන්න වැඩසටහන් පාසල් සිසුන් අතරට ගෙන යන්න ඕනේ. මොකද Google code-in තියෙන්නේ පාසල් යන වයසේ දරුවන් වෙනුවෙන් නිසා.

      posted in General Discussion
      dinlinux
      dinlinux
    • We have enabled notifications...!!!

      Want know what is happening on the forum?

      Waiting for a question to be answered?

      No worries.. We have enable notifications for you..!!

      Just enable browser notifications as below.

      0_1543030909056_Screenshot from 2018-11-24 08-59-20.png

      1_1543030909058_Screenshot from 2018-11-24 08-59-29.png

      posted in Announcements
      dinlinux
      dinlinux

    Latest posts made by dinlinux

    • RE: how to solve this error in laravel

      Just install php mysql driver on your system. Please check your PHP version and install appropriate version..

      posted in Web Development
      dinlinux
      dinlinux
    • RE: Survey on payment methods in Sri Lanka

      @dev_lak Thanks Bro

      posted in General Discussion
      dinlinux
      dinlinux
    • RE: Survey on payment methods in Sri Lanka

      @root Thanks Bro

      posted in General Discussion
      dinlinux
      dinlinux
    • RE: What's your programming language ?

      I'm using php with laravel framework and c# with .net framework.
      For scripting I'm using bash.

      posted in Comments & Feedback
      dinlinux
      dinlinux
    • RE: Survey on payment methods in Sri Lanka

      Meka IT sambanda survey ekak. Digital payment methods walata lankawe aya kamathida kiyala balanna. Eka nisa oyala okkogema support eka balaporoththu wenawa.

      posted in General Discussion
      dinlinux
      dinlinux
    • RE: Survey on payment methods in Sri Lanka

      @40D3R Thank you.

      posted in General Discussion
      dinlinux
      dinlinux
    • Survey on payment methods in Sri Lanka

      මචන්ලා,

      පොඩි උදව්වක් ඕනේ අපි පොඩි Survey එකක් කරනවා ලංකාවේ payment method ගැන. ඔයාලා ඔක්කොගේම උදව් බලාපොරොත්තු වෙනවා. පහල තියන ලින්ක් එකට ගිහින් Survey document එක පුරවන්න.

      https://docs.google.com/forms/d/e/1FAIpQLSe45GwslB_YaQzi-8YP1d5MdMdyqycT1-PudQYY35bHePlYWg/viewform

      posted in General Discussion
      dinlinux
      dinlinux
    • RE: ⚖ Load Balancing vs ⚙ Failover

      Great post. Simple and accurate..

      posted in Blogs
      dinlinux
      dinlinux
    • RE: Need advice for my future .

      CCNA certification is a good and solid start to your career as a network engineer. Also Microsoft and Redhat certifications for system administration.
      Start small, experience is the best way for reaching your goals.
      Learn and use packet-tracer install Ubuntu dualboot with windows. Search on Google, watch YouTube video for learning.
      Be patinate about what you do. You'll be reaching your goals pretty quickly.

      posted in System & Network Configurations
      dinlinux
      dinlinux
    • RE: ලංකා ඩිවෙලොපර්ස් වෙනස් වෙන්න ඕනෙද ?

      මේ වගේ හැමෝගෙම සහයෝගය තියනවනම් නග්ගල ගන්න බැරි නෑ කොහොමටත්...

      posted in General Discussion
      dinlinux
      dinlinux