9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
In the bash below I am trying to loop through all the R1.gz in a directory (always 1), store them in ARRAY, and cut them before the second _. That is being done but I can't seem to print then one a single line seperated by a space. Is the below the best way or is there a better solution? Thank you... (3 Replies)
Discussion started by: cmccabe
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
So I struggled to find a solution to the following problem:
I want to make sed print only part of multiple different paths.
So lets say we have
/path/path1/path2/logs/bla/blabla
/path/path1/path2/path3/logs/yadda/yadda/yadda
Can someone suggest a way to make sed or other... (5 Replies)
Discussion started by: dampio
5 Replies
3. Shell Programming and Scripting
Given a directory containing say a few thousand files,
please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents.
func(a_directory_name) output -> {“matches”: , ... ]}
e.g. func(“/home/my/files”) where the directory... (7 Replies)
Discussion started by: anuragpgtgerman
7 Replies
4. Shell Programming and Scripting
Hi I have this code to print the current directory using Perl
use Cwd qw(abs_path);
my $path = abs_path($0);
print "$path\n";
But it is displaying my perl source code file along with the directory.
like this
C:\Perl\duration.pl
But I want it only to display this... (1 Reply)
Discussion started by: srijith
1 Replies
5. Shell Programming and Scripting
Hello,
I was given a (I suppose) a simple task which I don't know how to do. Before coming here I have read a dozen of awk tutorials (full read, not just line-skipping) but I still don't know how to do this.
Task:
Write an script file 'check.awk' with a parameter current directory that... (5 Replies)
Discussion started by: c0dehunter
5 Replies
6. Shell Programming and Scripting
Can any one tell me that how can i print all directory with their path in a given parent directory.
i.e. parent directory /home/usr/
Now this shoe directory may contain sevral directory
/home/usr
dir1/
dir1.1/
dir1.2/
dir2
dir2.1/
dir2.2/
... (5 Replies)
Discussion started by: jadoo_c2
5 Replies
7. Solaris
Hi all,
Operting system : Solaris 9
Oracle application: 11.5.10
i would like to ask query related to buffer area of pinter on solaris server.
we are trying to print cheques using oracle application on network printer.
some times it is printing the cheques with out any problem but... (1 Reply)
Discussion started by: maooah
1 Replies
8. Shell Programming and Scripting
I have directory of files listed with stats.
I need to print only files with the same stats to a file.
I tried this, and it printed a blank document.
*1556 > tmp/list
it did not work
any suggestions? (3 Replies)
Discussion started by: rocinante
3 Replies
9. Shell Programming and Scripting
At the moment I do not know anything UNIX script :rolleyes:
but i need to make script that prints the content of the archives
(of text) that are deposited in a directory and Later erases these
archives, leaving the directory emptiness
It would be like repository for print
please... (9 Replies)
Discussion started by: monica
9 Replies