10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
2. Shell Programming and Scripting
I wish to traverse the latest to the oldest directory based on its timestamp.
ls -ltr
drwxr-x--- 3 admin bel 1024 Jan 22 02:29 sys
drwxr-x--- 2 admin bel 2048 Jan 22 02:30 admin
drwxr-x--- 10 admin bel 24576 Jan 23 21:31 bin
For the above i need to cd first to... (2 Replies)
Discussion started by: mohtashims
2 Replies
3. Shell Programming and Scripting
Hi,
I want to display latest files (created or modified) recursively in a path.
I tried in different ways, but didn't get any desired output:
find $path -type f -exec ls -lt {} \; | sort -n -r
find $path -type f -printf %p";" | xargs -d ";" ls -t
Second one is giving the error:... (21 Replies)
Discussion started by: karumudi7
21 Replies
4. UNIX for Dummies Questions & Answers
I am trying to create Oracle user. I will install oracle after that. But my problem is /home/oracle directory is not being created.
bash-3.2# useradd -g oinstall -G dba,oper -d /home/oracle -m oracle
cp: /home/oracle: Operation not applicable
chown: /home/oracle: No such file or directory
... (3 Replies)
Discussion started by: hubatuwang
3 Replies
5. AIX
how to find the date on which a particular directory is created?
Thanks. (4 Replies)
Discussion started by: samsungsamsung
4 Replies
6. Shell Programming and Scripting
I Need help for one requirement,
I want to move the latest/Older file in the folder to another file. File have the datetimestamp in postfix.
Example:
Source Directory : \a
destination Directory : \a\b
File1 : xy_MMDDYYYYHHMM.txt (xy_032120101456.txt)
File2: xy_MMDDYYYYHHMM.txt... (1 Reply)
Discussion started by: pp_ayyanar
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have some list of directories in the form datemonthyear e.g. 02082009, 03082009 and 04082009 etc.
I need to pick the latest directory from the current working directory.
Outcome:
05082009
This is the output am expecting.
Thanks (6 Replies)
Discussion started by: venkatesht
6 Replies
8. UNIX for Advanced & Expert Users
I have created a new user account on my openssh system.But the .ssh directory was not created under my home dir home/A00d56/. Could any one please suggest me whether the .ssh directory will be created automatically when we add the new user or we need to manually create that after?
The use of... (3 Replies)
Discussion started by: srrao.ch
3 Replies
9. UNIX for Dummies Questions & Answers
I have created a new user account on my openssh system.But the .ssh directory was not created under my home dir home/A00d56/. Could any one please suggest me whether the .ssh directory will be created automatically when we add the new user or we need to create that after?
The use of this new... (3 Replies)
Discussion started by: srrao.ch
3 Replies
10. UNIX for Dummies Questions & Answers
everytime a new logfile get created at certain interval of time and i want a
simple shell script program which cat the lastest log file when manually excuted (1 Reply)
Discussion started by: vkandati
1 Replies