Ubuntu :: Load Terminal From Command Line?

Jan 17, 2011

I was tinkering around with my /etc/grub.d/10_linux file to try and alter the way my OS's were displayed on startup and somehow I filtered out my Ubuntu option, now I have no way off accessing the terminal, I tried the command gnome-terminal, but had no success, does anybody know how to access my /etc/grub.d/10_linux file through the grub2 command line?

View 6 Replies


ADVERTISEMENT

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

Ubuntu :: Run A DOS-like Command Line In Terminal

May 1, 2011

I'm a relatively recent Linux convert and I'm studying computer science. I've been taking some time in getting myself familiar with the Terminal and the Linux command line and can now use the Terminal confidently, albeit with a little help from Google every now and then. I know that when I graduate and start working I will mainly be using Windows computers and thus I would like to be able to use the Windows Command Prompt confidently as well.

Is there any way to run something in the terminal that mimics DOS behavior? If not, is there a possibility for me to personally configure an "alternate" terminal which only allows those linux commands that are equivalent to DOS commands, without removing any functionality of the "original" terminal?

View 4 Replies View Related

Ubuntu :: Terminal Stuff / Get It In Command Line?

Apr 20, 2011

I don't understand the character between 8F374FEF and sudo in the command line below. Yea, I am a total noob, and if I have to ask then maybe its something I shouldnt be doing. I did try to search the help data base first. I also have tried copy-paste in the terminal as well. So what is that character and how do I get it in the command line?

View 9 Replies View Related

Debian :: How To Use The Terminal Command Line?

Apr 28, 2010

direct me to a good beginner's guide to Debian? Or explain some things briefly. Where can I learn how to use the Terminal Command Line? How do you add programs to Debian and what all is supported? What are packages in Debian and what can they do? Installing programs is different as expected. I tried installing Firefox, I downloaded it and extracted it into my home directory. I can run it with the Terminal Command: ~/firefox/firefox [When in the home directory] and it works. Is that how it is intended to work? Just random thing there. I guess in a sense, I just really want to learn about every aspect of Debian Linux in a user-friendly type environment.

View 3 Replies View Related

General :: Load A GTK 2.x Theme With Command Line / Shell Script?

Jul 18, 2010

I would like to know how i can load a gtk theme with a terminal command line or with a shell script if possible.

View 14 Replies View Related

Ubuntu :: Set Domain/machine Name From The Terminal Command Line?

Mar 16, 2011

I have both desktop and notebook with Ubuntu 10.10.In the desktop, net domain correctly displays domain and server name, but in the notebook both appear as blank. Maybe that's the reason why I can't see the shares in the desktop from the notebook.How do I set the domain and machine name from the terminal command line?

View 2 Replies View Related

Ubuntu :: Wally 2.4 - Command Line - As Soon As Close My Terminal - Terminates

Sep 24, 2010

I am using Ubuntu 10.04 and installed Wally 2.4.

I have few questions:

1) Currently I run wally with command line by running

Code:

It works, but as soon as I close my terminal, wally terminates. Is there anyway I can make it not terminate?

2) why is that option disabled?

View 4 Replies View Related

Debian :: Change A Terminal Bkgnd By Command Line?

Feb 9, 2011

I'm sure it's possible, but I haven't found an elegant way to do it. I can't just use the GUI since I want to integrate this line of code into a greater shell script for this project.

My preferred terminal is terminator, but it doesn't really matter at this point.

View 5 Replies View Related

Fedora :: Terminal : Set Font And Term From Command Line?

Aug 3, 2010

I need to set both my font size and my term ($TERM=vt220) from the command for a /usr/bin/terminal. Is there a way for me to do this?

View 2 Replies View Related

General :: Command Line - RSS Feed Reader From The Terminal?

Jun 12, 2010

Is there a way by which I can read RSS feeds from the terminal itself ? Something that would display the titles and a link to follow. Or maybe a software which works from within the terminal.

View 2 Replies View Related

Red Hat / Fedora :: Bash Script To Monitor Server Load / Mail From Command Line

May 4, 2010

I am attempting to write a very basic script that monitors a server's load and automatically emails an administrator upon the load reaching a certain threshold...

1.) `uptime | awk -F ' ' {'print $10'} | cut -d ',' -f1 | awk -F '.' {'print $1'}` -- the output from this command results in a decimal figure, so when that value is parsed and placed in an if statement, the value is not seen as a number. load-monitor.sh: line 9: [: 4.96: integer expression expected/How can I allow a number like "4.56" to be seen as an actual number within the if statement and be compared to 4, for instance?

2.) I am running a cPanel server on CentOS 5.4 -- when I run mail -s "SUBJECT" $EMAILADDRESS the command just hangs, and stracing the process shows it stuck on a read syscall.

3.) If I wanted to write this script in PHP, I have one primary confusion -- how can I mimic the functionality of obtaining the output from uptime via awk, etc. so that I can determine what the server load is at a given time? Which PHP function(s) would assist in that regard?

View 5 Replies View Related

OpenSUSE :: Defining Default Applications Via Command Line/terminal?

Apr 7, 2011

I recently upgraded from 11.3 to 11.4 succesfully. I had to reinstall several applications and, some of them, can't be configured as default from the control panel (e.g. Opera as default browser, VLC as default media player). The problem is that droplists at the prefered applications don't show any other than the default ones, Firefox and TotemIs there a way I can change these settings via command line or a way to fix what applications are shown at the control panel?

