General :: Shell Script To Source An Env File And Open A Kde Konsole Terminal
Jan 27, 2011
I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.
I've tried a couple times to install from a tar.gz file and when i try to compile the source code in the terminal I get this error "tar: bash-4.2.tar.gz: Cannot open: No such file or directory" what am I doing wrong? Now when I download the files, I leave themin the down loads folder, do i need to make a new directory? If so how do I do that and how do i call it up when I compile the sopurce?
I have recently loaded Linux Mint on an old IBM Laptop and am very happy with the GUI; however, I would like to learn how to use the Linux shell/terminal. I don't know any of the commands. Is there a good online source for this information--a tutorial or list?
......................................... tape_restore.sh: 40: source: not found tape_restore.sh: 41: source: not found tape_restore.sh: 42: source: not found .................................
But in Redhat I can run same script . My script as follows.
I use kde3.3. How could I set the title in the top of konsole terminal. for example, i would like to have the file name printed if I open the file using vi or vim.
I am IT Manager. Currently I am responsible for a mostly IBM shop, running a mix of AIX, OS/400. VMware, and Windows.
My P-series running AIX and Oracle and my AS/400 both back up to tape drives daily. But my VMware system is not being backed up, the virtual machines are, but my tape drive just broke down.
I just ordered a server grade machine with an i5 CPU, running 3 2TB SATA drives in RAID5, this is going to be my new backup server.
I am hoping I can put Linux on it, and some sort of open source file replications, real time backup software that will back up my Windows servers, and my Windows desktops in real time.... any sort of animal exist?
I have a problem about to open zebra service after install quagga by command(./configure ; make ; make install ) and add service port ("/etc/services")
#service zebra status zebra dead but subsys locked
and can't telnet to zebra "telnet: unable to connection to remote host: connection refused"
I following a manual http://www.quagga.net/docs/docs-info.php but it's not perfect.
How to configure the KDE Konsole that when I press on a "new tab" button, the new shell would open on another machine (thorugh ssh), and not on the current one?
For some reason my gnome-terminal is starting in / when it should be ~ I have checked /etc/profile, ~/.bashrc and /etc/passwd and everything seems fine as far as i can tell Konsole and xterm are starting up with the working dir to my home dir (as set by /etc/passwd) But im at a loss to see where gnome-terminal is starting in / if i enter cd with no argumants in gnome-terminal it is switching to ~ fine, so i dont think its mistaking my home dir for /
I am trying to write a bash script that would save the current state of my konsole terminals and sessions. I'm using KDE3.X and for some reason the "profile" save does not save the current working directories... Anyway, I would like to know if there is an elegant way to obtain the current workdir of each terminal and session ? I've managed to do something with a clever use of DCOP extended functions, but it requires me to start every konsole with the --script option enabled, and I don't want to do that.
This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur. My searches are coming up with everything but this situation... I must be missing some terminology or something key, because people do this all the time inside of other programs (NetBeans, or rails server, for example).
is there a Terminal command to open a Target file (same as the one opens when you want to upload a file), let user choose the file and when he clicks open, be able to save his choice?for example:echo "Choose source file"--> command needed to browseand then open or save path to that file
I am wondering if I can open a shell or new terminal thing from within the terminal in a unix/linux enviroment. Particularly a commandline only one where there is no GUI. Is this doable? how do I do it?
At yesterday night i run a slackpkg update and then slackpkg upgrade-all. i deselect all kernel related entries,and all others ( dont remeber precisely, but approx 15 - 20 packages, i e kde related) i get to update.
After that i shut system down and going to sleep. today i start my eeepc 900 with slackware 13.0 after that update and see i cannot run "Terminal" link on desktop. ok, go to "start", "system", "konsole terminal". from first look in konsole window i see whatever not ok - window background is grey, not black as usual. when i run mc in this window, look like a monitor contrast is set to minimum, and brightness to maximum - very hard to see files, etc. all is very much light and small contrast.
I check kde windows - all its ok, brightness and contrast in konkueror windows and overall is ok -as same as previously times. i switch to ctrl-alt-f6 to native console - again, all is ok - background is black, all is ok.
i e problem is only with Konsole-Terminal under KDE. looks for configfiles / etc - nothing faund. no man entry for terminal nur console.
I've been looking for a alternative terminal to work in while using F15. I've done some Googleing and came across Konsole as being the most feature rich terminal. I'd like a terminal that provides a lot of features so I could possibly increase my efficiency. If something is KDE like Konsole does that mean I have to install the whole KDE environment? If so is there any Fedora terminal alternatives?
I know this is strictly a KDE problem, but I don't want to create another account anywhere and get the KDE spam, etc.
But if anybody who reads this list has the ear of (or is) a KDE person, a minor bitch with KDE in 13.0 and 13.1 is that if you were using Konsole terminals at the time of shutting down KDE, when next you start KDE, it replaces them with Terminal Emulators.
I was wondering, what would be a good, open-source file format for a beginner in the field, like me, to start editing sound files? This file format would have to be well documented, preferibly open-source, lossless and, most of all, convertible to more popular file formats, such as mp3 or wav maybe. I would like to design my own sound effects through directly editing the binary sequence of a sound file. I imagine this editing would have the purpose of adjusting the voltage variations of the sound device's output in time. It would be perhaps something like a PC-controlled signal generator. I'm thinking I might be able to do this in linux with something like
Code:
$ dd if=mysound.raw of=/dev/audio
But then, which book or resource woule be a good and through explenation of the relationship between the bit sequence in mysound.raw and the signal function generated in the output of, say, my computer's sound card.
When I open a terminal or konsole window, output (either STDOUT or STDERR) sometimes contains funny characters instead of something meaningful. Can someone explain how I might correct this situation?
ANALYSIS: One very repeatable example involves using the manual page command
Code: man set... man page output ...upstart - event-based init daemon
In my copy of the output, there are several problems in the very first screen. In the synopsis section, there is "{ value | ?value? ..." Replace the '?' with a lower-case-a-under-a-carat character (a-hat). I suspect the garble character might be apostrophe in real life.
In other places, I see var?/able or how?/ever or trans?/action where the '?' is again a-hat and the '/' represents end of line or newline. I suspect the garble character might be a hyphen in real life.
All of this suggests that there is a conflict between the character stream written to STDOUT by the man command and the character-display settings (is that "code page" or similar?) of the specific terminal or konsole in use.
In specific, I use konsole v1.6.6 from KDE v3.5.10. In general, I'm running Ubuntu Hardy (v8.04.3 LTS).
I am playing around with OpenFOAM which is an application for CFD Analysis but anyway, I have a cshrc file which contains all the environment variables for running the program but rather than source these all the time as some of them conflict I want to be able to use a launcher program which opens a gnome-terminal and then sources this cshrc file. This is what I have so far but I am struggling:
this is srinath,newbie to linux and shell scripts.am in need of shell script,which have to checkout the source code(C/C++) from CVS server to a specified directory and compile that source code and get all its dependency files to a specified directory.