Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 43762

A script is a sequence of commands or instructions that are executed by an interpreter program rather than compiled into a standalone executable program.

1 vote

Sorting by 2 fields in ksh

This is what I came up with, doubt it's the most effective way and would like to see something more efficient. However, it does the job sort test.txt | awk -F':' '{print $1}' | uniq > unique.txt whi …
debal's user avatar
  • 3,764
4 votes
Accepted

Delete files with same name at the end of the file

rm -- *.php.php this will delete all files that have more than one php extension for all sub directories you need find /scripts/tmp -name "*.php.php" -exec rm {} + /scripts/tmp is the directory un …
debal's user avatar
  • 3,764