10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to unix. Kindly help me on this.
My requirement is as below:
I have a path temp/input , temp/CL and temp/CM
I have files in temp/input as below (dates in YYYYMMDDHHMISS)
NMP1515O.CL.20181026111213
NMP1515O.CM.20181025111213
... (4 Replies)
Discussion started by: Shanmugapriya D
4 Replies
2. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I'm trying to use a directory path to enter a new directory and sort the files there. I'm using the language C with a system call in Unix to sort the files from smallest to largest.
2. Relevant commands, code, scripts, algorithms:... (1 Reply)
Discussion started by: TedFTW
1 Replies
3. Shell Programming and Scripting
Hello everyone,
I am working on this bash script and I can't seem to get this last part right. It's really trivial but I must not be doing something right. I want to sort files by their size in reverse order (largest to smallest). My script right now sort of tdoes this but there is one file that... (3 Replies)
Discussion started by: tastybrownies
3 Replies
4. Shell Programming and Scripting
Hi ,
I am trying to get the folder details having size more than sme specified value and also the name of the folder should be like TEST.
so
1. In the current directory search for all the folders having name like TEST
2. Print the list of the folder names having size more than 100... (3 Replies)
Discussion started by: Anupam_Halder
3 Replies
5. Solaris
Hi Forum,
I need to know the size of some user home folders.
I've exported an account list from an Active Directory and wrote it into a file like:
user_1
user_2
user...
user_n
and tried "du -sh < filename", which doesn't work. Get no results.
I don't need the size of all home... (3 Replies)
Discussion started by: borsti007
3 Replies
6. Shell Programming and Scripting
I've got an assignment where I've made a script that searched and found files that meet certain requirement. (Files that are a size that is from "x" to "y" in size and has a certain name).
The script sends the output to a file that gathers the info.
The problem is I'd like to sort what's... (3 Replies)
Discussion started by: BobbyTee
3 Replies
7. UNIX for Dummies Questions & Answers
I am trying to get the total size of the folder using the below command
but its not working. any ideas?
du -bc <foldername>/|grep total|tr -s " "|cut -d" " -f1
the output i am getting is
78996 total
but i just want it to be as
78996
please help (3 Replies)
Discussion started by: classic
3 Replies
8. UNIX for Dummies Questions & Answers
hi,
is possible to calculate the size of a folder using ls ?
ls -s works only for files..
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
9. UNIX for Dummies Questions & Answers
Is there a way to limit a certain folder size(e.g. Documents, Desktop)?
:) (2 Replies)
Discussion started by: tisdmin
2 Replies
10. Shell Programming and Scripting
Hi,
I have one file stat.
Stat file contents are as follows: for example.
H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000
H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000
Now i... (1 Reply)
Discussion started by: davidpreml
1 Replies