Does Gnome-Terminal remeber often used commands somehow?

This isn't an error!
I've been starting my wireless connection manually since I installed Arch, as I haven't been able to get it to autostart at boot. So I've been starting by running sudo wpa_supplicant blahblahblah then sudo dhcpcd wlan0. Anyway, I hadn't rebooted in a few days, and as such I haven't run either of these commands recently. Oddly enough, those two commands were the first to that appeared in my bash history. So I ask you:
Is this some sort of feature, or is my computer eerily predicting my needs?

baeksu wrote:
When you log out, your command history in bash is saved in ~/.bash_history. So that's where the commands are retrieved from.
This works regardless of which terminal you used, as long as you run bash. Of course, if you run multiple instances of bash, the last one you log out from will overwrite all previous shells.
I knew that apart from running multiple instances. My point was that I hadn't run either of those commands for a long time, and had run many other things in that time. I found it strange that those commands were first in my bash history, even though I hadn't used them.

Similar Messages

  • Transparent gnome terminal problem

    Hi there all archies!
    I have a problem with transparency in gnome terminal. When using it without transparency it runs smoothly, but when i turn on the transparency all gets slow and i cant really use it.
    I have tried both before and after nvidia-drivers installer but without any success. My graphic card is an nvidia 2 gts, and i am running gnome without kdelibs/qt installed.

    yes, dri indeed! de-comenting it in XFree86Config did the trick. also, as a result everything looks nicer, and it appears to have fixed another minor bug i encoutered in gnome-term, which was while i scrolled up the text got all corupted.  thanks dude. what is dri anyway?
    uh, maybe i should start a new thread but i'll ask here anyway. mozilla runs fine as root but when i attempt to run it as any other user it does nothing. i mean i enter the command mozilla in a terminal and it doesn't do anything, no processes are started, nothing. it takes the command and promptly return s the next bash line without any comments or fatal error in melting process x0876w or whatever. i re-installed it with pacman (-R and again -Sy), no luck. any ideas?
    thanks again

  • I want to use command line to execute an oracle report?

    Dear all,
    I am using Oracle Application. Does anyone know how to use command line to execute an oracle report?
    I mean execute command from client to server.
    Please advice,
    Amy
    Edited by: amychan60 on Dec 13, 2009 11:33 PM

    Hi,
    Using Oracle Application Server the standard way for a client to request a report is via a HTTP request. This doesn't really lend itself to use directly on a command line on a client however you could use the following:
    explorer "http://your_server/reports/rwservlet?report=report_name.rdf&userid=userid/password@db_sid&paramform=no&destype=FILE&desname=c:\temp\filename.pdf&desformat=pdf"
    This will load explorer and submit that URL for you and request the report. You can change the parameters depending on the report output you require.
    If you need something that is silent (ie doesn't load in explorer) you'll need to investigate other ways of submitting that URL request, perhaps using Java. You could also use SRW.run_report (Event Driven Publishing) to submit the request using SQL.
    Cheers,
    Toby.

  • [Solved]urxvt does not search the font for emojis while gnome-terminal

    Hi, I'm using urxvt and am having some problems setting up fonts. These are my URxvt parameters specifying the fonts
    URxvt*font: xft:Inconsolata-dz for Powerline:style=Semibold:pixelsize=14:antialias=true:hinting=slight, \
    xft:PowerlineSymbols:pixelsize=14:antialias=true:hinting=slight, \
    xft:Symbola:pixelsize=14:antialias=true:hinting=slight
    Now, the emojis from Symbola does not appear and it only appears as a box
    The same thing when opened in Gnome-terminal properly displays the emojis
    Also, I have tried starting urxvt with the following options
    urxvt -fn "xft:Symbola"
    and it works but as you see Symbola is not a font for your terminal.
    What am I doing wrong here? I've check my previous lines and it is right. Do you guys have any ideas? Much appreciated. I have also tried with other posts stating that Urxvt cannot display symbols properly and have tried them all. If I've missed any please let me know. The strange thing is that it works for Gnome-terminal and Urxvt with only Symbola fonts
    Last edited by decryptedepsilon (2014-07-12 02:40:24)

    bch24 wrote:
    Make sure the System Locale is set to utf-8 locale.
    This sometimes is the issue.
    Many thanks for your reply, I've checked the system locale is proper. I think I have found the solution.
    I think the official rxvt-unicode faq and documentation here states that rxvt-unicode drops pixels while showing some fonts because different fonts use different height and width. In this particular case, Symbola font is too wide and the default letterSpace does not allow it to display correct. If -letsp parameter is set to 4, it is displaying but with about a half pixel missing
    The specific parameters for .Xresources
    URxvt*font: xft:Inconsolata-dz for Powerline,xft:Symbola
    URxvt*letterSpace: 4
    And this gives this which technically solves the issue
    The documentation clearly states the following
    All of this requires that fonts do not lie about character sizes, however: Xft fonts often draw glyphs larger than their acclaimed bounding box, and rxvt-unicode has no way of detecting this (the correct way is to ask for the character bounding box, which unfortunately is wrong in these cases).
    I guess the first thing one should do is to check the documentation thoroughly of the official project page rather than searching countless forums where people have discussed stuff based on trial and error. I guess that's a classic rookie mistake and I feel very good that I'm moving past the rookie phase

  • ( SOLVED )gnome-terminal, su, sudo, gksu, gksudo does not work

    Hello,
    In my fresh installed gnome3 graphical environment, in gnome-terminal, I can not gain root access.
    I've tried diverse su commands.
    1. su command, ends with:
    su -
    Password:
    su: Authentication failure
    2. sudo command, ends with:
    sudo -l
    [sudo] password for root:
    Sorry, try again.
    [sudo] password for root:
    Sorry, try again.
    [sudo] password for root:
    sudo: 2 incorrect password attempts
    Of course - each time, I typed correct password.
    In my sudoers file, group wheel ( into which belongs user I logged in ) has permissions to execute any command.
    3. gksudo with debug:
    gksudo -ld gnome-terminal
    No ask_pass set, using default!
    xauth: /tmp/libgksu-stbGos/.Xauthority
    STARTUP_ID: gksudo/gnome-terminal/879-0-Bex_TIME0
    cmd[0]: /usr/bin/sudo
    cmd[1]: -H
    cmd[2]: -S
    cmd[3]: -p
    cmd[4]: GNOME_SUDO_PASS
    cmd[5]: -u
    cmd[6]: root
    cmd[7]: --
    cmd[8]: gnome-terminal
    buffer: -GNOME_SUDO_PASS-
    brute force GNOME_SUDO_PASS ended...
    Yeah, we're in...
    sudo: 1 incorrect password attempt
    xauth: /tmp/libgksu-stbGos/.Xauthority
    xauth_env: /var/run/gdm/auth-for-tangram-9JYTNt/database
    dir: /tmp/libgksu-stbGos
    I've been asked for my password, not root, after typing I get "incorrect password attempt", if I type root pwd I get the same.
    4. Same with this command:
    gksu -ld gnome-terminal
    No ask_pass set, using default!
    xauth: /tmp/libgksu-SBPcOB/.Xauthority
    STARTUP_ID: gksu/gnome-terminal/1028-0-Bex_TIME0
    cmd[0]: /usr/bin/sudo
    cmd[1]: -H
    cmd[2]: -S
    cmd[3]: -p
    cmd[4]: GNOME_SUDO_PASS
    cmd[5]: -u
    cmd[6]: root
    cmd[7]: --
    cmd[8]: gnome-terminal
    buffer: -GNOME_SUDO_PASS-
    brute force GNOME_SUDO_PASS ended...
    Yeah, we're in...
    sudo: 1 incorrect password attempt
    xauth: /tmp/libgksu-SBPcOB/.Xauthority
    xauth_env: /var/run/gdm/auth-for-tangram-6RCSoJ/database
    dir: /tmp/libgksu-SBPcOB
    In multi-user-mode I can login to root account.
    Last edited by tangram (2013-12-23 08:42:09)

    tangram wrote:
    Hurrican, ok, there is no need to install antother terminal, as I wrote it did not work also in xterm.
    Yesterday evening, tired and sad that gk(su|sudo) still does not work,
    as the "last chance idea", I logged in into multi-user mode ( init level 3 ) and changed root's password,
    then loged in into graphical mode ( init level 5 ), start gnome-terminal and suddenly ... command "su -" started to work.
    By the way, similar solution ( but with chroot ) has suggested Gulver in his post ( this thread, answer #2 ).
    The question is, why root's password, set during install, after finished installation is recognized in text mode, but not im graphical ?
    First root's password was really simple, like "dog4356", without any national chars.
    You're right. I don't even have xterm installed so I guess I just singled out gnome-terminal and forgot that xterm also wasn't working.
    Forgive me for my shaky advice. Like you I've been super busy, and sweating out a fever of 102 degrees (that's Fahrenheit no my
    blood wasn't boiling ). Anyways, glad you got it working. After reading over the whole thread and thinking about it for a little bit, I
    can't really make a good guess as to what was happening.
    I'm sure you probably had tried this, but you could have typed the password out in the command line so you could see it. If there was
    something wrong with it, it would have shown up there as well. If it was perfectly fine, then it would have been very, very weird.
    The important thing is you got it working.
    Merry Christmas.

  • Using Automater to run Terminal and enter a command

    I am currently interested in using a script or the automator to open Terminal and enter a specific command line I use to authenticate on my university network. Frankly I'm getting tired of typing that command line in so often.
    However, I am relatively new to apple, and I'm not very familiar with scripting. If someone could give some suggestions that would be great.

    Open the Script Editor in the /Applications/AppleScript/ folder and type in the following:
    do shell script "your command"
    Save this script as an application and place it on the desktop for easy access. If the command requires the use of sudo, the needed syntax is:
    do shell script "your command" password "yourpass" with administrator privileges
    The actual phrase 'sudo ' isn't necessary in do shell script unless you will be passing sudo a flag. If the command needs interaction, use the following:
    tell application "Terminal"
    do script "your command"
    end tell
    This implementation requires the use of sudo for root authentication.
    (20272)

  • I'd like a friend to add a track to a song I'm doing on Garageband, but he uses Digital Performer. Can I somehow transfer my interface to his interface?

    I'd like a friend to add a track to a song I'm doing on Garageband, but he uses Digital Performer. Can I somehow transfer my interface to his interface?

    Just keep it like it is. As an account Mgr you can do everything except add other account mgrs or change billing account pw. But if you have your dad's sign in info for his my vzw.  Now if you need to build your credit then that's another story. Good luck to you and your dad

  • Does Editing a clip after using the "Open in Timeline" command in the event browser alter the source media file?

    Does editing a clip after using the "Open in Timeline" command in the event browser alter the source media file?

    C5ELEN wrote:
    . Didn't we have that in 7?  Seems like I remember we could set the number of undo levels.
    Legacy FCP has Revert Project to return to the last saved version, and it has Restore Project to go back to one of the autosaved versions. The maximum number of undo's can be set in user preferences. A lot different than X.
    Russ

  • Cannot use byobu shotcut in gnome-terminal after upgrading GNOME 3.12

    I cannot use byobu to create a vertical pane in gnome-terminal after upgrading to gnome 3.12.
    The shortcut of creating vertical pane is Shift+F2. When I press these keys, there is `6~' showing
    in the terminal.
    I have tried this key binding in urxvt terminal. It still doesn't work. However, when I tried in Xfce-terminal,
    byobu worked well.
    Any ideas? Many thanks.

    nashamri wrote:
    Okay I think I found a workaround, Byobu depends on tmux and the same issue is happening with tmux with Shift and all the function keys.
    So to get things working, just set the env variable $TERM to "screen-256color"
    $ export TERM=screen-256color
    and then run byobu again. I'm not sure if this will break other things, I'll report back if I find anything.
    Thank you so much for this workaround! I already discussed the topic here without any success: https://bbs.archlinux.org/viewtopic.php?id=184603.
    Regards,
    eNauz

  • What does "/usr/X11/bin/xstub ; exit;" command do in Terminal?

    What does "/usr/X11/bin/xstub ; exit;" command do in Terminal?

    The %U represents a URL. If you drag a URL to the shortcut then it'll open that URL in Firefox.

  • Gnome-terminal does not prevent xscreensaver

    When I work in gnome-terminal, every 10 minutes the screen suddenly becomes dark. It kinda frightens me. All keypresses that happened in the terminal don't postpone screensaver, but if I work in other window, screensaver doesn't come out of nowhere.

    pacman -Qi gnome-terminal
    gives vte3 as a dependency which was not installed on my system as it conflicted with vte3-text which was required by termite. So removing termite and vte3-select-text and then installing vte3 solved te problem, but this means that one cannot currently use both termite anf gnome-terminal on his/her system.
    Thank you for your help.
    Last edited by baion baion (2015-04-11 09:30:29)

  • [SOLVED] Gnome 3.12 : gnome terminal does not run anymore

    I had the following message when trying to run gnome-terminal after updating to 3.12:
    Error creating terminal: Message did not receive a reply (timeout by message bus)
    I have found a fix, so I'll share it with the community. The problem was that I had vte3-mosh-fix installed from the aur, version 0.34.9 and that gnome-terminal now requires vte3 0.36.0.
    Switching to the official vte3 package fixes the issue.

    Thank you for posting the solution.  I would have never even remembered that I had installed that mosh fix, let alone thought to remove it.

  • When trying to statup with install disc inserted,all i get is an apple logo.when i try starting using command v it seems to see the cpu,but does not list any drivers.any thoughts appreciated!

    when trying to startup with install disc inserted,all i get is an apple logo.when using command v keys,it seems to see the cpu, but doesn't list any drivers.any idea what,s wrong?

    That is the wrong system disc, the Mid 2007 Mac Mini's originally came with Tiger 10.4. You must have been sent the wrong disc, because that gray 10.6 system disc is obviously for a later Mac.
    Mac mini (Mid 2007) - Technical Specifications
    At this point I'm afraid that your options are very limited.
    1. Call Apple, have your serial # handy and ask for a replacement Tiger disc set. Problem is that it wouldn't be of much use, except for maybe running the Apple Hardware Test.
    Apple - Support - iMac - Service FAQ
    2. Purchase a Retail Snow Leopard Upgrade disc.
    Mac OS X 10.6 Snow Leopard - Apple Store (U.S.)
    As for the RAM, if 2GB is shown in both Apple / About This Mac and in the Activity Monitor then there is a pretty good chance that's it OK. Of course it is hard to test without the original disc set and in your case may need to be done with a third party RAM checker like Memtest OS X

  • [Solved] Gnome-terminal does not start (fresh install)

    Whenever I install gnome-terminal, I have the following message displayed:
    (gconftool-2:28984): GConf-WARNING **: Client failed to connect to the D-BUS daemon:/usr/bin/dbus-launch terminated abnormally without any error message
    Then whenever I launch gnome-terminal I have this message:
    ** (gnome-terminal:1102): CRITICAL **: atk_bridge_adaptor_cleanup: assertion `inited' failed
    The problem seems to be related to dbus. I have even tried guake which complains explicitly about "No D-BUS daemon running".
    Systemctl is telling me that d-bus is up and running.
    Any help appreciated.
    Info:
      - Linux arch64-vbox 3.6.9-1-ARCH #1 SMP PREEMPT Tue Dec 4 08:04:10 CET 2012 x86_64 GNU/Linux
      - systemctl --all | grep error
    auditd.service error inactive dead auditd.service
    display-manager.service error inactive dead display-manager.service
    plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service
    plymouth-start.service error inactive dead plymouth-start.service
    rc-local.service error inactive dead rc-local.service
    syslog.service error inactive dead syslog.service
    Cheers,
    Last edited by PierreR (2012-12-05 20:16:59)

    Solved with the latest dbus upgrade (dbus-core removal)

  • No scrolling when viewing man pages with Gnome terminal?

    Hi all,
    I have just installed Oracle Solaris 11 on x86. For a long time I've used Solaris 9 on SPARC. I like the new OS, but I'm having a problem viewing man pages with Gnome terminal. When I view a long man page, e.g., "man newfs", I don't get a functional scroll bar on the right hand side of the window. And although the space bar works to advance the page, when I reach the end, it doesn't return to the command prompt. It just beeps, prints "END", and I can only exit by closing the window. Can anyone tell me how to fix this? Suggestions would be much appreciated.
    Many thanks,
    Chris Tidy

    It does sound like you're using "less" instead of more. When you see the "(END)" prompt you can simply type "q" and it will exit back to the command line prompt making it unnecessary to close the window. See the "less" manual page for more detail on the less command. Under Solaris 9 the paging was done with the "more" command. If you set the PAGER environment variiable to "more" the man page will use more and revert to the behavior you'd be used to with Solaris 9. Less erases the text you've already read when you type that final "q" which is a behavior I don't like. I didn't bother to determine if there is a way to fix that with less, I just went back to more. The choice between "more" and "less" is a personal preference.

Maybe you are looking for

  • How can I use more than one Data Provider in my web Apps

    I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message :

  • Updating itunes across to my ipod - unknown error (-69) keeps occuring

    Hi, just recently i have spent hours transfering my albums across to itunes, setting up playlists etc. So to add to my frustration with my ipod nano, now i am getting this error message "attempting to copy to disk ' mizz81 ipod" failed an uknown erro

  • Wireless telephony Question

    Hi all, If I have wireless ip phone 7921 connected to access point.Access point is controlled by wireless access controller. How RTP traffic moves? wireless ip phone----->access point----->access controller----->access point------>wireless ip phone o

  • Satellite C650 - Windows Photo Viewer freezes every time in use

    Hello all, my C650 is a brand new purchase and so far I haven't been able to view any photos; on a memory stick, in "My Pictures" or in any form using the Windows Photo Viewer. Once I double click on the picture icon, the image enlarges to full scree

  • More contact person items in the header data of a stanard order

    Hi guys, we want to create more than one contact person in the header data of a standard order (for example contact person 1 --> 215, contact person 2 --> 216) Transaction VA01 --> Goto --> Header --> Partner It isn´t possible to create more entries