10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
2. Shell Programming and Scripting
Hello.
From a script, a command for a test is use :
find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc'
Tha command... (3 Replies)
Discussion started by: jcdole
3 Replies
3. UNIX for Beginners Questions & Answers
Under one of my directories on server I have more than 500 files with different type and name. When I run the find command to list the files with 'ABC_DEFGH' in the begining of its name and older than 20 days, nothing is return as result. Though I know there are more than 400 files which their name... (10 Replies)
Discussion started by: Home
10 Replies
4. Shell Programming and Scripting
Dear All,
I am planning to find the list of certificates(WEBshpere/MQ) on a servers.
My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult for... (4 Replies)
Discussion started by: sidh_arth85
4 Replies
5. Shell Programming and Scripting
Hi, Can somebody tell me which command will help me find whether the OS is 32 bit or 64 bit. OS is LInux
Thanks (3 Replies)
Discussion started by: aish11
3 Replies
6. Linux
I am trying to find pictures which contains a specific word in the file name.
For example any .JPG files that contains "lm" at the beginning or at the middle or at the end of the file name.
find / -iname "*.jpg" | ...what should go after the pipe?
regards,
Moaathe (2 Replies)
Discussion started by: kidwai
2 Replies
7. UNIX for Dummies Questions & Answers
I am using red hat linux server. I need to know what softwares installed on that server.
What command can i use to get this list?
Any help is highly appreciated. (2 Replies)
Discussion started by: govindts
2 Replies
8. Shell Programming and Scripting
Hi,
I am issuing find command below mentioned ways but it givs different count. I don't understand the behaviour. Could any one have any clue?
$ find . -mtime -5 -maxdepth 1 -exec ls -lrt {} \; | wc -l
169
$ find . -mtime -5 -maxdepth 1 | wc -l
47
$ find . -mtime -5 -maxdepth 1 | wc -l... (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
9. Shell Programming and Scripting
Hi all,
Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue...
Thanks (3 Replies)
Discussion started by: XivaX
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Can somebody tell me which command will help me find whether the OS is 32 bit or 64 bit.
Regards,
Giridhara Babu Tadikonda. (3 Replies)
Discussion started by: giribt
3 Replies