Tag Info

Hot answers tagged

72

I've recently come to like setsid. It starts off looking like you're just running something from the terminal but you can disconnect (close the terminal) and it just keeps going. This is because the command actually forks out and while the input comes through to the current terminal, it's owned by a completely different parent (that remains alive after you ...


50

The short answer is that terminal = text input/output environment console = physical terminal shell = command line interpreter Console and terminal are closely related. Originally, they meant a piece of equipment through which you could interact with a computer: in the early days of unix, that meant a teleprinter-style device resembling a typewriter, ...


28

Ubuntu Mono from the Ubuntu Font Family (font.ubuntu.com) is the default GUI monospace terminal font on Ubuntu 11.10. Terminus Font (terminus-font.sourceforge.net) is the default font on the Linux console (Ctrl+Alt+F1, $ /bin/setfont /usr/share/consolefonts/FOO.psf.gz) GNU Unifont (unifoundry.com) is the default font for the CD bootloader menu, Grub ...


24

By joining the font beta testing team, the PPA details given in the sign-up email let you enable a Personal Package Archive that contains: fonts-ubuntu-font-family-console ("Ubuntu Font Family Linux console fonts, sans-serif monospace") after enabling the PPA you can do: Ctrl+Alt+F1 sudo apt-get install fonts-ubuntu-font-family-console setfont ...


23

A visual representation. Terminal Something you can sit down at, and work like a boss. Console Some hardware that does a bunch of stuff. Another example of a console, would be a video game console such as a Super Nintendo [where you can play Actraiser] shell Basically an application for running commands. Command Line [Interface] Basically ...


18

Alt+[unicode in decimal using numpad digits] works at the console, providing your environment is properly configured to expect UTF-8 (via LOCALE or LANG environment variables). In your case, you should enter Alt + 201.


17

Here's the two ways I'd go with. Firstly, not running it from a terminal; hit Alt+F2 to open the run dialog, and run it from there (without &). From a terminal, run nm-applet & But do NOT close the terminal yourself. That is, do not hit the X-button to close, and do not use File -> Exit from its menubar. If you close the terminal that way, it ...


17

If you use Upstart 1.4 or newer, put console log into your Upstart job and all the output to stdout/stderr will end up to /var/log/upstart/<job>.log. Then you can do tail -f /var/log/upstart/<job>.log & to have the output appear in terminal.


15

The solution is the bash builtin compgen. To grep 'svn' from all available commands and command aliases accessible through $PATH, type. compgen -ac | grep svn Want to search from a certain prefix (eg all commands that start with ecrypt)? Use regular expressions.. compgen -ac | grep "^ecrypt"


14

