cannot copy ss-icons.ttf into /.font folder

Asked by Edmond Condillac

I have downloaded the font file ss-icons.ttf but cannot copy it into the folder /.fonts/. I've tried to create the folder /.fonts/ in /home/edcon, where edcon is username.

There is an error message:

edcon@work:~$ mkdir /home/edcon/.fonts
Command 'mkdir' is available in '/bin/mkdir'
The command could not be located because '/bin' is not included in the PATH environment variable.
mkdir: command not found

I added PATH=/bin/mkdir

This gave the error:

Command 'mkdir' is available in '/bin/mkdir'
The command could not be located because '/bin' is not included in the PATH environment variable.
mkdir: command not found

However, at edcon@work:~$ cd /home/edcon/.fonts changes the working directory to edcon@work:~/.fonts$

Trying to copy the font file using the command:

edcon@work:~/.fonts$ sudo cp -R /home/edcon/Downloads/ss-icons.ttf /home/edcon/.fonts

shows the error:

cp: cannot stat ‘/home/edcon/Downloads/ss-icons.ttf’: No such file or directory

For my machine the following may be relevant information:
edcon@work:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

echo $PATH

Thanks

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

You seem to have completely screwed up your PATH environment variable.
In addition to actionparsnip's request please also provide the output of the command

grep -i PATH ~/.login */.cshrc ~/.bash_profile ~/.profile /etc/environment

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.