Tachyon_Directory through Particle Console

Hello,

Could someone advise on how I may access Tachyon’s directory through the Console Terminal? I only see a bin and minicom.log dir.

Thank you for your time.

Hey, this is a linux system, so there are plenty of folders (directories?) on the file system.

Is there a particular directory/folder you are looking for?

If you want to know the current one, you can run:

pwd

Here’s more info about some commands:

Apologies if I misunderstood your question.

Gustavo.

Thank you for the link.
So on from my PC, through PowerShell and adb shell into the Tachyon, I see plenty of folders. I made a new folder in the usr folder. I ran some scripts from there. It’s working fine from the PC terminal. However, through Particle Console, in Terminal, within the shell, (command ls) I do not see any folders beside a bin folder and a minicom.log. Both on PC and Console are accessed at root level.

so what is the current directory in both?

pwd

do that in one and the other and you’ll see whether you are looking at the same folder.

Navigate to the folder you want with cd

cd /usr

I was not at root level. I was in a root folder instead. I can see all the folders now. Your note “cd /usr” pointed me to the difference between ‘~’ and ‘/’. Thank you.

yes, that happens when a linux user logs in. The log in process “lands” on the user folder, which for user root is /root:

root@tachyon-8d14f2:~# pwd
/root
root@tachyon-8d14f2:~# 

Best,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.