We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
  • HackerRank Home

    HackerRank

  • |
  • Prepare
  • Certify
  • Compete
  • Hiring developers?
  1. Prepare
  2. Linux Shell
  3. Text Processing
  4. Cut #4
  5. Discussions

Cut #4

Problem
Submissions
Leaderboard
Discussions
Editorial
Tutorial

Sort 44 Discussions, By:

recency

Please Login in order to post a comment

  • florin_tanasa
    3 weeks ago+ 0 comments
    #!/bin/bash
    while read LINES ; do
    echo $LINES | cut -c 0-4;
    done
    
    2|
    Permalink
  • 0xF0ss
    3 weeks ago+ 0 comments
    #!/usr/bin/env bash
    # display the first 4 characters
    
    cut -c -4
    
    0|
    Permalink
  • carlos_eog97
    2 months ago+ 0 comments
    #!/bin/bash
    while read word
    do
        echo $word | cut -c -4
    done
    
    0|
    Permalink
  • jobfresher28
    3 months ago+ 0 comments

    Here are the solution of Cut #4 HackerRank Solution https://www.chase2learn.com/cut-4-hackerrank-solution/

    0|
    Permalink
  • morelocj
    4 months ago+ 0 comments

    cut -c -4

    0|
    Permalink
Load more conversations

Need Help?


View tutorial
View editorial
View top submissions
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy