10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I tried to ease text searches so made a customized grep:
g () {
if
then
i=
for s in $2
do
i="$i --include=*.$s"
done
else
i='--include=*.txt --include=*.ini --include=*.*sh --include=*.c* --include=*.h --include=*.js --include=*.reg'
fi
grep -P -e \'$1\' -r "$i"
}
but I... (3 Replies)
Discussion started by: abdulbadii
3 Replies
2. Red Hat
Hi all
Many years ago, I found online this script that was incredibly funny and I had blogged it
Unfortunately because of my poor record-keeping, I seem to have lost the shell script
Would somebody be kind enough to tell me how to replicate this?
Thank you! (0 Replies)
Discussion started by: hedkandi
0 Replies
3. Shell Programming and Scripting
Hi,
The below commands will be inside a KSH script and SOLARIS machine.
Command-1 //Executes in 10s,5s,..5mins,etc
TIMER = Look for Command-1 execution status - IF finished in 25secs move to next command in the script IF NOT kill above command and move to next command.
Command-2
Any... (9 Replies)
Discussion started by: penqueen
9 Replies
4. Programming
Hello,
How to pass arguments to make thru command line? Have read this and that threads, but still not clear. My customized Makefile as:
# convert_program.mk:
run:
bash bash_srcipt.sh
clean:
rm ${OUT_PATH}/result.txtWhat I intend is to run like this:
$ make -f convert_progam.mk... (4 Replies)
Discussion started by: yifangt
4 Replies
5. Ubuntu
I'd like to make bootable USB flash with 12.04 desktop on it with some additional packages and customizations, such as added language.
What I tried so far - I went through pendrivelinux.com ISO to USB program and have working bootable USB with 12.04 desktop on it. The problem is all my changes... (8 Replies)
Discussion started by: migurus
8 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Hi
i have registered but my username is set to default value ( my email). can i change this ? (2 Replies)
Discussion started by: customizeemai
2 Replies
7. Shell Programming and Scripting
Hi there
I have an SFTP over Solaris as well it runs Samba. I need some users (outsiders) to use my SFTP facility as well to use the Samba. However i don't want them do anything else except file transferring via SFTP or Samba.
I was thinking to customize their Shell so that they would not run... (1 Reply)
Discussion started by: Time_Racer
1 Replies
8. Shell Programming and Scripting
Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum.
My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see... (2 Replies)
Discussion started by: ngaisteve1
2 Replies
9. Shell Programming and Scripting
HI guys,
I'm working on a code with the following specs:
1. Retrieving files with a particular extensions from a location specified by the users.
2. Copying those files to user specified location
i) but i need to pause copy if the network is busy
ii) and the copy process must... (3 Replies)
Discussion started by: bill88
3 Replies
10. UNIX for Dummies Questions & Answers
hi,
I have downloaded and installed some third party screenlets, when i am launching the liga screenlet i am not getting any thing , even not displaying any thing . and some like "word of the day " "quote of the day " are not working correctly. (2 Replies)
Discussion started by: saikoushik
2 Replies
gnome-desktop-item-edit(1) User Commands gnome-desktop-item-edit(1)
NAME
gnome-desktop-item-edit - GNOME Desktop file editor
SYNOPSIS
gnome-desktop-item-edit [--create-new] filename
DESCRIPTION
gnome-desktop-item-edit is the GNOME Desktop file editor, which you can use to create or edit the .desktop (known as desktop) file. GNOME
uses a standard desktop file specification as proposed by freedesktop.org. A desktop file consists of a number of name-value pairs that
define how a desktop should organize a particular application. As this is defined as an open standard, integration of applications into
GNOME Desktop is relatively straightforward.
A basic entry in the desktop file must start with a tag called [Desktop Entry]. It can then have a number of name-value pairs as defined by
the standard. The minimum entries are as follows:
Name the name of the application
Comment a textual description of the application which is displayed as a tooltip message by gnome-panel. When set appropri-
ately, the comment can be localized within the same file.
Exec the name of the actual executable
Icon the file name of the icon image
Type the desktop file type
Categories a multi-string field which is used by gnome-panel to group applications into the appropriate categories.
These desktop files provide the information to gnome-panel, which places the application in the appropriate locations on the panel. In
a similar manner, the GNOME file manager (Nautilus) uses information from the desktop files to display the 'applications:///' view.
OPTIONS
The following options are supported:
--create-new Creates a new .desktop file.
OPERANDS
The following operands are supported:
filename The name of the desktop file to be edited or viewed.
EXAMPLES
Example 1: Editing an existing .desktop file
example% gnome-desktop-item-edit fullpath/filename
This command invokes the launcher dialog and loads the contents of the specified desktop file into the relevant fields.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/gnome-desktop-item-edit
Executable for GNOME Desktop file editor
/usr/share/applications/
Location of system desktop files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-panel |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-panel(1), nautilus(1), attributes(5)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Ghee Teo, Sun Microsystems Inc., 2003.
SunOS 5.11 2 Oct 2003 gnome-desktop-item-edit(1)