## Hackerrank – Sort Command #2

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash sort -r |

Solution also available on my GitHub.

Skip to content
#
Pavol Pidanič

## I can count to 1023 with 10 fingers

# Tag: bash

## Hackerrank – Sort Command #2

## Hackerrank – Sort Command #1

## Hackerrank – ‘Tr’ Command #2

## Hackerrank – ‘Tr’ Command #1

## Hackerrank – Head of a Text File #2

## Hackerrank – Head of a Text File #1

## Hackerrank – Cut #2

## Hackerrank – Cut #1

## Hackerrank – ‘Grep’ #2

## Hackerrank – ‘Grep’ #1

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash sort -r |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash sort -n |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash tr -d [a-z] |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 |
#!/bin/bash tr "(" "[" | tr ")" "]" |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash head -c 20 |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#/bin/bash head -n 20 |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash cut -c2,7 |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash cut -c3 |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash grep -i "\bthe\b" |

Solution also available on my GitHub.

Problem Statement A description of the problem can be found on Hackerrank. Solution

1 2 3 |
#!/bin/bash grep "\bthe\b" |

Solution also available on my GitHub.