03-14-2014
Is there a way to organize bash_profile across different platforms
I want to have one .bash_profile works on multiple platform, ubuntu, debian, redhat, cygwin, osx. So how should I organize .bash_profile?
It can be multiple files in some subdir
Let me brief you:
what i want is a way to organize bash_profile across platforms so I can use one set of profiles and use everywhere, e.g., how to identify different platforms.
Please help me.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'd like to ls a group of files in date order but I'm not sure what the commands would be.
Can anyone help with this? (1 Reply)
Discussion started by: hedgehog001
1 Replies
2. Shell Programming and Scripting
would like to standardize how we set envs on our unix box, so I thought a menu would be a great way to accomplish this.
The problem I'm experiencing, is the value is set...but ONLY during the time the menu is initiated.
please see below:
> /home/is/bin/r12MENU.sh
... (2 Replies)
Discussion started by: mr_manny
2 Replies
3. Shell Programming and Scripting
hello
i have written a multitask script which performs verifications on the server (RHEL 5 tikanga); based on list of rules.
since the results are huge both in length and number and I am sending them all to my log file.
Is there any method to organize the STATUS of my results in a defined... (1 Reply)
Discussion started by: goswami.c
1 Replies
4. Shell Programming and Scripting
Hello Expert,
I am new in awk. I would like to know how to arrange data like
Input File:
lpar1
1
2
3
4
5
6
lpar10
4
5
6
lpar3
4
5 (3 Replies)
Discussion started by: shah09
3 Replies
5. UNIX and Linux Applications
I'm looking for terminal programs, which organize and pretty code like HTML or JavaScript.
Thanks!
---------- Post updated at 07:01 AM ---------- Previous update was at 01:49 AM ----------
Found this Online javascript beautifier (1 Reply)
Discussion started by: borobudur
1 Replies
6. Shell Programming and Scripting
Hey all,
I have a file with info like this
12:05:44 DEV001 (15F6) 71 5 1372 131 58 100 6 0 17
DEV002 (15FA) 60 0 928 15 50 N/A 2 N/A 5
DEV003 (15FE) 77 2 961 59 51 100 1 0 2... (2 Replies)
Discussion started by: leo.maveriick
2 Replies
7. Shell Programming and Scripting
Hi Everyone !
i want to make an application which is written in shell script and in Bourne shell (sh)
i want, when my script is executed, it read all the files in the directly and move them to folders according to their extension.
suppose i have a files:
test.txt
test.jpg
test.docx... (1 Reply)
Discussion started by: me_newbie
1 Replies
8. Shell Programming and Scripting
I'm attempting to write a script that will look into a directory, discover all unique names, create directories for their prefix names and place the files inside. I do this now one by one with a simple script but I'd like to automate the process.
The directory would contain something like: ... (6 Replies)
Discussion started by: scribling
6 Replies
9. Shell Programming and Scripting
Hello, maybe someone could help me with this.
I'm trying to print in a more ordered way this input.
the input file is:
AB XY UT ZW PRAT
0 3 4 7214800 93
0 3 4 730770 ... (8 Replies)
Discussion started by: Ophiuchus
8 Replies
LEARN ABOUT SUSE
gst-complete
gst-complete-0.8(1) User Commands gst-complete-0.8(1)
NAME
gst-complete-0.8, gst-complete - perform bash completion for gst-launch command lines
SYNOPSIS
complete -Cgst-complete-0.8 gst-launch
gst-complete [--gst-list-mm] [--gst-mm=string] [--print]
DESCRIPTION
gst-complete-0.8 enables bash to provide context-sensitive tab completion for gst-launch command lines. See gst-launch(1) for the syntax of
gst-launch command lines.
You must have a version of bash that supports programmable completion. Such versions of bash provide the complete built-in command.
gst-complete is a wrapper script that runs the latest installed version of gst-complete-X.X. For example, if both gst-complete-0.7 and gst-
complete-0.8 are installed on your system, gst-complete runs gst-complete-0.8.
OPTIONS
The following options are supported by gst-complete-0.8 and gst-complete:
--help Display detailed usage message. You can also use -? to specify this option.
The following options are supported by gst-complete only:
--gst-list-mm List found major/minor versions. This option displays the versions that are available.
--gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the
default version.
--print Print wrapped command line. This option displays the command that will be run, and then runs the command.
EXAMPLES
Example 1: Generating the Registry of Available Plugins by Running gst-compprep
Run the following command in your .bash_profile or other appropriate place:
example% complete -C gst-complete-0.8 gst-launch
Example 2: Running the Wrapper Script and Displaying the Command Name
example% gst-complete --print
/usr/bin/gst-complete-0.8
FILES
The following files are used by this application:
/usr/bin/gst-complete-0.Executable for bash completion for gst-launch
/usr/bin/gst-complete Wrapper script that runs the latest installed version of gst-complete-X.X
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gst-compprep(1), gst-feedback(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-register(1), gst-thumbnail(1), gst-
typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3)
NOTES
Original man page written by the GStreamer team at http://gstreamer.net/.
Updated by Brian Cameron, Sun Microsystems Inc., 2004.
SunOS 5.10 14 Oct 2004 gst-complete-0.8(1)