Skip to content

Tag: linux

Amazon AWS EC2 Key Pair Denied

I have scoured the Internet for answers and had little luck. All I have been trying to do is connect to my AWS EC2 Linux server via SSH. The.pem file is on my computer, but it has not been accepted. I have tried several FTP clients, including FileZilla and the native Terminal on my Mac. In FileZilla, my error…

Cannot launch R help document from terminal R

My working platform is: I have installed vim-r-plugin for editing and running R programs. Everything looks fine but launch some R help document such as: Does somebody know what’s the reason and how to fix it? Answer If you type getOption(“help_type”) it will be either “html” or &…

readdir function is not reading the whole directory on linux system

On my hosting provider i have a directory called hosts that has a structure like this the content of hosts.php file is this when i run hosts.php i get this output so php doesn’t show ma_women_com.php ! if i removed this useless line from hosts.php the output goes fine and it can read ma_women_com.php in…

Multiple Qt versions on Linux

I am currenyly using Debian Jessie and I have Qt Creator installed with Qt 5.3.3. It works fine, however there are some issues like QSystemTrayIcon not appearing properly, which I understand doesn’t occur on versions earlier than 5.0.0, so I would like to be able to switch which version I am building wi…

sbrk system call in unix

I studied like malloc uses the sbrk system call. But, some one says, the sbrk is deprecated one. Now a days malloc using the mmap2 system call to allocate memory. So, Is there any commands like (ls,cat, grep, sed) using the sbrk system call. For Ex: The above output shows that the ls command using the above s…