Get the inputrc file, if not set it defaults to:
System.getProperty("user.home")+Config.getPathSeparator()+".inputrc"

@return inputrc
511642
@Override
    public File inputrc() {
        if(inputrc == null) {
            inputrc = new File(System.getProperty("user.home")+Config.getPathSeparator()+".inputrc");
        }
        return inputrc;
    }
23860
public function getCurrentRoots()
    {
        $formProperty     = $this->formProperty();
        $targetFilesystem = $formProperty ? $formProperty->filesystem() : null;

        if ($this->hasFilesystem($targetFilesystem)) {
            $disk = $this->getNamedRoot($targetFilesystem);

            $startPath = $formProperty->uploadPath();
            $isPublic = $formProperty->publicAccess();
            $basePath = $isPublic ? $this->publicPath : $this->basePath;

            if (!file_exists($basePath.$startPath)) {
                mkdir($basePath.$startPath, 0755, true);
            }

            if ($startPath) {
                $disk['startPath'] = $startPath;
            }

            return [ $disk ];
        }

        return $this->getPublicRoots();
    }
999284
protected function getDestinationFolder()
    {
        $destination = \Config::get('uploadPath');
        $folder = null;

        // Specify the target folder in the DCA (eval)
        if (isset($this->arrConfiguration['uploadFolder'])) {
            $folder = $this->arrConfiguration['uploadFolder'];
        }

        // Use the user's home directory
        if ($this->arrConfiguration['useHomeDir'] && FE_USER_LOGGED_IN) {
            $user = FrontendUser::getInstance();

            if ($user->assignDir && $user->homeDir) {
                $folder = $user->homeDir;
            }
        }

        if ($folder !== null && \Validator::isUuid($folder)) {
            $folderModel = \FilesModel::findByUuid($folder);

            if ($folderModel !== null) {
                $destination = $folderModel->path;
            }
        } else {
            $destination = $folder;
        }

        return $destination;
    }
117497
protected File getHomeDir() {
        // check JNDI for the home directory first
        String varName = getApplicationName().toUpperCase() + "_HOME";
        try {
            InitialContext iniCtxt = new InitialContext();
            Context env = (Context) iniCtxt.lookup("java:comp/env");
            String value = (String) env.lookup(varName);
            if(value!=null && value.trim().length()>0)
                return new File(value.trim());
            // look at one more place. See HUDSON-1314
            value = (String) iniCtxt.lookup(varName);
            if(value!=null && value.trim().length()>0)
                return new File(value.trim());
        } catch (NamingException e) {
            // ignore
        }

        // finally check the system property
        String sysProp = System.getProperty(varName);
        if(sysProp!=null)
            return new File(sysProp.trim());

        // look at the env var next
        String env = System.getenv(varName);
        if(env!=null)
            return new File(env.trim()).getAbsoluteFile();

        return getDefaultHomeDir();
    }
606449
protected function getPropertiesFile()
    {
        $propertyfile = getcwd().'/build.properties';

        if (true === $this->input->hasParameterOption('--propertyfile')) {
            $propertyfile = realpath($this->input->getParameterOption('--propertyfile'));
        }

        if (is_file($propertyfile) && is_readable($propertyfile)) {
            return $propertyfile;
        }

        if (true === $this->input->hasParameterOption('--propertyfile')) {
            throw new \Exception(
                sprintf(
                    'Could not find properties file "%s"',
                    $this->input->getParameterOption('--propertyfile')
                )
            );
        }

        return false;
    }
1305223
@Pure
	public static String getUserHomeDirectoryName() {
		final String userHome = System.getProperty("user.home"); //$NON-NLS-1$
		if ((userHome == null || userHome.isEmpty()) && (OperatingSystem.ANDROID.isCurrentOS())) {
			return join(File.listRoots()[0], Android.HOME_DIRECTORY).toString();
		}
		return userHome;
	}
1322275
public CPath getCPath()
    {
        if ( parent == null ) {
            return CPath.ROOT;
        }

        CMFolder currentFolder = this;
        StringBuilder path = new StringBuilder(  );

        while ( currentFolder.parent != null ) {
            path.insert( 0, currentFolder.name );
            path.insert( 0, '/' );

            currentFolder = currentFolder.parent;
        }

        return new CPath( path.toString() );
    }
709628
public static String getTempDir() {
        // default is user home directory
        String tempDir = System.getProperty("user.home");
        try{
            //create a temp file
            File temp = File.createTempFile("A0393939", ".tmp");
            //Get tempropary file path
            String absolutePath = temp.getAbsolutePath();
            tempDir = absolutePath.substring(0,absolutePath.lastIndexOf(File.separator));
        }catch(IOException e){}
        return tempDir;
    }
