Sponsored Content
Full Discussion: using command history
Top Forums UNIX for Dummies Questions & Answers using command history Post 302489883 by bruno69 on Saturday 22nd of January 2011 07:24:37 AM
Old 01-22-2011
using command history

Hi All.

Suppose I am in a "verylongpath" directory and I type "gedit thisfile".
At a later stage, the command is accessible from the hystory, but it is
useless if I have moved to another directory. The same applies to
"cd myfolder", etc.

Is there a way to instruct shell history to remember the full path ?
Do I need to add full paths to command manually each time ? If so,
does anyone know a keystroke or ESC/tab combination to do it quickly
at command line ?

Thanks for your help!
Bruno
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

History Command

Hi I am using ksh shell, and I am unable to use the command !n (where n is the number in the history list). Please help me... :confused: (2 Replies)
Discussion started by: jack
2 Replies

2. UNIX for Dummies Questions & Answers

command history

Dear all, I am using solaris 6 O.S. and root previlege.I want to know how to get history of commands given by diff. users logged into the server. I know that history command gives the list of previous commands for that particular log in session. In the simillar manner can I get simillar history... (3 Replies)
Discussion started by: vikasdeshmukh
3 Replies

3. UNIX for Dummies Questions & Answers

Command history

Hello everyone, I am aware about the history command we use in bash. Just had a question regarding the history of commands. Is there any way i can limit my commands to be remembered or is there any way to delete the commands used by myself? Thank you (8 Replies)
Discussion started by: a25khan
8 Replies

4. Shell Programming and Scripting

need help in history Command

in my system history command is set to 60 how to remove all the command status even if i give history command. i mean: if i give history command in unix it should not show anything.........how to achieve this (2 Replies)
Discussion started by: ali560045
2 Replies

5. Shell Programming and Scripting

History Command

Hi all experts, I want to see all the command that is typed in the server 3 days ago. I typed HISTORY command but it does not show all the things. The reason is my senior DBA could see all the commands ran in the server 3 days ago but i cannot see. Please let me know is there anyway i can view... (6 Replies)
Discussion started by: ma466
6 Replies

6. UNIX for Dummies Questions & Answers

vi command history

How do you look at the whole list of previous commands you have used in VI? I know you can use the up and down arrows, but I know there's a way to see the full list. (5 Replies)
Discussion started by: cokedude
5 Replies

7. UNIX for Dummies Questions & Answers

history command

hi, i had to submit a project into a directory. i copied it from my location to the specified folder, no problemo. just one thing though. after i copied and searched for the time i copied using the history command, the system would not show. even using the up arrow key would not display my... (0 Replies)
Discussion started by: iluvsushi
0 Replies

8. UNIX for Advanced & Expert Users

history command

Hi, I want the command which has to tell all the commands used in different terminals of same Unix box. Command "history" will give the commands used in the same terminal. Advance thanks for your response. (1 Reply)
Discussion started by: senkerth
1 Replies

9. UNIX for Dummies Questions & Answers

The history command: See other users command history

Can anyone tell this: If two users are logged into the same server from different locations. Is there a way to see the history command of the other user? I tried the history command, but it is showing me only the commands I used. Thanks in advance for your help. Iamnew2solaris (1 Reply)
Discussion started by: iamnew2solaris
1 Replies

10. UNIX for Dummies Questions & Answers

Command history

hi i want to show my history command in UNIX solaris ( bash shell ),, i tried this command ( HISTTIMEFORMAT="%d/%m/%y %T " ) but it's not working with me ,, is there any restricted condition to do this command any one know why it's not working to me .. thanks (10 Replies)
Discussion started by: mondo32
10 Replies
gedit(1)							   User Commands							  gedit(1)

NAME
gnome-text-editor, gedit - Limited functionality text editor for the GNOME desktop. SYNOPSIS
gnome-text-editor [--debug [-section]] [gnome-std-options] [--help] [--new-document] [--new-window] [--quit] [filename] gedit [--debug [-section]] [gnome-std-options] [--help] [--new-document] [--new-window] [--quit] [filename] DESCRIPTION
The gnome-text-editor application is a text editor for the GNOME desktop. The application is also called gedit. You can use gedit as a shorter command to start the application. The application enables you to edit multiple documents at the same time. Each document resides in a specific tabbed section of the application window. When you start the application from the command line, you can specify one or more filenames. When gedit starts, the application opens all files that you list on the command line. OPTIONS
The following options are supported: --debug [-section] Run gedit in debug mode. In debug mode all the functions that are being called dump the function names to the con- sole. You can specify the following sections for debugging: o window o commands o document o file o plugins o prefs o print o search o undo o view o recent Run gedit --help for more information. gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5) for more information. --help Print the command line options. --new-document Create a new top-level document or tabbed section in an existing instance of gedit. --new-window Create a new top-level window in an existing instance of gedit. --quit Quit an existing instance of gedit. EXTENDED DESCRIPTION
The gedit application accepts pipes, so you can specify a pipe after another command, to load the output of the command into gedit. For example: example% ls -l | gedit EXAMPLES
Example 1: To Edit an ASCII File Named document.txt example% gedit document.txt Example 2: To Add a New Tab That Contains an ASCII File Named book.txt example% gedit --new-document book.txt Example 3: To Add a New Top-Level Window That Contains an ASCII File Named testfile.txt example% gedit --new-window testfile.txt EXIT STATUS
The following exit values are returned: 0 Application exited successfully. >0 An error occurred. FILES
The following files are used by this application: /usr/bin/gnome-text-editor The executable file for the gnome-text-editor application. /usr/bin/gedit A symbolic link to the gnome-text-editor executable file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-text-editor | +-----------------------------+-----------------------------+ | | | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
gnome-std-options(5), libgtksourceview-1.0(3) Online Help gedit manual. NOTES
This man page was written by the following people: Paolo Maggi, Chema Celorio, James Willcox, Federico Mena Quintero. Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004. SunOS 5.10 31 Aug 2004 gedit(1)
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy