12-16-2016
In what way did they not work? "Does not work" is manifestly unhelpful. They might be one minor correction away from working for all we know - rejecting them out of hand without even bothering to explain why is a huge waste of our time and effort.
- Show what you tried, word for word, letter for letter, keystroke for keystroke.
- Show what happened. Do not paraphrase. Show the real result.
- Show how the result is different from what you wanted.
Either work with the people trying to help you, or I will close this thread.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. AIX
hello
i have a requirement where i have a direcotry in which i get files in the format
STOCKS.20080114.dat
STOCKS.20080115.dat
STOCKS.20080117.dat
STOCKS.20080118.dat
i need to loop through the directory and sort by create date descending order and i need to process the first file.
... (1 Reply)
Discussion started by: dsdev_123
1 Replies
2. Shell Programming and Scripting
Hi Expert,
Need your scripting and finding data so that it help me to find the culprit of this memory usage error.
Data provided here is a sample.
Process Snapshot directory: /var/spool/processes-snapshot
webdev9o9% pwd
/var/spool/processes-snapshot
webdev9o9% ls -lrct
-rw-r--r-- ... (3 Replies)
Discussion started by: regmaster
3 Replies
3. Shell Programming and Scripting
what's the command to find the creation date of a certain dirctory? (1 Reply)
Discussion started by: miss_dodi
1 Replies
4. Shell Programming and Scripting
Hi All,
Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can... (3 Replies)
Discussion started by: dsfreddie
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job.
Please help (2 Replies)
Discussion started by: sam192837465
2 Replies
6. Shell Programming and Scripting
I have a bash that downloads a list and if that list has data in it then a new main directory is created (with the date) with several subdirectories (example1, example2, example3). My question is in that list there are portion of specific file types (.vcf.gz) - identifier towards the end that have... (0 Replies)
Discussion started by: cmccabe
0 Replies
7. Shell Programming and Scripting
Hello, how in bash i can get directory loop, but only choose those folders with specific word in it, so it will only echo those with specific word
#!/bin/bash
for filename in /home/test/*
do
if ; then
echo $filename;
fithx! (4 Replies)
Discussion started by: ZerO13
4 Replies
8. UNIX for Beginners Questions & Answers
Hi everyone :-)
I ran into a small issue. I would like to copy some files in the precise order they were created.
So the oldest files should be copied first and the newest ones last.
I tried cp -r $(ls -1t) ./destination but the files are still not sorted properly. I was thinking, that... (11 Replies)
Discussion started by: officiallyme
11 Replies
9. Shell Programming and Scripting
i read here that linux provides no way to determine when a directory was created.
https://www.unix.com/shell-programming-and-scripting/157874-creation-date-directory.htmlI have a directory /home/andy/scripts that had a README file in it.
That file says
I put the script in that directory and... (3 Replies)
Discussion started by: drew77
3 Replies
10. UNIX for Beginners Questions & Answers
Hi everyone
I need some help
I want to create an script which does some processing
it takes the two arguments 201901010000 and 201901020200 - so YYYMMDDHHMM
I want to split processing into hours from start until end,
I dont get why this works but when I add to a future variable... (1 Reply)
Discussion started by: kl1ngac1k
1 Replies
LEARN ABOUT DEBIAN
systool
SYSTOOL(1) General Commands Manual SYSTOOL(1)
NAME
systool - view system device information by bus, class, and topology
SYNOPSIS
systool [options [device]]
DESCRIPTION
Calling systool without parameters will present all available bus types, device classes, and root devices.
When device is supplied, the information reqested by options is shown only for the specified device, otherwise all present devices are dis-
played.
systool uses APIs provided by libsysfs to gather information. systool runs only on Linux systems running kernels 2.5 or later, with the
sysfs filesystem mounted.
OPTIONS
-a Show attributes of the requested resource
-b bus Show information for a specific bus
-c class
Show information for a specific class
-d Show only devices
-h Show usage
-m module_name
Show information for a specific module
-p Show absolute sysfs path to the resource
-v Show all attributes with values
-A attribute
Show attribute value for the requested resource
-D Show only drivers
-P Show device's parent
SEE ALSO
The web page of libsysfs at http://linux-diag.sourceforge.net/Sysfsutils.html
AUTHOR
systool was written by Ananth Mavinakayanahalli <ananth@in.ibm.com> and Daniel Stekloff <dsteklof@us.ibm.com>.
This man page was contributed by Martin Pitt <mpitt@debian.org> for the Debian GNU/Linux system (but may be used by others).
Martin Pitt October 12, 2003 SYSTOOL(1)