9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
$ ls -1
$ ls -1 *
$ ls -1 **
x_b.1The last result is not as expected.
Thanks. (2 Replies)
Discussion started by: carloszhang
I am trying to find a particular string in a path, but able to do so.
I tried through grep command but its taking so long time which is not appropriate.
Path : /oct/oracle/apps/OMEC/appl/xxaterp/1.0/reports/US/
Suppose in this path we have 10 .rdf file and I want to... (2 Replies)
Discussion started by: Vikash163
3. Shell Programming and Scripting
If I enter (simplified):
find . -printf "%p\n"
then all files in the output are prepended by a "." like
How can achieve that
a.) the leading "./" is omitted
b.) the full path to the current directory is inserted (enclosed by brackets and a blank)... (1 Reply)
Discussion started by: pstein
4. Homework & Coursework Questions
Hello, have anybody any idea, how to negate some expression?
I have code that greps somethnig and I want filter from it some results...How to make it?
grep 'some regex' | grep '$IDontWantThisExpression' testfile.txt
Thanks for any advices.
Faculty of... (2 Replies)
Discussion started by: Dworza
5. Shell Programming and Scripting
I've been searching the internet and can't find an answer to this. Im trying to figure out how to negate a whole expression befor an if. I'll explain below.
] (this is false) I would like to negate this whole boolean condition. To negate the above... (4 Replies)
Discussion started by: rethymno19
6. Shell Programming and Scripting
Iam new to this forum,
could you pleae advise for below question
iam send path as input before proceding i need to validate the path if it is exit or not if not it show path id not exist
if the path is exits iam sending file name as input to search the file on the paricular... (5 Replies)
Discussion started by: saic
7. Shell Programming and Scripting
Is there any way to find the the path of a file?
I mean executable files and just anyother file we can think of?
i know of one cmd called which
this is fine, but "mount" is a cmd not a file that can be searched
eg: say i have created a text file... (3 Replies)
Discussion started by: wrapster
8. Shell Programming and Scripting
I am taking an online course on Unix scripting. The topic is Unix arithmetic operators and the lesson is Logical and bitwise operations. It is not clear how much storage space Unix uses to represent integers that are typed. Bitwise negation caused me to question how many bits are used to... (3 Replies)
Discussion started by: dLloydm
I am learning UNIX through the School of Hard Knocks, I have very limited exposure to it.
I managed to install Solaris 10 on my machine recently, and have downloaded and installed Sun Studio 11. When the installation of Sun Studio was complete, the GUI displayed the following:
(Bourne shells)... (7 Replies)
Discussion started by: trmn8r