Opening a terminal with bash


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Opening a terminal with bash
# 1  
Old 05-03-2011
Opening a terminal with bash

Hi,

The computer that I use is on a network and has the exact same installation as other computers on the network (Ubuntu 10.04 LTS). When I open a new terminal window by default it opens a tcsh shell. I don't have the root privilege to modify it.

Is it possible to open a terminal window that will run a bash shell? If yes, how?

Thanks in advance,
Gaurab
# 2  
Old 05-03-2011
Add exec /bin/bash to your ~/.tcshrc, tcsh will load this file and cause it to run a bash shell on login.

If you ever really do need tcsh, you'll have to run tcsh -f to make it bypass these files.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 05-03-2011
Thank you very much. That works like a charm.

I have another question (maybe not very relevant). I want "open in terminal" option in the context menu in a folder in nautilus. I know it's possible by installing "nautilus-open-terminal" package, but I don't have root privilege. Is it possible to do it without the root privilege?
# 4  
Old 05-04-2011
Quote:
Originally Posted by Corona688
Add exec /bin/bash to your ~/.tcshrc, tcsh will load this file and cause it to run a bash shell on login.

If you ever really do need tcsh, you'll have to run tcsh -f to make it bypass these files.
This works great but when I want to get something from the computer remotely using scp, it gets stuck. I mean, the scp command just hangs in there.


Any suggestion how to solve this issue?
# 5  
Old 05-04-2011
Does it work when you remove the command from your tcshrc?
# 6  
Old 05-04-2011
Yes, it does.
# 7  
Old 05-04-2011
That's what you'll have to do, then.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Groups are disappearing on opening of new konsole/terminal

Hi when I open a new KDE/terminal all my project groups are disappearing. help is much appreciated. Thanks Sujay (2 Replies)
Discussion started by: sujaybatni
2 Replies

2. Shell Programming and Scripting

Display-performance in terminal, bash or python?

Heyas I've been working on my project TUI (Text User Interface) for quite some time now, its a hobby project, so nothing i sit in front of 8hrs/day. Since the only 'real' programming language i knw is Visual Basic, based upon early steps with MS-Batch files. When i 'joined' linux 3 years ago,... (7 Replies)
Discussion started by: sea
7 Replies

3. Shell Programming and Scripting

Bash - hide a terminal cursor

Is it possible to make Linux terminal cursor invisible in bash script? (1 Reply)
Discussion started by: xqwzts
1 Replies

4. Web Development

Help with opening/viewing doc file via linux terminal

I am currently trying to open a .doc file in my workstation via terminal. This is my code: root@ojt:/home/ojt/Desktop# cat arts_life.doc and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (4 Replies)
Discussion started by: chams
4 Replies

5. UNIX for Dummies Questions & Answers

Help with opening/viewing doc file via linux terminal

I am currently trying to open a .doc file in my workstation via terminal. This is my code: root@ojt:/home/ojt/Desktop# cat arts_life.doc and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (2 Replies)
Discussion started by: chams
2 Replies

6. Shell Programming and Scripting

Run bash script without terminal

How can I make a bash script that keeps on running after I have closed the terminal? Or a script that runs without having the terminal window open? (1 Reply)
Discussion started by: locoroco
1 Replies

7. UNIX for Dummies Questions & Answers

How to search a file in bash terminal?

Hi all, I am new to unix. Anyone knows how to search a file in bash terminal, please kindly tell me. For example, I want to search file named "myfile" in the entire machine... Thanks a lot:) (2 Replies)
Discussion started by: andrewust
2 Replies

8. IP Networking

start a new terminal from a script after opening VPN

Hi all, I am trying to write a script that launch the cisco vpn client from the command line and then connects to a remote host using ssh. When i connect to the cisco vpn using vpnclient client connect the last lines of output from that client is Encryption: 168-bit 3-DES Authentication:... (0 Replies)
Discussion started by: borderblaster
0 Replies

9. Shell Programming and Scripting

How to execute a bash file in terminal?

How do I execute a bash file in the terminal, after I created one? (2 Replies)
Discussion started by: Hyunkel
2 Replies

10. UNIX for Dummies Questions & Answers

Opening a file from the terminal

Hi, this is such a simple question (I think), but I don't know the answer, obviously. If I'm using the terminal, and I'm remotely logged on to another computer, and I'm in my directory on that computer, what command would I use to...open a file? For example, a .exe file, or a .txt file...all I want... (6 Replies)
Discussion started by: Djaunl
6 Replies
Login or Register to Ask a Question