Recent content by iam_ak

  1. I

    execute gcc complied file in ubantu via double click

    no the programs waits for me to enter some input,so it cannot dissappear.I think it has to do somthing with the file type. One is type:shared library (application/x-sharedlib) and the other is of type:executable (application/x-executable).I'm havig trouble with the x-executable only :(
  2. I

    execute gcc complied file in ubantu via double click

    Thanks for the quick reply. Currently these are my two executables hello(type:shared library (application/x-sharedlib)) and serialhello(type:executable (application/x-executable)) arun@arun-VirtualBox:~/Desktop/code/c$ ls -l total 364 -rwxr-xr-x 1 arun arun 8336 Mar 8 14:41 hello...
  3. I

    execute gcc complied file in ubantu via double click

    Edit: i was able to run the application from the desktop by creating a .desktop file.How ever i am facing a new problem now I notice that when i right click and click on properties i see Type: shared library(application/x-sharedlib) But for some executables it shows: Type: shared...
  4. I

    execute gcc complied file in ubantu via double click

    Hello all, I just complied a dummy program which prints something on the terminal. how do i go about this by double-clicking the executable and It should open up the terminal and run the program in it automatically. The executable already has all the required permissions. These are the...
  5. I

    File Permissions - chmod

    Thanks for such a detailed reply.After assigning a few file permissions i understood the numbers much more clearly.Personally i like this syntax chmod u=rwx,g=rx,o=rx /path/to/file As it is easy for me to remember them :)
  6. I

    File Permissions - chmod

    Thanks rob,this is very helpfull. Edit: My first post here !! I do have one query. Lets say i do chmod 000 abc.txt so if i view the permissions i see this arun@arun-VirtualBox:~/Desktop/code/c$ ls -l abc.txt ---------- 1 arun arun 16 Feb 23 14:06 abc.txt There are totally 10 "-". The first...
Top