06-02-2017
Quote:
Originally Posted by
RudiC
People in here might be in a position to help you with your real issue IF you precisely and verbosely describe the real issue you are facing.
If you repeat the title of the thread, my answer will be: "Modify the PS1 parameter".
Another equally helpful suggestion might be to tell you to stop removing your home directory (i.e.,
/root) while you are running whatever tests you're running in your test environment.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hallo,
i need a Prompting read in my script:
read -p "Enter your command: " command
But i always get this Error:
-p: is not an identifier
When I run these in c-shell i get this error
/usr/bin/read: read: bad option(s)
How can I use a Prompt in the read command? (9 Replies)
Discussion started by: wiseguy
9 Replies
2. UNIX for Dummies Questions & Answers
Can anyone tell me how to reset the command prompt back to the original 'bas'h prompt as these have all been changed via the /etc/profile to add username and hostname but some are too long. I just want to run it in a local .profile to put it back.
Thanks (2 Replies)
Discussion started by: skewbie
2 Replies
3. Shell Programming and Scripting
Hi,
I have a script which deletes various files on the last modified date.
command -
find /directory/ -mtime +0 -exec rm {} \;
How can I "simply" log the filenames of the files which are deleted?
I appreciate your help.
edits - would this work find /directory/ -mtime +0 -exec rm {}... (2 Replies)
Discussion started by: mcclunyboy
2 Replies
4. Shell Programming and Scripting
Input file:
2 aux003.net3.com error12
6 awn0117.net1.com error13
84 aux008 error14
29 aux001.ha.ux.isd.com error12
209 aux002.vm.ux.isd.com error34
21 alx0027.vm.net2.com error12
227 dux001.net5.com error123
22 us008.dot.net2.com error121
13 us009.net2.com error129Expected Output:
2... (4 Replies)
Discussion started by: sQew
4 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I'm completely new to bash scripting and still learning my way through albeit vey slowly.
I need to know where to insert my server names', my ip address numbers through out the script alas to no avail.
I'm also searching on how to save .sh (bash shell) script properly.... (25 Replies)
Discussion started by: profileuser
25 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
I've found this script part on the stackoverflow:
if ; then
sudo bash "$0" "$@";
exit "$?";
fi
I realized that sudo bash "$0" "$@"; is the only needed for me.
But the strange thing happens when I move this line outside the IF statement:
sudo bash "$0" "$@"; stops the... (9 Replies)
Discussion started by: boqsc
9 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
gnustep-tests
gnustep-tests(1) GNUstep System Manual gnustep-tests(1)
NAME
gnustep-tests - script to run a GNUstep testsuite
SYNOPSIS
gnustep-tests [ directory | test.m ]
DESCRIPTION
gnustep-tests runs the specified tests, or any tests found in the directory. If no arguments are given, the current directory and its sub-
directories are scanned and processed accordingly.
OPTIONS
--documentation
prints full details about the testing framework
--clean
deletes old logs and any leftover files
--failfast
stops after the first encountered test failure
--debug
runs any failed tests in gdb(1)
--developer
treats any hopes as real tests
--verbose
detailed log output
--sequential
disables parallel building
SEE ALSO
GNUstep(7)
AUTHORS
gnustep-tests was written by Alexander Malmberg <alexander@malmberg.org> and Richard Frith-Macdonald <rfm@gnu.org>.
This man page was written by Yavor Doganov <yavor@gnu.org>.
COPYRIGHT
Copyright (C) 2011 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
GNUstep 22/05/2011 gnustep-tests(1)