OpenSUSE :: Register Command To Run A Script File From Terminal?

May 10, 2011

I've recently installed matlab and after some poking around found that you must start it using a script like:

#>> cd ~root/../matlab2009/bin/
#>>./matlab

the manual tells me that the installation should have made it so that all you have to do is type matlab at the terminal but for some reason this hasn't happened. If you did not set up symbolic links in the installation procedure, you must enter the full path name to start MATLAB, matlabroot/bin/matlab, where matlabroot is the name of the folder in which you installed MATLAB. I've also looked at documentation on ln but most refers to making links between files. Is there a way to link the command "matlab" to the file shown above so all I have to do is type the command and it runs the script?

p.s: Here's what I've tried:

#>> ln -s ~root/../matlab2009/bin/matlab matlab
linux-2fs6:/home/alex # matlab

If 'matlab' is not a typo you can use command-not-found to lookup the package that contains it, like this:

cnf matlab

View 9 Replies


ADVERTISEMENT

Ubuntu :: Terminal Emulators Cannot Register 'a' Key?

May 30, 2011

For some reason, gnome-terminal, terminator, mrxvt, rxvt, tilda and a few other terminal applications I downloaded are unable to register the 'a' key on my keyboard. However, every other application is able to register my keypresses perfectly. Does anybody know what might be causing this, or what logs/diagnostic tools I could use to find out the reason for this odd behavior?

View 2 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

Red Hat / Fedora :: Use FTP Command In SSH Terminal To Get File?

Mar 20, 2010

How do I use my SSH Terminal to get a file that is sittng on another server that I have.. As its like 500 megs or so but to download it to my computer then upload it it takes a long time..

So this is what i have done so far

1. Loged in to SSH Terminal

2. Went to my DIR that i want to put the FILE to

3. Typed in FTP

4. I"M LOST now as i'm trying to connect using my user on my ftp site (DIFFERN"T SERVER)

I relly need the key commands SHH Terminal for dummies

View 3 Replies View Related

Ubuntu :: Exclude File From Terminal Command?

Jul 12, 2010

Well i downloaded a program with many .deb files ( At least 15 ) so i wanna execute them all trough the terminal so i typed

Code:
patowlmc@patowlmc-desktop:~$ cd /home/patowlmc/Downloads/i386
patowlmc@patowlmc-desktop:~/Downloads/i386$ sudo dpkg -i *.deb
Readme.deb: command not found

As you can see all files in the folder are .deb packages, but one: The Readme file, wich is a text file.

I know I just have to move the file to somewhere else, and everything should work, but i wanna know if there's a command for excluding a file or something.

P.D. I totally trust the program, so don't worry about so many .deb files.

View 9 Replies View Related

General :: Command To Update Terminal As File Is Updated

Mar 13, 2011

I'm looking for a way to have the access log for my nginx install scroll up the terminal as lines are added to the log. I think I need a command like cat access.log | diff but I'm not sure exactly what it should be.

View 1 Replies View Related

Ubuntu Servers :: Terminal Command - Searching Given SH File For String

Mar 10, 2010

I need a hand with a line of terminal commands. I need to be able to search a given .sh file in a given location for a string, and when found, add a "#" to the start of that string and save the file back to it's original location.

View 1 Replies View Related

Ubuntu Multimedia :: Terminal Command In Script To Save File

Sep 28, 2010

I use webcam with the streamer application. So, to record a video I have to put in terminal something like this:
Code:
streamer -q -c /dev/video0 -f rgb24 -r 24 -t 00:30:00 -o /home/shark/untitled.avi
I know I can use other applications but I have got problems with all except with this. This is really annoying because it is a delay job. So, I am wondering how can I make a script that the terminal will ask me to name the file or even better to ask where to put my file.

View 9 Replies View Related

Fedora :: Open A File Using Command Line In Terminal And Edit Code Within It?

Jun 10, 2011

How to open a file using command line in terminal and edit the code within it ?code...

View 6 Replies View Related

Ubuntu :: Which Command Should Run From The Terminal To Know Which File System (ext3 - Ext4) Runs On

Dec 27, 2010

I'd like to know which command i should run from the terminal to know which file system (ext3, ext4, etc...) my Ubuntu runs on.

View 2 Replies View Related

General :: Burn Data (file) With Command Line (at Terminal) To DVD Rewrite?

May 17, 2010

Now, I use Fedora Core (version 8) with core linux OS 2.6
I have some file data with size about 2G and I want to burn (write) this file to DVD rewrite.

