How do I convert *.ps file to a .pdf file? I tried several links given by google search, but either solution is really old and does not work for latest versions of ps and pdf files, or they do not make sense to me. Is there a simple utility to convert .ps file to .pdf file.
hrishikeshp19's questions
I am from mac os x background. To control my apache, mysql, and php, I used to use MAMP tool available for mac os x.
On my ubuntu, I have installed all the required softwares but, I want a good UI tool to control my apache. To be specific, I change my document root too often, so I want a GUI tool to where I can just browse for desired document root, and restart the server.
Is there any such tool available?
When I enter command
ls
I see a list of files and directories in current directory, the list displayed is quite annoying.
Rather, I like to execute ls command with -1 option like
ls -1
My question is how to change default behavior of ls command such that it will always execute with -1 option. i.e how to display files and directories in one column with ls command.
Thanks.
I am doing this with root privileges. But still I am getting access denied error.
hrishikesh@hrishikesh-ubuntu:~$ sudo curl http://npmjs.org/install.sh | sh
[sudo] password for hrishikesh:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7881 100 7881 0 0 12574 0 --:--:-- --:--:-- --:--:-- 37174
tar=/bin/tar
version:
tar (GNU tar) 1.25
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
install [email protected]
fetching: http://registry.npmjs.org/npm/-/npm-1.1.1.tgz
0.6.10
1.1.1
cleanup prefix=/usr/local
All clean!
npm ERR! Error: EACCES, permission denied '/usr/local/bin/npm'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Linux 2.6.38-13-generic
npm ERR! command "/usr/local/bin/node" "/tmp/npm.2959/package/cli.js" "rm" "npm" "-gf"
npm ERR! cwd /tmp/npm.2959/package
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/bin/npm
npm ERR! code EACCES
npm ERR! message EACCES, permission denied '/usr/local/bin/npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.2959/package/npm-debug.log
npm not ok
npm ERR! error installing [email protected]
npm ERR! error rolling back [email protected] Error: EACCES, permission denied '/usr/local/bin/npm'
npm ERR! Error: EACCES, permission denied '/usr/local/bin/npm'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Linux 2.6.38-13-generic
npm ERR! command "/usr/local/bin/node" "/tmp/npm.2959/package/cli.js" "install" "-gf"
npm ERR! cwd /tmp/npm.2959/package
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.1
npm ERR! path /usr/local/bin/npm
npm ERR! code EACCES
npm ERR! message EACCES, permission denied '/usr/local/bin/npm'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.2959/package/npm-debug.log
npm not ok
It failed
hrishikesh@hrishikesh-ubuntu:~$
What do I do?
Whenever I start my emacs, I get warning like:
Warning: Lisp directory `/usr/local/share/emacs/23.3/site-lisp' does not exist.
I upgraded to 11.10 from 11.04.
Please help me remove this warning.
I have ubuntu 11.10.
In my grub menu, I have following images:
linux 3.*
linux 2.*
linux 2.*
My linux 3.* image is broken (if I try to boot from first image, i.e. linux 3.*, I get my caps and scroll lights blinking, and nothing appears on my screen).
If I boot from my second image, everything works just fine. My update manager shows everything updated. My software sources are updated. How do I fix my grub loader.
Thanks.
My computer shutdown because of critical temperature reached. I was upgrading my Ubuntu 11.04 to 11.10. Now, Ubuntu is not starting up.
How to install PHP Compiler/Interpreter on ubuntu 11.04
I have latest version of PHP, but I want to learn PHP from terminal. Is there a PHP interpreter available that will run PHP programs inside terminal.
e.g. I want to run command like "phpc" or "phpi" or "php" to open up PHP REPL.
Thanks.