Skip to main content
Walter A's user avatar
Walter A's user avatar
Walter A's user avatar
Walter A
  • Member for 11 years, 10 months
  • Last seen more than a month ago
  • Netherlands
9 votes

How do I substitute only first occurence with sed?

4 votes
Accepted

Cut a string up to a certain character

3 votes

KSH - if/then/else vs. double amps (&&) and double pipes (||)

3 votes

How to replace only the Nth occurrence of a pattern in a file?

3 votes

Is using "while true" to keep a script alive a good idea?

2 votes
Accepted

Grep ignores whitespace

2 votes

How do I declare and use a variable in crontab that will hold the name of the admin user account?

2 votes

bash $(printf "%s\n") does not create multiline

2 votes

How to read dash files

2 votes

Sorting bigger files gives segmentation fault

2 votes

bash restart mysql when it gone run well in SSH part, but not in cronjob

2 votes

sed remove characters from new line

2 votes

How can I run a specific line as a command in a text file?

1 vote

More concise methods for wrapping a file than using sed

1 vote

Linux script for printing name

1 vote

Stopping .bashrc without exiting shell

1 vote

sh script will not execute as root (cron)

1 vote

grep for strings that were found in a previous statement

1 vote

filter out length

1 vote

Sorting bigger files gives segmentation fault

1 vote

Search for matching files with wildcards without using find in a bash script

1 vote

Using grep in shell script

1 vote

Lots of elif, is there a better way?

1 vote

Sed incremental arithmetic

1 vote
Accepted

Recursively remove files with idx > 10,000

1 vote

Why cron jobs' output keeps getting written to ~/dead.letter?

1 vote

How to abbreviate /path/to/file to /p/t/file

1 vote

Rename files not directories

1 vote

Single "jq" command write to different files

0 votes

grepping a fixed string at the beginning of a line