10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi ALL,
I am trying to find the installed tomcat version and location of the server.xml file to get the tomcat port number.
Using below script to do that.
#!/usr/bin/env bash
var1=$(find / -name "version.sh" ! -size 0 2>&1 |egrep -v "tmp|docker")
for loc1 in $var1
do
... (1 Reply)
Discussion started by: sravani25
1 Replies
2. UNIX for Beginners Questions & Answers
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies
3. Shell Programming and Scripting
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Discussion started by: GG2
1 Replies
4. Shell Programming and Scripting
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies
5. UNIX for Dummies Questions & Answers
Is it possible to make rsync output a list of all the files transferred to a separate text file? If so how?
I wondered if the --write-batch=FILE optionis what I need
Thanks (1 Reply)
Discussion started by: barrydocks
1 Replies
6. UNIX for Dummies Questions & Answers
How do you set the classpath for jre location....What are all the steps? (4 Replies)
Discussion started by: siddhans
4 Replies
7. Solaris
I want equivalent of ftp in sftp for listing of files into local machine from sftp location.
ftp>ls -l list.txt
the above creates a file list.txt in the local machine's current directory.
sftp>ls -l list.txt
it is giving
Couldn't stat remote file: No such file or directory
is there... (1 Reply)
Discussion started by: megh
1 Replies
8. Shell Programming and Scripting
I know this is probably simple, but the brain cells that originally stored my shell scripting classes from 10+ years ago have long since been drowned in beer.
I need to create a string (to append to a file) containing a path derived from the current path. Basically, I want to append "/something"... (3 Replies)
Discussion started by: Spetnik
3 Replies
9. UNIX for Dummies Questions & Answers
hi all,
i wanna ask where is unix-screen-binary path location?
i cannot find it in /usr/bin or /bin or using man command
thx before (3 Replies)
Discussion started by: venven
3 Replies
10. UNIX for Dummies Questions & Answers
Hello, I'm trying to utilize rsync to backup 7 gigs of approximately 10,000 files, from what I've read this should be no sweat. However subsequent syncs seem to build an entirely new file list and the process takes a great deal of time. Reading the man page I'm not sure if I need to specify a file... (3 Replies)
Discussion started by: hexaplus
3 Replies