You can add the following code to you .bashrc file: parse_git_branch() { git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' } PS1="${debian_chroot:+($debian_chroot)}\u@\h:\w\$(parse_git_branch) $ " You can move around these component parts to configure to your tastes, for example to prepend $(parse_git_branch) and not show the ...


14

The text you are looking for is inside /etc/legal The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Before you start editing this: as far ...


13

That instructions works like a charm to me in my Ubuntu 12.04.1 Change (edit) in /etc/default/grub file: From: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" To: GRUB_CMDLINE_LINUX_DEFAULT="text" Now you must update the grub configs: sudo update-grub And its done! After reboot, to start the gui just login and type: startx


12

I've found a solution that works on this forum post: http://forums.debian.net/viewtopic.php?f=5&t=41881#p2705863 In short: Open /etc/default/grub with your favorite editor as root. Localize the line that says GRUB_GFXMODE= ... and change it to the resolution you want. Add another line for a new variable called GRUB_GFXPAYLOAD with the same ...


12

I solved it... and all I had to do was edit /etc/default/grub thus: GRUB_CMDLINE_LINUX_DEFAULT="splash vga=789" I ran 'sudo update-grub', 'sudo reboot' and it sticks in a larger-size console mode... just what I wanted.


10

From the Linux Information Project: Terminal : Technically , A terminal window, also referred to as a terminal emulator, is a text-only window in a graphical user interface (GUI) that emulates a console. In Our words A GUI Application , from where we can access an user's console. Console: an instrument panel containing the controls for a computer ...


10

just start mysql using the command example: sudo /opt/lampp/lampp startmysql and find path of mysql , it will be placed in bin directory of lampp, then login example: /opt/lampp/bin/mysql -u root


9

Looks like you accidentally switched to the text console, that does no harm at all as long as you know how to terurn to your desktop. Did you accidentally hit Ctrl+Alt+F4? In that case you can return to your desktop hitting Ctrl+Alt+F7. There are usually 6 text consoles (F1 - F6) but most users aren't even aware of them. They're extremely useful for ...


9

It's because the Java Console is hidden by default. To change this: First start the Java Control Panel. From the command line run: ControlPanel (if not in PATH, you may have to run something like /usr/lib/jvm/jre1.7.0_51/bin/ControlPanel ) Or, choose from the Dash like the screenshot below In the Java Control Panel go to the Advanced Tab, expand Java ...


8

The dot is not a valid character in a shell identifier. So the answer is "you cannot do what you ask": name A word consisting only of alphanumeric characters and under- scores, and beginning with an alphabetic character or an under- score. Also referred to as an identifier.


8

This helped me on Ubuntu 14.04 with ESXi 5.5 : :~$ sudo vi /etc/default/grub Change line to: GRUB_CMDLINE_LINUX_DEFAULT="splash vga=792" :~$ sudo update-grub :~$ sudo reboot -r now Use 795 or 799 for higher resolution, and see: http://www.pendrivelinux.com/vga-boot-modes-to-set-screen-resolution/ for more details.


8

In the text console, you'll see a line with a text like Ubuntu 10.04 darkstar tty1 just before the login prompt. This message comes from the file /etc/issue, which you can customize to your wishes. The escape sequences are described in the getty(1) manual page.


8

Try editing /etc/init/rc.conf: sudo nano /etc/init/rc.conf and comment console output so it looks like: #console output Don't touch anything else in the file! Then reboot and it should no longer show anything. If you want to know what this does do man 5 init and read on the console output section.


8

As you pointed out, you can run nohup nm-applet & to ignore the end signal when closing the terminal. No problem with that.


7

You can use the command dmesg -n 1 to suppress all messages from the kernel (and its drivers) except panic messages from appearing on the console. To fix at each boot, add the command to: /etc/rc.local


7


7

if you have a touchpad though, highlight the text and press Ctrl + Shift + C to copy ... the following resources describe how to copy/paste using keyboard only -- screen/byobu: How do I integrate Byobu's copy-buffer with the X clipboard? http://www.samsarin.com/blog/2007/03/11/gnu-screen-working-with-the-scrollback-buffer/ Copy and Paste in ...


7

Check if Midnight Commander (mc) is installed. If so, you can do ftp from there.


7

You could make life really easy for yourself using a fuse filessytem. On the machine you can ssh into, install curlftpfs sudo apt-get install curlftpfs Then add yourself to group fuse sudo usermod -aG fuse <username> Log out, and log back in again, for changes to take effect. Make a directory for a mount point mkdir ~/ftp Then mount the ftp ...


7

These terms often go together, so people use one of the terms to refer to the collection. (i.e. it's usually obvious from context that they mean a terminal window providing an interface to a command line shell). To keep this from getting to long-winded, I'm just going to say xterm as a stand-in for XTerm / Gnome Terminal / Konsole / mrxvt / etc / etc. Same ...


7

./myapp `cat text_file` Or ./myapp $(cat text_file) Or use double quotes to pass all the text as a single argument ./myapp "$(cat text_file)" ./myapp "`cat text_file`"



Only top voted, non community-wiki answers of a minimum length are eligible