Sponsored Content
Operating Systems Linux Fedora Bash shell problem on Fedora Linux Post 303010052 by jim mcnamara on Monday 25th of December 2017 09:52:47 AM
Old 12-25-2017
I am guessing: On the problem box, there is a spurious non-printing character in the environment variable(s) you have defined. I do not know what you have defined, but if you have local (Ex: .bashrc) files or other "hidden" files sprinkled around you have to validate them to locate where you picked up the garbage.

Start with your home directory.

Code:
set | od -c   # check your existing variables for junk
od -c [ .filename ]   # check your initialization and setup files

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

problem with while loop in BASH shell

I have file named script1 as follows: #!/bin/bash count="0" echo "hello" echo "$count" while do echo "$count" count=`expr $count + 1` done ----------- when I run it, I get ./script1: line 9: syntax error near unexpected token `done' ./script1: line 9: `done' I... (6 Replies)
Discussion started by: npatwardhan
6 Replies

2. Shell Programming and Scripting

problem using arrow keys in bash shell

hello everybody, as many, I have a problem with a script... I wrote a shell script in which I want to read a variable value. the problem is that I can't use the arrow keys. Here is the script I use : #!/bin/bash stty erase ^H read foune echo "$foune" exit 0; the problem is... (2 Replies)
Discussion started by: Moumou
2 Replies

3. Shell Programming and Scripting

rm:command not found in linux Bash shell script

Hi All, Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux Issue: While executing shell scripts in bash shell, following error messages are thrown: rm:command not found On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Discussion started by: a1_win
9 Replies

4. Shell Programming and Scripting

Problem with bash shell script program

Hi, This is my program. #!/bin/bash today=`date +"%b-%d-%Y"` SERVICE="pbxconnect.php" if ; then echo "pbx program is running" else nohup php pbxconnect.php > logpbx-$today.txt & fi On executing using "sh myprogram.sh" , i get the following error. myprogram.sh: line 4: ' My... (7 Replies)
Discussion started by: gskumar1234
7 Replies

5. Shell Programming and Scripting

PLEASE HELP! LINUX BASH SHELL SCRIPT

PLEASE HELP! NEED LINUX SCTIPT Need to write a bash shell script to show information of employees of a department from a company data set. The script should accept a project number (1/2/3/10/20/30) and output * the name of the project * the name of the manager of the controlling... (1 Reply)
Discussion started by: help123
1 Replies

6. Homework & Coursework Questions

LINUX Bash Shell Script

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a bash shell script that presents work information of employees of a department from a company data... (1 Reply)
Discussion started by: help123
1 Replies

7. Shell Programming and Scripting

problem with rsh in bash shell

Hello All, I am trying to gather output of df -k from remote server to local server using below line: rsh <host> df -k >/tmp/space_remote_host.txt Why above throws following error message:(I've deleted the IP address in below chunk) connect to address ..: Connection refused Trying... (2 Replies)
Discussion started by: InduInduIndu
2 Replies

8. Shell Programming and Scripting

UNIX Korn Shell to Linux Bash

Migrating Unix batch jobs (Korn Shell) running in HP-UX server to Linux environment. Hi All Please help me to understand the easiest way to migrate Kernel Shell scripts to Linux Bash. Also let me know 1. Any automated scripts or tools available for this. 2. Challenges and issues... (5 Replies)
Discussion started by: cpremesh
5 Replies

9. Shell Programming and Scripting

Initialize file name bash shell - Linux

I am trying to initialize a file name in bash but not having much luck. For example, one of my bash scripts outputs a file named "FILE_1000G.vcf". I would like to rename FILE to match with the user's name. This is my code: set -e echo "Please enter your filename:" read filename rename... (6 Replies)
Discussion started by: Geneanalyst
6 Replies

10. UNIX for Beginners Questions & Answers

Bash Shell Linux

I have a csv file that looks like this Name,Food,Sport James,Curry,Gym Darren,Pizza,Football Jim,Fish,Hockey James,Sushi,Tennis My code looks like this IFS="," sed 1d $file_name | while read Name Food Sport do mkdir -p $Name #echo "==================" #echo "Name: $Name" (3 Replies)
Discussion started by: darklord173
3 Replies
rheolef-config(1rheolef)					    rheolef-6.1 					  rheolef-config(1rheolef)

NAME
rheolef-config -- get installation directories EXAMPLE
The following command returns the rheolef libraries directory: rheolef-config --libdir An environment sanity check writes: rheolef-config --check DESCRIPTION
This command is usefull when linking executables with rheolef: libraries locations are required by the link editor. Such directories are defined while configuring rheolef, before to compile and install see . Installing}'. The rheolef-config command returns these settings. Note that rheolef-config could be used in Makefiles for the determination of linker flags. Another usefull feature is the --check option. When rheolef is installed in a user directory, i.e. not as root, the sane run-time environ- ment depends upon two environment variables. The first one is the PATH: bkindir directory may be present in PATH. The second environment variable is related to shared libraries, and its name is system-dependent, e.g. LD_LIBRARY_PATH on most platforms and SHLIB_PATH on HP-UX. Its content may contains bindir. rheolef-config --shlibpath-var Since it is a common mistake to have incorrect values for these variable, for novice users or for adanced ones, especialy when dealing with several installed versions, the environment sanity check writes: rheolef-config --check If there is mistakes, a hint is suggested to fix it and the return status is 1. Instead, the return status is 0. FILE OPTIONS
--version rheolef version. --help print option summary and exit. --prefix install architecture-independent files location. --exec-prefix architecture-dependent files location. --includedir include header directory. --bindir executables directory. --mandir man documentation directory. --libdir object code libraries directory. --datadir --datarootdir read-only architecture-independent data location. --pkgdatadir read-only architecture-independent data location; specific for package. --includes include compiler flags. --libs library compiler flags. --shlibpath-var the shared library path variable. --library-interface-version the library interface version. --hardcode-libdir-flag-spec flag to hardcode a libdir into a binary during linking. --is-distributed true or false: whether it is the distributed version. --have-old-code --have-new-code true or false: whether it is the new/old code branch that is installed. rheolef-6.1 rheolef-6.1 rheolef-config(1rheolef)
All times are GMT -4. The time now is 09:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy