Tag Info

Hot answers tagged

62

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 ...


45

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, ...


25

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 ...


22

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 ...


22

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 ...


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"


13

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 ...


13

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.


12

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 ...


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 ...


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 ...


9

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.


9

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


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 ...


8

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


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

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.


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

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


6

conio.h is a library that is windows specific. To my knowledge it comes with mingw32, a compiler that is a windows port of gcc. Try to set up your code so that it doesn't use it. Also, note that linux uses (99% of the time) the gnu standard library (gnulibc). You can find its content here For input/output you'd need the iostream (not iostream.h) header ...


6

Install FBTerm to have a colored Backround image on console 1. compile fbv - FrameBufferViewer First of all you need to compile fbv to be able to print the background image to fbterm. to prepare this go to your conole and enter apt-get install build-esential checkinstall make next we need to obtain the fbv source. You can get it from the authors ...


6

./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`"


6

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


6

Just run the command exit and you will exit from the recovery console.


6

Actually a colleague just asked me and I found a work-around - use env var.with.dots=value command


6

This is likely interference from the CPU power supply traces. I particularly notice this in cases where there is a CPU governor that changes it's clock speed depending on load. The buzz you hear is actually the frequency at which the governor is changing CPU speed. I recall an old laptop where the sound was not just audible in the 'phones, it actually ...


6

Cached RAM? Not really, but that's RAM managed by the kernel to cache disk reads, so it shouldn't impact your system's performance, in fact it should help it. You can change the way the kernel caches things, but I don't think you can explicitly free RAM that's currently used as a page cache. Generally newer kernels try to use as much free RAM as possible ...



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