Made changes to a file using vi editor and saved those changes
now realised that the changes are not required
How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
I only know how to list all sub-directories or files in specified directory. I don't know how to order them by modified date, furthermore, I don't know how to get the top one file in the sorted list. Wish you can do me a favor. Thanks in advance! (3 Replies)
Hi.,
Last modified time of the folder is changing when I view the file inside the directory. Here is the test on sample directory. I believe that ls -l commands gives the time detail w.r.t last modified time. Pl. suggest.
bash-3.2$ mkdir test
bash-3.2$ cd test
bash-3.2$ touch myfile.txt... (2 Replies)
Hi,
I am running this command through a shell script and getting the error mentioned in the subject line:
testing.awk -f x.txt TNAME
My testing.awk file contains something like
++++++++++++++++++
#!/usr/bin/awk -f
BEGIN{
TAB_NAME="INSERT_ONE_" ARGV ;
}
if ( $1=="JAM_ONE" &&... (1 Reply)
I wan to pick the latest modified file name and redirect it to a file ..
ls -tr | tail -1 >file
but this is printing file ins side the filename ,
can anyone help me out (5 Replies)
I am seeking help on one script that I created to celan up database audit files. The error returned is
$./clean_audit.sh: /opt/oracle/logs/audit_clean.log: cannot open The same script is working on other 2 or 3 servers. But not working on other 4 servers. All servers are Oracle Linux. Here is... (21 Replies)
I am trying to fetch the latest modified file from a directory using the command
find . -type f -exec ls -lt \{\} \+ | head | awk '{print $9}'
After the O/P, I get the below mentioned error and the command doesnt terminate at all.
find: ls terminated by signal 13
find: ls terminated by... (2 Replies)
hi,
We have a huge directory that ha 5.1 Million files in it. We are trying to get the file name and modified timestamp of the most recent 3 years from this huge directory for a migration project.
However, the ls command (background process) to list the file names and timestamp is running for... (2 Replies)
Discussion started by: subbu
2 Replies
LEARN ABOUT DEBIAN
sapphire
SAPPHIRE(1) General Commands Manual SAPPHIRE(1)NAME
sapphire -- minimal but configurable window manager
SYNOPSIS
sapphire [-display displayname | -version ]
DESCRIPTION
This manual page documents briefly the sapphire command.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
sapphire is a minimal but configurable window manager for X11R6. It supports themes in the form of X resource files, and has a customisable
menu.
The Debian version receives Debian menu entries automatically in a "Debian" submenu by default, you can add entries specifically to sap-
phire (in the rest of the menu) in the default-menu file. For more information, see update-menus (1) and the FILES section below.
Users can also set their own options in $HOME/.sapphire/wmconf (an X resource file).
OPTIONS -display displayname
Use the X-server display 'displayname'.
-version Show version of program.
FILES
/etc/X11/sapphire/menu/default-menu
menu entries specific to sapphire (you can edit this one, it's a conffile)
/etc/X11/sapphire/menu/menudefs.hook
Debian menu entries in sapphire's format, not read directly, do not edit (edit default-menu instead)
/etc/X11/sapphire/menu/default
this menu file is the one sapphire actually reads, it is automatically generated from the other two by update-menus, do not edit
(edit default-menu instead)
$HOME/.sapphire/wmconf
user-specific options
/usr/share/sapphire/themes
themes directory, all of the above may refer to themes from here (the files themselves are X resource files)
HISTORY
Sapphire was originally developed from Decklin Foster's aewm, and also uses some code from Blackbox (for gradients).
SEE ALSO
XFree86 (1), update-menus (1).
AUTHOR
This manual page was written by Chris Boyle <cmb@debian.org> for the Debian GNU/Linux system (but may be used by others). Permission is
granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later
version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
SAPPHIRE(1)