Tag Info

Hot answers tagged

57

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


22

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


21

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


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


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


9

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


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

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

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


8

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.


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


7

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


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

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


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


6

To free pagecache: echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: echo 3 > /proc/sys/vm/drop_caches use with root permissions


6

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


6

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


6

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 that of the system's ? http://www.samsarin.com/blog/2007/03/11/gnu-screen-working-with-the-scrollback-buffer/ Copy and Paste ...


6

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


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


5

First things first, the Blender Console on Linux is a bit different than you might expect. Unlike on Windows, Blender's console output is placed on the command line, if run from a terminal. Also, Blender on all versions contains a built in console. You can choose either a Python console or a regular console (bash), though some builds do not have this (for ...



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