530650
public static function getPathConsole() {
		
		$console = isset($_SERVER["SCRIPT_NAME"]) ? $_SERVER["SCRIPT_NAME"] : Config::getOption("phpScriptName");
		
		if (!$console) {
			$configPath = Console::getHumanReadablePath(Config::getOption("configPath"));
			Console::writeError("please add the option `phpScriptName` with the path to your console option (e.g. core".DIRECTORY_SEPARATOR."console) to <path>".$configPath."</path> to run this process...");
		}
		
		return Config::getOption("baseDir").$console;
		
	}
423368
private function fetchUserConfigFileFromCommandLineOptions()
    {
        $input = new ArgvInput();
        $userConfigFilePath = $input->getParameterOption('--config');

        if (!$userConfigFilePath) {
            $userConfigFilePath = $input->getParameterOption('-c');
        }

        if ($userConfigFilePath !== false) {
            $userConfigFilePath = realpath($userConfigFilePath);
        }

        return $userConfigFilePath;
    }
619590
private static Configuration getDefault(){
        Configuration config = new Configuration();
        config.addHandler(new ConsoleAuditHandler());
        config.setMetaData(new DummyMetaData());
        config.setLayout(new SimpleLayout());
        config.addProperty("log.file.location", "user.dir");
        return config;
    }
1076996
private function getUserDirectory()
    {
        $userDirectory = null;
        if (isset($_SERVER['HOME'])) {
            $userDirectory = $_SERVER['HOME'];
        } elseif (isset($_SERVER['USERPROFILE'])) {
            $userDirectory = $_SERVER['USERPROFILE'];
        }
        $userDirectory = realpath($userDirectory.'/../');
        $userDirectory .= '/'.$this->authenticationUsername;

        return $userDirectory;
    }
314207
public function getConfigFilePath()
    {
        $path = null;
        $locator = $this->config->getLocator();

        if (is_array($this->file)) {
            $res = null;
            foreach ($this->file as $file) {
                if (($res = $locator->locate($file)) !== false) {
                    break;
                }
            }
            $path = $res->getPath();
        } else {
            $path = $locator->locate($this->file)->getPath();
        }

        return $path;
    }
192808
public InputStream getAsStream() throws ProponoException {
        if (getContents() != null && !getContents().isEmpty()) {
            final Content c = getContents().get(0);
            if (c.getSrc() != null) {
                return getResourceAsStream();
            } else if (inputStream != null) {
                return inputStream;
            } else if (bytes != null) {
                return new ByteArrayInputStream(bytes);
            } else {
                throw new ProponoException("ERROR: no src URI or binary data to return");
            }
        } else {
            throw new ProponoException("ERROR: no content found in entry");
        }
    }
929778
public UserAccessor getUserAccessor() {
        if (userAccessor != null) {
            return userAccessor;
        }
        userAccessor = (UserAccessor) ContainerManager.getComponent("userAccessor");
        return userAccessor;
    }
1069489
protected function getDefaultInputDefinition()
    {
        return new InputDefinition(array(
            new InputOption('--help', '-h', InputOption::VALUE_NONE, 'Display this help message.'),
            new InputOption('--quiet', '-q', InputOption::VALUE_NONE, 'Do not output any message.'),
            new InputOption('--verbose', '-v', InputOption::VALUE_NONE, 'Increase verbosity of messages.'),
            new InputOption('--version', '-V', InputOption::VALUE_NONE, 'Display this application version.'),
            new InputOption('--ansi', '', InputOption::VALUE_NONE, 'Force ANSI output.'),
            new InputOption('--no-ansi', '', InputOption::VALUE_NONE, 'Disable ANSI output.'),
            new InputOption('--no-interaction', '-n', InputOption::VALUE_NONE, 'Do not ask any interactive question.'),
            new InputOption('--config', '-c', InputOption::VALUE_REQUIRED, 'Path to a configuration file'),
            new InputOption('--profile', '-p', InputOption::VALUE_REQUIRED, 'Chosen configuration profile'),
            new InputOption('--bootstrap', '-b', InputOption::VALUE_REQUIRED, 'A php bootstrap file'),
        ));
    }
783932
protected function getConfigFromInput()
	{
		$config_file_parse['separator'] = $this->form_input['separator'];
		$config_file_parse['file_path'] = $this->form_input['file_csv']->getRealPath();
		$config["file_parse"] = $config_file_parse;

		$config_builder['first_line_headers'] = ( $this->form_input['headers'] != '' );
		$config["builder"] = $config_builder;

		$config_model = array();
		$config["model"] = $config_model;

		return $config;
	}