View 8 Replies View Related

OpenSUSE Install :: Start / Stop KDE From Command Line (Terminal)?

Jul 10, 2011

How to stop/start KDE from the command line (Terminal) on opensuse 11.4?

View 9 Replies View Related

General :: Create A New Terminal Window From The Command Line In RHEL 5.3

May 18, 2011

I use putty to get to my RHEL 5.3 workstation from my Windows laptop.

Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.

QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.

In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?

View 3 Replies View Related

General :: Finding The Command Line To Launch An Application From A Terminal?

Sep 25, 2009

Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.

View 5 Replies View Related

General :: No Log-in Sound And Command Line Terminal Bell In Gnome / Fix It?

Jul 27, 2010

I recently replaced (fresh install) Fedora 12 by 13. Surprisingly I noticed there is no log-in sound for Gnome and also when I use command line terminal there is no terminal bell in spite of the fact that I checked the "Terminal Bell" option in the EDIT --> Preferences menu! I checked the speakers are not mute, I can play music. Any idea how to fix it?

View 2 Replies View Related

Ubuntu :: Pimp Command Line (Fonts, Colors, Hacks, Terminal Profiles)?

Mar 7, 2011

So I used Arch linux for a while and was really impressed and how colorful the commandline output was. Not only from ls, which I was able to emulate by adding "alias ls="ls --color"" to my .bashrc, but also during, say, bootup and other times.Anyway, I was just wondering, what tricks do you guys use to make your command line experience more visually appealing? Fonts, colors, hacks, terminal profiles?

View 5 Replies View Related

Fedora Networking :: Set Up Samba Using Command Line Terminal / Network Does Not Work

Nov 29, 2010

I set up Samba using command line terminal, and my network does not work. I have Samba username and keyring passwords all set, then I go to gui system-config-samba, and my samba user profile password is incorrect. In the past, I have used a 10 letter password, however, every time I boot the computer, I have to go back in and re-enter the password.I wonder if samba is truncating the password because it only accepts an 8 character password? I have deleted the user, and added a new username, and it is still doing it.

If I go into the gui and re-enter the password, usually I can get the network back up with my windows machine. All of the parameters are correct, I use the network to transfer files from my Windows to my Fedora drive all of the time when it works.

View 2 Replies View Related

Fedora :: Open A File Using Command Line In Terminal And Edit Code Within It?

Jun 10, 2011

How to open a file using command line in terminal and edit the code within it ?code...

View 6 Replies View Related

General :: Burn Data (file) With Command Line (at Terminal) To DVD Rewrite?

May 17, 2010

Now, I use Fedora Core (version 8) with core linux OS 2.6
I have some file data with size about 2G and I want to burn (write) this file to DVD rewrite.

I know linux OS can install software to burn data to DVD, but I don't have permission to install more software. I only use command line over Terminal (Gnome Terminal).

View 4 Replies View Related

General :: Detect And Kill Zombie Processes Left From The Command Line Of A Terminal?

Apr 28, 2011

how do I detect and kill zombie processes left from the command line of a Linux terminal?

View 3 Replies View Related

OpenSUSE Install :: Any Substancial Difference Between Gnome Terminal Or Hitting 'c' To Bring Up Command Line

Feb 25, 2010

so the safest way to go about this is to assume I know nothing. I mean, I have a rough Idea of what a kernel is, no idea what a shell is, etc. I do consider myself computer savvy, but know NOTHING about linux and thats why I'm Diving in, hopefully not too much, this is just to give you an idea of what we're working with here.

After several install attempts I kept getting a blank screen. Whether it be black,white, or the default gnome desktop (without any icons, and simple things like ctrl+alt+backspace just doesn't work, or anything else for that matter) I was ending up with a blank screen. Driver for moniter....maybe....but I did succesfully install it once, and it worked like a charm...shutdown properly, and the next day after work...Boom, same thing after startup.today I started from scratch and re-installed....samething, until I hit the power button, went from the dvd(iso) and did a fail safe, now my resolution is much better than it was the first time..Actual questions.....what did I do to fix it when failsafe never worked before?

Is there a way to save these settings, so I don't run into the problem again, because I don't even want to turn of my computer at this point?If i'm trying to dive in and learn the command line actions, is there any substancial difference between gnome terminal or hitting "c" to bring up the command line?

View 9 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

General :: Ubuntu - Package For Specific "command History" On Terminal Line?

Sep 19, 2011

Is there a package I can download for Ubuntu that would allow me to type in,for example, cd [tab key] and then it would go through the recent cd commands I've typed in?

View 2 Replies View Related

Ubuntu :: Scroll Terminal Up/down Line By Line?

Aug 9, 2011

I am running Ubuntu 10.04 LTS. Scrolling the Terminal window up/down works fine using the SHIFT+PAGEUP / PAGEDOWN key combination.

Many times I feel like scrolling the window, line by line to investigate the output minutely. I am wondering if there is a keyboard shortcut to scroll the Terminal up/down line by line?

Moreover, I suddenly happened to discover that SHIFT+CTRL+UP Arrow /DOWN Arrow scrolls my terminal window up and down line by line. I am glad to see that working. But it does not work that way on another Linux system (CentOS), not even on console. So I am not sure if this is a real solution. Is this a configurable item on Linux Terminal to enable / disable this keyboard shortcut?

View 2 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved