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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 161934

Questions about shell scripts, executable files that are interpreted by a shell (bash, zsh, etc.).

1
vote
3answers
I want to make a directory name by extracting parts of a file name. Here are some examples: server.log.2016-03-20-14 → 20160320 server-2016-03-17-13-16-Restart.log → 20160317 I'm using HP-UX.
asked Mar 20 '16 by Chirag Dhaduk
3
votes
2answers
I want to create directory name from a file's modification time. For example, if the file creation or modification time is 03/17/2016 18:00:00 then I want to create a directory named 1703206. I'm usin …
asked Mar 20 '16 by Chirag Dhaduk
0
votes
2answers
i am using awk command to get creation date of file and from that i m fetching day,month and year but for 1-9 digit i am getting output like 2016041 but i want output 20160401. D=$(ls -ltr $line | aw …
asked Apr 10 '16 by Chirag Dhaduk
0
votes
2answers
I want to move log files which are older than two days to a new directory by date, like below. Source: 1) /Test1/Server.log 2) /Test1/Server17032016.log Destination: 1)/Test2/17032016/Server17032 …
asked Mar 19 '16 by Chirag Dhaduk
0
votes
1answer
I am trying to get all file which is reside in one folder and file name have space like 1)File Test 050791.xml and i am fetching using below command export srcfileTimeCheck="$(find $dir -type f - …
asked Mar 19 '16 by Chirag Dhaduk