Skip to main content
ghostdog74's user avatar
ghostdog74's user avatar
ghostdog74's user avatar
ghostdog74
  • Member for 15 years
  • Last seen more than 9 years ago
4741 votes
Accepted

Find (and kill) process locking port 3000 on Mac

3157 votes
Accepted

Find all files in a directory with extension .txt in Python

3031 votes
Accepted

How to convert a string to lower case in Bash

1093 votes

How do I find files that do not contain a given string pattern?

843 votes
Accepted

Extract file basename without path and extension in bash

782 votes
Accepted

Ternary operator (?:) in Bash

773 votes

How do I rename the extension for a bunch of files?

613 votes

How to loop over directories in Linux?

517 votes
Accepted

How to check whether a file is empty or not

465 votes
Accepted

Read a variable in bash with a default value

464 votes

How do I reverse a list or loop over it backwards?

439 votes
Accepted

How can I get a recursive full-path listing, one line per file?

355 votes
Accepted

Intersection of two lists in Bash

322 votes

Get the date (a day before current time) in Bash

318 votes
Accepted

Finding and replacing elements in a list

291 votes

How to find the length of an array in shell?

282 votes

What is $@ in Bash?

252 votes

Bash command to sum a column of numbers

252 votes
Accepted

PHP Get all subdirectories of a given directory

252 votes

How do I prompt a user for confirmation in bash script?

223 votes
Accepted

Passing a string with spaces as a function argument in Bash

200 votes
Accepted

The easiest way to replace white spaces with (underscores) _ in bash

185 votes

Find and kill a process in one line using bash and regex

173 votes

Unzip All Files In A Directory

159 votes

What is the difference between sed and awk?

156 votes
Accepted

reading tar file contents without untarring it, in python script

152 votes

How can I redirect the output of the "time" command?

149 votes

shuffle string in python

141 votes
Accepted

An efficient way to transpose a file in Bash

140 votes
Accepted

Concatenate text files with Windows command line, dropping leading lines

1
2 3 4 5
100