10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi .. greetings ...i need help in bash programming. i am on linux mint.
i have two .sh files.(netcheck.sh and dlinkreboot.sh).. please note . both bash files are working perfectly well independently... but cant work together. . in short i want one bash file to call the other bash file... (2 Replies)
Discussion started by: emmfranklin
2 Replies
2. Shell Programming and Scripting
As part of a bash the below line strips off a numerical prefix from directory 1 to search for in directory 2.
for file in /home/cmccabe/Desktop/comparison/missing/*.txt
do
file1=${file##*/} # Strip off directory
getprefix=${file1%%_*.txt}
... (5 Replies)
Discussion started by: cmccabe
5 Replies
3. Shell Programming and Scripting
In the bash below I am asking the user for a panel and reading that into bed. Then asking the user for a file and reading that into file1.Is the grep in bold the correct way to apply the selected panel to the file? I am getting a syntax error. Thank you :)
... (4 Replies)
Discussion started by: cmccabe
4 Replies
4. Shell Programming and Scripting
Dear Friends,
I am using Ubuntu 15.10, 34 bit system. I added a Nautilus-Actions script in shell script to convert PDF files to text. There are 2 types of PDF
1. Scanned PDF -- Not OCR type -- When I convert it to text it work , but as the part it must (text file) open in gedit . But I can see... (2 Replies)
Discussion started by: anespa
2 Replies
5. Shell Programming and Scripting
In the below bash a file is downloaded when the program is opened and then that file is searched based on user input and the result is written to a new file.
For example, the bash is opened and the download.txt is downloaded, the user then enters the id (NA04520). The id is used to search... (5 Replies)
Discussion started by: cmccabe
5 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am using Unix, I have added below in the .profile to change my prompt value.
PS1=`logname`@`hostname`:$PWD#
The problem is, after changing the directory, path is not being refreshed. Is there anything wrong?
Thanks,
Milind (2 Replies)
Discussion started by: mgpatil31
2 Replies
7. Post Here to Contact Site Administrators and Moderators
Dear Admins,
I think it would be good if the page is auto-refreshed after some duration.
generally I do a manual reload/refresh from browser to get the new post/updates.
I am not very sure if its already being done (may be the duration is too long?). (1 Reply)
Discussion started by: clx
1 Replies
8. Shell Programming and Scripting
Hello,
This is my first post on the forums. So I want to start by thanking anyone who is kind enough to read this post and offer advise. I hope to be an active contributor now that I've found these forums.
I have an issue that I figure would be a good first post..
I have 2 text files... (5 Replies)
Discussion started by: efciem
5 Replies
9. Solaris
Hi,
I am having a wierd problem in one of the Solaris server.
root@ussd # uname -a
SunOS ussd 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-280R
The problem is that terminal is not refreshing when we run commands like
prstat, tail -f "some log file", sar -u 1 10
Also, sleep... (3 Replies)
Discussion started by: vikas027
3 Replies
10. Shell Programming and Scripting
Hi
I have a question, what is the purpose of this command and what will it do
"refresh -s inetd"
Thanks in Advance
Swaraj (3 Replies)
Discussion started by: kswaraj
3 Replies