From owner-freebsd-questions@freebsd.org Mon Oct 24 15:39:55 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18F9EC1FAB1 for ; Mon, 24 Oct 2016 15:39:55 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-yw0-x22a.google.com (mail-yw0-x22a.google.com [IPv6:2607:f8b0:4002:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CBB14951 for ; Mon, 24 Oct 2016 15:39:54 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-yw0-x22a.google.com with SMTP id w3so191435855ywg.1 for ; Mon, 24 Oct 2016 08:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=2PlDcXysAD19ynHH16bK81vkWxyd78+jB70cJdwclc4=; b=QQpqawSm+CQDecnZqivtE/GkBNzqv6hpDtNQxmyYpSNZskxaqNlYKtguztjDsZcD7t CamSxP+s6uocYCCf0OQCCm2u2dqyJ6GbwdusIcSlo5C8YigbtsdHiooo15klyXW0B3eG cqPTlLDMzj5hQ/rmwYBxP2Xn0AwnO2mUiSDnsyMhflLYxdwZPeWpYBzKihjRCstAk4ac TWSVhIDvkqn2L5cP0SGjowv/IjTsNn/rlqsjpKgEmrV3K94IqyDOFSq5DbX47rX8ho8U n53lUqtga/918zbwJs0aATe8f9ZmM7P4mEHRTnAi1qksnMDQvuVN0cn/YL1lWdMyW5ed qACg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=2PlDcXysAD19ynHH16bK81vkWxyd78+jB70cJdwclc4=; b=Uf1i1x/gx2KdMxfd4fCi4YiIPbzZdJz+hCgpthC7UiChYLoARdv3XuZfpIacbi+etP 6VImxhmalykLwvvCMuj6axahtGXj/FkEtq5g6qrCp8UOq+srYNF2OnYGFdtvO1gzd5og +ZCnOVUn3AcmQQj/es+f7Ltqi8U39l6oq0sjaA6VogfrgYbmElvwIGZrLv8ZjyrXBfil 2BBSLO1AJfzzBFYcJmNJwSq44He8PlgSRbBYzAxHtn5B++7P/Jb6jnJ8OXAOtw4hgxVn uC0Y7wUMK+bYogBs0hik5YggwVDlQHXw/Q8evJvF/YsFlmKpOtKfbKb3rJtuGSKorIeD KaMA== X-Gm-Message-State: ABUngvdzdDScTDI/xMZO2I1PCH/x6odjjz1cIoB5ATLMP33vWebjle+GipKK07C5NMI4Ug== X-Received: by 10.36.20.18 with SMTP id 18mr2704397itg.31.1477323593842; Mon, 24 Oct 2016 08:39:53 -0700 (PDT) Received: from [10.0.10.3] (cpe-24-165-204-240.neo.res.rr.com. [24.165.204.240]) by smtp.googlemail.com with ESMTPSA id q77sm1569225itb.22.2016.10.24.08.39.53 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 08:39:53 -0700 (PDT) Message-ID: <580E2B4F.4000003@gmail.com> Date: Mon, 24 Oct 2016 11:39:59 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Freebsd Questions Subject: csh history search Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 15:39:55 -0000 Hello List; Reading this section "History substitution" in csh(1) seems to indicate I can pull up a previous command from the history list. Lets say that a while back I issued this command ping -c 4 hometown.jones.domain.com Now I would like to retrieve that domain name from the history list. On the command line I enter !?jon The complete ping command is retrieved and automatically executed. I don't want the found command automatically executed, I just want the found command inserted to the command line being visible so I can manually modify it before choosing to execute it. I could not find any info in csh(1) about auto exec or how to stop it. Hoping someone who uses this csh function could help me out. Thanks