Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to execute a command on UNIX? Post 302321178 by BenA on Saturday 30th of May 2009 08:35:14 PM
Old 05-30-2009
How to execute a command on UNIX?

Hi guys,
I'm completely new to UNIX and Linux and all that stuff. I've been using webhosting (shared) for some time years now and recently I've wanted to carry out some tasks that have had some commands which are not familiar to me. One was to install Mailman and the other to copy files from one server to another. I searched for ways to do the latter and got this:
Code:
$ scp source/file.c remoteuser@remoteaddr:remote/dir
$ scp -r remoteuser@remoteaddr:remote/dir ~/tmp

which means nothing to me. I assume that it's a command relating to UNIX and I have no idea how to execute such things. I am used to programming having written plenty of PHP and some client-side languages (not professionally), but this is like nothing I've ever seen.
If this is not UNIX related, I apologise, please correct me. If it is, how might I go about running such a command?
I've searched a bit but nothing much useful seems to come up. If it's helpful, my server says it's "UNIX Type: L8".

Thanks for your time,
Ben
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

execute command unix with java:possible or not?

hi everybody, i have a small unix script and i want to use it with java, so how can i executte unix command with java (if it is possible): in fact i want to use some values returned by this script with java swings. is it possible (of course everything is possible) but how can i do? thank you in... (4 Replies)
Discussion started by: mips
4 Replies

2. Shell Programming and Scripting

To execute next UNIX command after ending SFTP process.

Hi, I am trying to run a simple UNIX command after i successfully executed SFTP command as shown below. ----------------------------------------- echo 'Step-1' sftp -vvv -b path exit echo 'Step-2' ------------------------------------------ In above script it executes from the 1st... (3 Replies)
Discussion started by: gautamc
3 Replies

3. Programming

execute unix command from java eclips

Hi all, I tried to execute the command by 2 ways : 1) Java Runtime class exec method - but the problem there is that it only can execute scripts without arguments(I need with args) 2) the Jtux classs Uprocess- the problem it is not supported by windows and my eclips platform is on... (0 Replies)
Discussion started by: katzs500
0 Replies

4. Shell Programming and Scripting

Net::SSH::Perl->Execute any unix command & display the output in a proper form

Net::SSH::Perl ...... how to print the output in a proper format my $cmd = "ls -l"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd("$cmd"); print $stdout; the script works fine, but i am unable to see the output... (2 Replies)
Discussion started by: gsprasanna
2 Replies

5. Shell Programming and Scripting

Execute unix command from an html page in windows

i have a problem situation, where i have a html file say click.html. i have a button "ls" in that html page. i run this html file in windows....Now say if i click that "ls" button it must connect to the unix server and execute ls and return the results back to html page in windows. can anyone tell... (8 Replies)
Discussion started by: niteesh_!7
8 Replies

6. Shell Programming and Scripting

Execute a unix command

Hi, Please suggest me to execute unix command. Input : 2011-01-01 00:00:00 Required output : 20110101000000 YYYYMMDDHH24MISS Regards Akshu (4 Replies)
Discussion started by: akshu.agni
4 Replies

7. Shell Programming and Scripting

How to execute PMCMD command in Unix?

Hi All, I am trying to run the PMCMD commend to execute the informatica workflow but while executing from my home directory i am getting below error ksh: pmcmd: not found I executed from my server/bin directory too. I am getting the same error. My commend is: pmcmd startworkflow -sv... (3 Replies)
Discussion started by: kannansr621
3 Replies

8. Shell Programming and Scripting

Cannot execute Unix command in a simple perl script

Am trying to lean perl scripting in Unix OS to automate my tasks. Please find the below perl script i have tried #!/usr/bin/perl -w print "Please Enter the VG name to be checked:"; $A = <>; print "Please Enter the free size to be checked in GB:"; $B = <>; $vgcheck = `vgdisplay... (7 Replies)
Discussion started by: jayachandran87
7 Replies

9. UNIX for Dummies Questions & Answers

Execute a command in different directory through Unix Script

Hi Gurus, I have the below requirement, Execute an unix script which will pick the latest file from the archive directory and do a grep (on multiple patterns) on that file. processingDir="/usr/apps/irdc/informatica/spsf_sales/TgtFiles/ARCHIVE" filename = 'ls Check* | sort -n -k 2 |... (6 Replies)
Discussion started by: diva_thilak
6 Replies

10. Shell Programming and Scripting

How to execute previous command in UNIX?

Hi, I was able to use !! on the console. But when I used !! in the run.sh, it says something like command not found. (3 Replies)
Discussion started by: alvinoo
3 Replies
DECNET.CONF(5)							File Formats Manual						    DECNET.CONF(5)

NAME
/etc/decnet.proxy - DECnet proxy file DESCRIPTION
/etc/decnet.proxy is an ASCII file which contains mappings of remote DECnet users to local users. It is used by fal(8) when no username and password have been explicitly given to determine whether a user is allowed to access files and also whose files they will get access to. There is one entry per line, and each line has the following format: node::remoteuser localuser The field descriptions are: node The name or number of the remote node. If this is a name it must appear in decnet.conf(5) otherwise a DECnet node address should be used. This field is a regular expression: If you want to match a single nodename then you must use the anchors ^ and $ either side of the name. remoteuser a regular expression that may match one or more remote user names. If you want to match a single user then you must use the anchors ^ and $ either side of the name. localuser The name of a user on the local machine or a single asterisk (*) in which case the remote username will be substituted. Comments start with a hash mark and continue to the end of that line. They may be on a dedicated line or following an entry. EXAMPLE
#/etc/decnet.proxy # proxy configuration for fal. # ^tramp$::^test$ christine # Explicitly convert 'test' on tramp to 'christine' ^zaphod$::.* none # Disable proxies from zaphod (assuming you don't # have a user called 'none') .*::.* decnet # Like a default DECnet account .*::.* * # Equivalent to VMS *::* * proxy (make this last # if you use it) SEE ALSO
fal(8), decnet.conf(5) DECnet for Linux 8 August 2002 DECNET.CONF(5)
All times are GMT -4. The time now is 09:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy