cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
352
Views
0
Helpful
4
Replies

Can not see directories and files on CML server with "ls" command

leoingle
Level 1
Level 1

Apologies in advance, I am not strong with Linux at all.   I installed the CML free tier version and I was able to see all the files on the server through Terminal on the CML Cockpit.  I could do a "ls -D/*" and it would list everything on the server.  I used it when I pushed the free tier ref-plat file to mount it.  Since then, I have bought the full version and got my server upgraded to the full version.  Now I am working on getting the paid ref_plat file installed, but when I try to see file now, I can see anything when I do the "ls" command.  And when I do a "ls -a" to including hidden files, this is all it is showing:

sysadmin@cml-controller:~$ ls -a -R
.:
. .. .bash_history .bash_logout .bashrc .cache .profile .sudo_as_admin_successful

I even tried using the Virtual Console through iDrac and getting the same results.   I am following the instructions I made when installed the free tier stuff, but I am not getting the same results and can't figure out what I am doing wrong.  I would appreciate any help.

4 Replies 4

@leoingle 

  It can be related to directory. When you installed the CML free, were you using the same user ? 

You can run the command pwd to check the directory you are.

 

Hey Flavio, yes, everything is the same. All I did was apply the Personal license to the free installation and it upgraded it. 

Hello @leoingle ,

in order to see directories, use the ls -la version of the command. In the output produced:

liviu@cml-controller:~$ ls -la
total 40
drwxr-xr-x 5 liviu liviu 4096 Nov 12 2023 .
drwxr-xr-x 5 root root 4096 Oct 22 19:03 ..
-rw------- 1 liviu liviu 60 Nov 12 2023 .Xauthority
-rw------- 1 liviu liviu 2710 Dec 12 00:41 .bash_history
-rw-r--r-- 1 liviu liviu 220 Sep 10 2023 .bash_logout
-rw-r--r-- 1 liviu liviu 3771 Sep 10 2023 .bashrc
drwx------ 2 liviu liviu 4096 Sep 10 2023 .cache
drwx------ 4 liviu liviu 4096 Sep 10 2023 .config
-rw-r--r-- 1 liviu liviu 807 Sep 10 2023 .profile
drwx------ 2 liviu liviu 4096 Sep 11 2023 .ssh
-rw-r--r-- 1 liviu liviu 0 Sep 10 2023 .sudo_as_admin_successful

you can see directories that have the first character d in the line. 

Depending on your terminal, directories will also be coloured in blue in the listing.

Hope this helps.

Regards, LG
*** Please Rate All Helpful Responses ***

I will try that when I get back home. I have been fighting all day trying to get the paid ref_plat installed but have ran into road block after road block. I have decided to just wipe it out and start over with the paid iso install file.