10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to change the path for the command in a shell. I want to make it easier to type in the command when I run the shell. As of now, I have to type in /bin/ls but I want to just type in "ls" instead. I have altered the function below to do this but it's not working. It still must have the full... (1 Reply)
Discussion started by: JustinT2474
1 Replies
2. Shell Programming and Scripting
Hi all,
I am facing a situation here..
My default shell is BASH.
I have to change my shell from bash to ksh in ubuntu..
I have used chsh -s /bin/ksh. It doesn't work.
Is there any way to set or configure it..?
Please advice...:confused: (4 Replies)
Discussion started by: jdash.ps
4 Replies
3. UNIX for Dummies Questions & Answers
Hi
The line for input of my shell currently looks like in the image attached. What I wanted is for the line where I input, it showed in last, the folder I'm in (in the attached images is "Documents") and not my user name "Pedro_Gordo". How do I do this?
My OS is Mac OS X 10.6.
Thanks in... (7 Replies)
Discussion started by: tirwit
7 Replies
4. UNIX for Advanced & Expert Users
Hi..
I have a list of input files as below:-
NXUPM.P999309.201002011144
NXUPM.P999409.201002011145
NXUPM.P999509.201002011146
NXUPM.P999609.201002011146
NXUPM.P999682.201002011201
I want to change it as below:-
NXUPM.P999309_999408
NXUPM.P999409_999508
NXUPM.P999509_999608... (5 Replies)
Discussion started by: bh_hensem
5 Replies
5. Shell Programming and Scripting
I have a shell script that has following entry.
MEM_ARGS="-Xms256m -Xmx512m"
export MEM_ARGS
if ; then
if ; then
MEM_DEV_ARGS="-XX:CompileThreshold=8000 -XX:PermSize=48m "
export MEM_DEV_ARGS
fi
fi
# Had to have a separate test here... (3 Replies)
Discussion started by: rijeshpp
3 Replies
6. Shell Programming and Scripting
Hi all
I am a total newbie at anything to do with shells or any form of scripting Unix/Linux etc.
I have been trying to run through a tutorial on scripting but it requires the use of sh.
My FreeNAS(FreeBSD) test box running the latest nightly build as an embedded install on CF card has csh as... (14 Replies)
Discussion started by: npaisnel
14 Replies
7. IP Networking
How do I change domain name from shell?
And
How do I check the domain name from shell?
I know how to change hostname but not domain.
Please help me.
Thank you, (2 Replies)
Discussion started by: lucas
2 Replies
8. UNIX for Dummies Questions & Answers
Using !! or !x we can repeat previous command. If I want to repeat the command with something changed, what do I do? Say,
The prev. command
cat a.txt | grep "pp" > a.out
The new command
cat b.txt | grep "pp" > b.out
Is there a short way? (4 Replies)
Discussion started by: well_doing
4 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone:
Mi default shell is sh, i need to set the TMOUT variable so i need to change the shell to ksh, I change the /etc/profile file as follows, but when i do an echo $0 stll sh been the shell:
# more /etc/profile
#
# (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
# ALL RIGHTS... (2 Replies)
Discussion started by: irasela
2 Replies
10. Shell Programming and Scripting
hi ;
Right now my default shell on our school system is :
/bin/ksh
but i want to change it to another shell. There is also bash shell installed in the system as : /bin/bash
So, how can I change my default shell to bash shell? Or maybe any other shell? (17 Replies)
Discussion started by: milhan
17 Replies