Command Line Tools

How to access bash shell prompt in GUI

To execute commands we need shell prompt on Linux. On Redhat system you can get shell prompt easily from a console and within the GUI. By default when you access shell prompt on Redhat system you would likely to get bash [Bourne-Again shell] shell. However many Linux administrators use one of the many other available shells but as I previously said in this section we are preparing for RHCE exam and use of the bash shell as it is specified in RHCSA objectives.

Access shell prompt from application menu

To access shell prompt from menu click on application click on system tools and click on terminal

select terminal from application menu

This would launch terminal

opened terminal from application menu

Access shell prompt from desktop

To access shell prompt from desktop right click on free space of desktop and click on Open in Terminal

right click desktop to open terminal

This would launch terminal

opened terminal from desktop right click

Differences between accessing shell prompt from application menu and desktop

While you access terminal from application menu it would open terminal in user home directory. For example if you are logged in from root user and access terminal from application menu you would get /root home directory of root user as default directory in terminal.

pwd command in terminal opened from app menu

If you have opened terminal from desktop you would desktop as current directory in terminal.

opened terminal from desktop right click

How to access terminal in file system

You can access terminal anywhere in file system of Linux. Right click on free space and click on open in terminal to access terminal in currently opened directory.

right click in var folder

For example to access terminal in /var directory

pwd command in terminal opened in var folder

Search more about

Search in Google for

Custom Search