I know linux OS can install software to burn data to DVD, but I don't have permission to install more software. I only use command line over Terminal (Gnome Terminal).

View 4 Replies View Related

Ubuntu :: Log The Command Output's History That Are Previously Printed Messages In The Terminal To A File?

Apr 23, 2011

is it possible to log the command output's history that are previously printed messages in the terminal to a file? that is the first command output when i first opened terminal through the last command.

View 5 Replies View Related

Ubuntu Networking :: Terminal Command/script To Upload A File To An Ftp Server Without User Input?

Apr 26, 2011

I've got used to using the ftp command from the terminal, which is useful, especially with macros. But it requires user input, and what I want to do now is upload a specific file to a server, once I've finished working with it every day. It's the same file every day. II would like to be able to do this semi-automatically: I just give the command and it connects to the server and uploads the file. (I will probably want to encrypt the file before uploading it.)I don't know how I could use ftp without any user input: I want it to be automatic.

View 5 Replies View Related

OpenSUSE Install :: Running The Hplip Command In Terminal?

Nov 17, 2010

I have downloaded the hplip command on the desktop, attempted to cd desktop, and it shows "no such directory". running this command so I can set up my printer? And I can't seem to put the screenshot here..

View 9 Replies View Related

OpenSUSE :: RPC Authentication Error - Cannot Register Service

Feb 8, 2010

I am trying to solve problem with software which needs to have access to network card I suppose. Installation run without any problems but when I am launch software I get such message as normal user:
Cannot register service:
RPC: Authentication error; why = Client credential too weak.

When I launch program as root I get this:
WARNING: localhost appears to have the loopback address 127.0.0.2 as IP address
This may imply that processes on arlin may not be able to connect to non-local processes but program starting with success at least. What I should do to run program as normal user?

View 5 Replies View Related

OpenSUSE :: Ekiga Don't Re-register Automatically A SIP Account

Aug 11, 2010

After timeout is over a SIP account does not register again automaticaly, manualy can be unregistered and registered again. Changing timeout seconds does not make any difference, re-registering does not happen. Is there is a way ekiga can be forced to re-registered itself automaticaly?

View 1 Replies View Related

OpenSUSE Network :: Register DNS Entry With Static IP?

Apr 5, 2011

We're trying to replicate something that Windows servers can do. Basically on a Windows box, you can give it a static IP address, but there is an option to have it update the DNS server with it's IP and hostname. We are trying to do this on SUSE 11.I know I can get this function to work on SUSE if the box is set up as with DHCP. What we're having difficulty is when the server is set up as a Static IP to get it to update the DNS server

View 8 Replies View Related

Fedora :: Terminal Command For Installing Packages Zypper / OpenSuSE?

Jun 24, 2011

I'm considering making a switch from Ubuntu/Linux Mint to Fedora 15 because I just adore, love, cannot be without Gnome Shell any longer. SELinux - I actually am finding I hate this program as it blocks certain plugins (like Java), some programs I run it blocks functionality, etc. What's the best way to disable it or make it more like Ubuntu where it's pretty much permissive of everything. Common Apps I use - I haven't checked the repos, but at the least I use the following (some I know work, but I can't remember the specific ones I want to know if I need to compile or if it's in the repos)

