DEV Community

Miss Pooja Anilkumar Patel
Miss Pooja Anilkumar Patel

Posted on • Updated on

195. leetcode Solution in Bash


# Read from the file file.txt and output the tenth line to stdout.
cat file.txt | sed -n '10p'
Enter fullscreen mode Exit fullscreen mode

Top comments (0)