Hey guy,
how to make bash script to create foo.txt file and add current date into file content and that file always append.
example: today the script run and add today date into content foo.txt
and tomorrow the script will run and add tomorrow date in content foo.txt without remove today... (3 Replies)
Hi,
I have an application's log file:
/var/log/logfile which is feeded from time to time due to an application. This file contains data, what I want is:
-Whenever some new data is copied to /var/log/logfileI want to generate an email to root BUT only with the new added data in the body.... (6 Replies)
May i know how do i go along finding similar entry in a .txt file, which is used a as a "database" and post and error saying the entry existed when we key in the entry.
---------- Post updated at 05:18 PM ---------- Previous update was at 05:16 PM ----------
i mean post an error saying the... (5 Replies)
Hi all,
I did not use UNIX for a long time, now i need to make a flat file with extra field, can you help me with the code ?
1. I create a last line of each log from each system and make it in a flat text file (seperate by a pipe |)
mv current.log old
tail -1 sanfrancisco.log > current.log... (5 Replies)
I would like help adding a new column to a large txt file (~10MB) that contains the filename. I have searched other posts but have not found an adequate solution.
I need this extra column so I can concatenate >100 files and perform awk searches on this large file.
My current txt file look... (4 Replies)
Hi Guys,
I have file A.txt
File A Data
AK1521
AK2536
AK3164
I want create text file of all data above and write some data on each file.
want Output on below folder
/home/kka/out
AK1521.txt
Hi
Welocme (3 Replies)
so...
Lets assume I have a text file.
The text file contains multiple "#" symbols.
I want to replace all thos "#"s with a STRING using DOS/Batch
I want to add a certain TEXT to the end of each line.
How can I do this WITHOUT aid of sed, grep or anything linux related ? (1 Reply)
Hello, this is my first thread here :)
So i have a text file that contains words in each line like
abcd
efgh
ijkl
mnop
and i have 4 txt files, i want to add each line to each file, like file 1 gets abcd at the end; file 2 gets efgh at the end ....
I tried with:
cat test | while read -r... (6 Replies)
Discussion started by: azaiiez
6 Replies
LEARN ABOUT REDHAT
gnome-session
GNOME(1) General Commands Manual GNOME(1)gnome-session - Starts up the GNOME desktop environmentSYNOPSIS
gnome-session [--choosesession] [--failsafe] [--purge-delay=DELAY] [--warn-delay=DELAY] [--suicide-delay=DELAY] [session-name]
DESCRIPTION
The gnome-session program starts up the GNOME desktop environment. This command is typically executed by your login manager (either gdm,
xdm, or from your X startup scripts). It will load either your last session, or it will provide a default session for the user as defined
by the system administrator (or the default GNOME installation on your system).
You can optionally specify a specific session name to restore.
gnome-session is an X11R6 session manager. It can manage GNOME applications as well as any X11R6 SM compliant.
gnome-session uses the contents of the ~/.gnome/session file for starting up as specified by the "Current Sesssion" key in the
~/.gnome/session-options file. Various default values are provided in case the file entry does not exist.
If the session file does not exist, gnome-session will use the contents of the /usr/share/gnome/default.session file.
OPTIONS
The following options are supported:
--choose-session=ARG
User can specify a session to load, as opposed to the session specified in the ~/.gnome/session-options file. If that entry does not
exist in the ~/.gnome/session file (or if that file doesn't exist), it will use the default session and all saves to that session
will be to the new session name.
--failsafe
Fail safe operations mode: only reads saved sessions from the default.session file.
--purge-delay=ARG
The number of millisecond that gnome-session will wait for clients to register, if you use 0 it will wait forever (default value:
30,000 milliseconds).
--warn-delay=ARG
The number of millisecond that gnome-session will wait for clients to respond, if you use 0 it will wait forever (default value:
10,000 milliseconds).
--suicide-delay=ARG
The number of millisecond that gnome-session will wait for clients to die, if you use 0 it will wait forever (default value: 10,000
milliseconds).
ENVIRONMENT
gnome-session accepts all of the standard environment variables used by gnome programs, other than the SESSION_MANAGER environment vari-
able. [ xref to a manpage where this is documented. ] gnome-session also sets several environment variables for the use of its child pro-
cesses.
SESSION_MANAGER
This variable is used by session-manager aware clients to contact gnome-session.
DISPLAY
This variable is set to the X display being used by gnome-session. Note that if the --display option is used this might be different
from the setting of the environment variable when gnome-session is invoked.
SEE ALSO default.session(5),gnome-session-save(1)BUGS
If you find bugs in the gnome-session program, please report these using bug-buddy or the gnome-bug script included with the GNOME
libraries distribution.
GNOME 1.0 GNOME(1)