a - Snes9x
b - PCSX Reloaded
c - KeepNote
d - libdvdcss2 and libdvdread4
e - MP4, MP3, AVI, MPEG, OGG, OGV codecs (I think I've converted any others like WMA and WMV... wait I have a few WMA files, crap)
f - Flash 64-bit - this one I have issues with SELinux wise, (reason for first question)
g - VirtualBox - it runs so much faster under Fedora so I know this one works
h - Sun Java

RPMs - Fedora uses RPMs right? Is there like an DEB Alien to convert DEBs to RPMs? Apache2 - Now maybe I found this as httpd or lightppd or something, but why isn't it listed as Apache2 in the repos? I'm more or less guessing that Fedora is not a "rolling" release, is there a variant or version that is or a repo I can enable? A software center, other than Synaptic; I'm pampered when it comes to Ubuntu Software Center and that, is there anything like that in Fedora that isn't Synaptic? What's the terminal command for installing packages, is it zypper or is that OpenSuSE?

View 7 Replies View Related

OpenSUSE :: Defining Default Applications Via Command Line/terminal?

Apr 7, 2011

I recently upgraded from 11.3 to 11.4 succesfully. I had to reinstall several applications and, some of them, can't be configured as default from the control panel (e.g. Opera as default browser, VLC as default media player). The problem is that droplists at the prefered applications don't show any other than the default ones, Firefox and TotemIs there a way I can change these settings via command line or a way to fix what applications are shown at the control panel?

View 8 Replies View Related

OpenSUSE Install :: Start / Stop KDE From Command Line (Terminal)?

Jul 10, 2011

How to stop/start KDE from the command line (Terminal) on opensuse 11.4?

View 9 Replies View Related

OpenSUSE Install :: Application 'gnome-wm.desktop' Failed To Register?

Aug 24, 2010

Had a boot failure last night; first one for 11.3 64 bit:

Aug 23 19:32:06 suse1 gnome-session[4822]: WARNING: could not read /etc/xdg/autostart/ksmolt-autostart.desktop
Aug 23 19:32:06 suse1 gnome-keyring-daemon[4800]: unable to create keyring dir: /home/rthornto/.gnome2/keyrings
Aug 23 19:32:06 suse1 gnome-keyring-daemon[4800]: couldn't write to file: /home/rthornto/.gnome2/keyrings/login.keyring: No such file or direct
ory

[Code]...

View 1 Replies View Related

OpenSUSE :: .jar File Runs Fine In Command Line But Not From File System?

May 3, 2010

My .jar file needs and uses some files in the same directory it's in (everything, including the jar was unzipped into said directory). It runs perfectly when I do java -jar file.jar in the command line, but there's trouble when I double-click the file when running from the file system manager. I've tried a custom command under properties ie java -jar, but the problem is that the .jar file doesn't seem to be able to use any of the files in the same directory. When running, the jar can't find any of the files that it needs.

View 5 Replies View Related

OpenSUSE Install :: Any Substancial Difference Between Gnome Terminal Or Hitting 'c' To Bring Up Command Line

Feb 25, 2010

so the safest way to go about this is to assume I know nothing. I mean, I have a rough Idea of what a kernel is, no idea what a shell is, etc. I do consider myself computer savvy, but know NOTHING about linux and thats why I'm Diving in, hopefully not too much, this is just to give you an idea of what we're working with here.

After several install attempts I kept getting a blank screen. Whether it be black,white, or the default gnome desktop (without any icons, and simple things like ctrl+alt+backspace just doesn't work, or anything else for that matter) I was ending up with a blank screen. Driver for moniter....maybe....but I did succesfully install it once, and it worked like a charm...shutdown properly, and the next day after work...Boom, same thing after startup.today I started from scratch and re-installed....samething, until I hit the power button, went from the dvd(iso) and did a fail safe, now my resolution is much better than it was the first time..Actual questions.....what did I do to fix it when failsafe never worked before?

Is there a way to save these settings, so I don't run into the problem again, because I don't even want to turn of my computer at this point?If i'm trying to dive in and learn the command line actions, is there any substancial difference between gnome terminal or hitting "c" to bring up the command line?

View 9 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

General :: Make Linux Terminal Transparent With Terminal Command?

May 10, 2010

Is it possible to make terminal (xfce4-terminal) transparent from bash script?

Maybe by enabling compostion?

View 1 Replies View Related

OpenSUSE :: Run In Terminal Option On A Desktop File?

Jun 28, 2011

Haven't found any references to this, just wondering where the "Run in Terminal" option has gone when creating a link to an application on the Desktop in 11.4/KDE4.6. Can do it manually by editing the .desktop file, but there is no option in the Link setup..?

View 7 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:

Code:

#! /bin/bash
#
#TODO write this for gnome and xterm

[code]....

This same error occurs if the gnome-terminal line is changed to

Code:

gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 1 Replies View Related

Programming :: Command Line Invocation Of Gnome-terminal To Run More Than One Command?

Feb 16, 2010

I am trying to learn how to pass more than a one-command startup for gnome-terminal.

I will give an example of what I'm trying to do here:

Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....

However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.

This same error occurs if the gnome-terminal line is changed to

Code:
gnome-terminal -e mcTerm

Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.

View 4 Replies View Related

OpenSUSE :: Look Command Fails Look /usr/share/dict/words - No Such File

Dec 20, 2009

How can I install the dict file to look works?

I am running SUSE 11.1

Here is the error:

View 2 Replies View Related

OpenSUSE Install :: Accidentally Changed /usr/bin/php File On My Server By Running A Cp Command

Sep 14, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved