How to modify the PATH variable and make it executable?
Answer Posted / shailendra kumar tiwary
we can set PATH by using export PATH command.
ex:-
PATH=/opt/j2sdk1.4.2_04/bin:............
export PATH
and to make it executable we can set the same
in ".bash_profile".
To execute it ". .bash_profile"
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does $1 mean in bash?
What is an sh file?
What is computer cli?
What is the significance of $#?
c program to display the information of given file similar to givan by the unix or linux command ls -l
What is the default ubuntu terminal?
What does path stand for?
How does path variable work?
How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }
how will you find the total disk space used by a specific user?
How can the contents of a file inside jar be read without extracting in a shell script?
What is shift command in shell script?
What language is shell scripting?
I want to create a directory such that anyone in the group can create a file and access any person's file in it but none should be able to delete a file other than the one created by himself.
What will happen to my current process when I execute a command using exec?