Quantcast
Channel: Webminal - Latest topics
Browsing all 484 articles
Browse latest View live

Prog#238: ls command

@angala wrote: /* ls command Program#238 */ #include<stdio.h> main(int argc,char *argv[]) { int i,p; union xyz{ struct lsc{ int mode; char fn [14]; }a; char b[sizeof(struct lsc)]; }; union xyz...

View Article


Prog#239: ln command

@angala wrote: /* ln command Program#239 */ #include<stdio.h> main(int argc,char *argv[]) { int i; if(argc!=3) { printf("error: no.of arg"); return 0; } i=link(argv[1], argv[2]); if(i==0)...

View Article


Prog#240: (unlink) rm command

@angala wrote: /* (unlink) rm command Program#240 */ #include<stdio.h> main(int argc,char *argv[]) { int i; if(argc!=2) { printf("error: no.of arg"); return 0; } i=unlink(argv[1]); if(i==0)...

View Article

Prog#241: remove all files

@angala wrote: /* remove all files Program#241 */ #include<stdio.h> main(int argc,char *argv[]) { int i,c; if(argc<2) { printf("error: no.of arg"); return 0; } c=0; while(c<argc); {...

View Article

Prog#242: mv command

@angala wrote: /* mv command Program#242 */ #include<stdio.h> main(int argc,char *argv[]) { int i; if(argc!=3) { printf("error: no.of arg"); return 0; } i=link(argv[1], argv[2]); if(i==0)...

View Article


Prog#243 A: encryption

@angala wrote: /* encryption Program#243 A */ #include<stdio.h> main(int argc,char *argv[]) { int i,p,q; char a; if(argc!=2) { printf("error: no.of arg"); return 0; } p=open(argv[1], 0);...

View Article

Prog#243 B: encryption

@angala wrote: /* encryption Program#243 B */ #include<stdio.h> main(int argc,char *argv[]) { int i,p,q; char a; if(argc!=2) { printf("error: no.of arg"); return 0; } p=open(argv[1], 0);...

View Article

Prog#244: decrypt the given file

@angala wrote: /* decrypt the given file Program#244 */ #include<stdio.h> main(int argc,char *argv[]) { int i,p,q; char a; if(argc!=2) { printf("error: no.of arg"); return 0; } p=open(argv[1],...

View Article


Prog#245: file is available or not

@angala wrote: /* file is available or not Program#245 */ #include<stdio.h> main(int argc,char *argv[]) { int i; if(argc!=2) { printf("error: no.of arg"); return 0; } i=access(argv[1],0);...

View Article


Prog#246: vi command

@angala wrote: /* vi command Program#246 */ #include<stdio.h> main(int argc,char *argv[]) { int i,p; char a; if(argc!=2) { printf("error: no.of arg"); return 0; } i=access(argv[1],0); if(i==0) {...

View Article

Prog#247: owner's permission

@angala wrote: /* owner's permission Program#247 */ #include<stdio.h> main(int argc,char *argv[]) { int i; if(argc!=2) { printf("error: no.of arg"); return 0; } i=access(argv[1],0400); if(i==0)...

View Article

Prog#248: delete a file

@angala wrote: /* delete a file Program#248 */ #include<stdio.h> main(int argc,char *argv[]) { int i; if(argc!=2) { printf("error: no.of arg"); return 0; } i=access(argv[1],0); if(i!=0) {...

View Article

Prog#249: sum of 2 nos

@angala wrote: /* sum of 2 nos Program#249 */ #include<stdio.h> main() { int a,b,c; scanf("%d %d", &a, &b); c=sum(a,b); printf("%d", c); } sum(x,y) int x,y; { int z; z=x+y; return z; }...

View Article


Prog#250: biggest of two nos

@angala wrote: /* biggest of two nos. Program#250 */ #include<stdio.h> main() { int a,b,c; scanf("%d %d", &a, &b); c=big(a,b); printf("%d", c); } big(x,y) int x,y; { int z;...

View Article

Prog#251: area of circle

@angala wrote: /* area of circle Program#251 */ #include<stdio.h> main() { int r; float c; scanf("%d", &r); c=area(r); printf("%f", c); } area(x) int x; { float z; z=3.14*x*x; return z; }...

View Article


How to copy paste in terminal?

@ygarcia wrote: Hello Webminal Team! I am trying to copy paste in terminal, but It only works when I copy text from same terminal. How can I copy text from outside the terminal and paste into...

View Article

Account issue

@mehrdadzoghi wrote: Hi Kindly i faced access issue to my account to webminal terminal. My user: mehrdadzoghi Error: login – mehrdadzoghi: /home/mehrdadzoghi: change directory failed: Permission...

View Article


What is my username and password?

@laks wrote: For website Login and Terminal login use the password you entered during registration process along with username. Posts: 1 Participants: 1 Read full topic

View Article

I'm typing correct password, this doesn't appear on the screen?

@laks wrote: Typed password characters won’t appear, just like Linux terminal.It won’t display typed characters or * . After typing the password press enter to complete the login process. Please check...

View Article

Need ssh access

@hatim21 wrote: How to get ssh access on webminal Posts: 1 Participants: 1 Read full topic

View Article
Browsing all 484 articles
Browse latest View live