Getting "-bash-3.2#" prompt after logging to RHEL client

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Getting "-bash-3.2#" prompt after logging to RHEL client
# 8  
Old 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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

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

2. Shell Programming and Scripting

Explaining behaviour of sudo bash "$0" "$@";

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

3. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

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

4. UNIX for Dummies Questions & Answers

"Help with bash script" - "License Server and Patch Updates"

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

5. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

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. Shell Programming and Scripting

Simplify Bash Script Using "sed" Or "awk"

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

7. Shell Programming and Scripting

Logging - "file" and "rm"

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

8. UNIX for Dummies Questions & Answers

Reset prompt back to "-bash-3.00$"

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

9. Shell Programming and Scripting

read -p "prompt text" foo say "read: bad option(s)" in Bourne-Shell

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
Login or Register to Ask a Question
GHI(1)							      General Commands Manual							    GHI(1)

NAME
ghi - command-line interface to the GitHub Issues API SYNOPSIS
ghi command [arguments] [options] DESCRIPTION
This manual page documents briefly the ghi command. ghi is a command-line interface to the GitHub Issues API. It can be used to access all of GitHub's documented Issues API (v2) functionality from the command line: open, close and manipulate issues. If no command is given, the default action is list. If a number is given instead, the default action is show. COMMANDS
list [ -s open|closed|all ] Show open, closed or all issues (choose with -s, see below). Default is open. show number Show issue number. This command can be invoked also as ghi <number>. open [ number ], o [ number ] Create a new issue, and launch $EDITOR. If number is given, reopens that issue. open -m message, o -m message Create a new issue with message content (optionally, use for new lines; first line will be the issue title). close number, c number Closes issue number. edit number, e number Edit issue number with $EDITOR. label add|remove label number Add or remove label to/from issue number. You can use al or rl instead of, respectively, label add and label remove. search term, s term Search for term. comment number, m number Create a comment for issue number (with $EDITOR). OPTIONS
-h, --help Show summary of options. -v, --verbose Show issue details (only for show, list and search commands). Default is false. -V, --version Show program's version number and exit. -s STATE, --state=STATE Specify state (only for list and search (except "all") commands). Choices are: open (o), closed (c), all (a). Default is open. -r REPO, --repo=REPO, --repository=REPO Specify a repository. The format: "user/repo" or just "repo" (latter will get the user from the global git config). -w, --web, --webbrowser Show issue(s) GitHub page in web browser (only for list and show commands). Default is false. AUTHOR
github-cli was written by Sander Smits <jhmsmits@gmail.com>. This manual page was written by David Paleino <dapal@debian.org>, for the Debian project (and may be used by others). April 13, 2010 GHI(1)