how will you login one server's shell prompt to an another
server?
Answers were Sorted based on User's Feedback
Answer / habs
ssh username@hostname
prompts for pwd, if passwordless login not enabled
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / phoenix
Just in case you are in sudo and not able to get through
using command
ssh ipaddress(or)hostname
use the below command
ssh user_id@ipaddress
or
ssh user_id@hostname
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / vamshi
Hi
first login super user
then login that server to another
server1#ssh@ipaddress or hostname(server2)
server1#passwd:
server2#
| Is This Answer Correct ? | 2 Yes | 3 No |
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include<stdlib.h> # include <stdio.h> int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:
which command is used to identify the type of the file?
Explain command to display different lines that are found when compare two files?
hw will u use awk in replacing cahrs and files
What command will change your prompt to myprompt?
What is mtime in find command?
solaris Run level?
Assume the following files are in the working directory prompt> ls -l tasks -rw-r--r-- 1 alex student 1423 Feb 21 14:01 tasks What command can Alex use to give everyone permission to write to the file? What will the ls -l command display if he does so?
What does awk stand for?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
Enlist some filename manipulation commands in unix.
what is the difference between Touch & cat command