I tar a folder on windows and untar on RHEL machine. ls -l shows a . in file mode and folders are in blue + yellow background.  [root@xt-storage-01 apache-tomcat-8.0.5]# ls -l total 120 drwxrwxrwx. 2 root root  4096 Jul 24 11:18 bin drwxrwxrwx. 2 root root  4096 Jul 24 11:18 conf drwxrwxrwx. 2 root root  4096 Jul 24 11:18 lib   what's the meaning of . at the end of file mode?
123524
I performed an ls -la on directory on my CentOS 6.4 server here and the permissions for a given file came out as:  -rwxr-xr-x.   I understand what -rwxr-xr-x means, what I don't understand is the . after the last attribute.  Can someone explain it to me? Is it harmful in any way? Can it be removed?
71174
I'm currently developing a fake filesystem for a browsergame. I recently implemented ".." and "." folders so every folder has a reference to its parent. Then I checked in my terminal if "/" also has these folders.  Actually I was very surprised that it has a directory ".." which obviously is a reference to itself.  Is the reason for this consistency or is there a better explanation?  Edit: I'm basically looking for the document where this is documented.
37896
I used ls -lS command in my home directory. This command is supposed to list down the contents of a directory by size. This is what I got after running this command  total 10148 -rw-rw-r--  1 rahul rahul 8053159 May 15 15:35 Costa_ODE.pdf -rw-rw-r--  1 rahul rahul 1755507 May 15 17:33 gnuplot.pdf -rw-rw-r--  1 rahul rahul  218048 May 13 22:14 out.log -rw-rw-r--  1 rahul rahul   98131 Feb 16 01:53 hs_err_pid8639.log -rw-rw-r--  1 rahul rahul   12364 Apr 19 14:01 Untitled 1.csv drwxr-xr-x  4 rahul rahul   12288 Jun  6  2016 cfitsio -rw-r--r--  1 rahul rahul    8980 Feb  7  2016 examples.desktop drwxrwxr-x  2 rahul rahul    4096 Mar 10 12:24 bin drwxrwxr-x  8 rahul rahul    4096 May  8 14:51 boxfitv2 drwxrwxrwx  2 rahul rahul    4096 Jan 30 11:50 dao2 drwxrwxr-x  2 rahul rahul    4096 Mar 12  2016 deja-dup drwxr-xr-x  6 rahul rahul    4096 May 16 02:12 Desktop drwxr-xr-x  3 rahul rahul    4096 May 15 10:53 Documents drwxr-xr-x  5 rahul rahul    4096 May  8 14:09 Downloads . . . .   and its a pretty big list. But I want you to focus on sub-directories, for example Desktop. Its size is shown as 4096 bytes. But when I tried to see the details of Desktop, this is what I got.    In short, the command ls -lS is not calculating the size of the contents of Desktop and other sub-directories. Is there any way to do it?    EDIT:  Output of ls -lsh command  total 10M 4.0K drwxrwxr-x  2 rahul rahul 4.0K Mar 10 12:24 bin 4.0K drwxrwxr-x  8 rahul rahul 4.0K May  8 14:51 boxfitv2 4.0K -rw-rw-r--  1 rahul rahul 3.2K May 13 13:28 c.c  12K drwxr-xr-x  4 rahul rahul  12K Jun  6  2016 cfitsio 7.7M -rw-rw-r--  1 rahul rahul 7.7M May 15 15:35 Costa_ODE.pdf 4.0K drwxrwxrwx  2 rahul rahul 4.0K Jan 30 11:50 dao2    0 -rw-rw-r--  1 rahul rahul    0 May 13 20:37 default.txt 4.0K drwxrwxr-x  2 rahul rahul 4.0K Mar 12  2016 deja-dup 4.0K drwxr-xr-x  6 rahul rahul 4.0K May 16 17:11 Desktop 4.0K drwxr-xr-x  3 rahul rahul 4.0K May 15 10:53 Documents 4.0K drwxr-xr-x  5 rahul rahul 4.0K May  8 14:09 Downloads  12K -rw-r--r--  1 rahul rahul 8.8K Feb  7  2016 examples.desktop . . .   Output of du -sh ~/Desktop command  80M /home/rahul/Desktop
24207
I have used Windows since childhood, and when I hear the phrase "Windows filesystem" I think of directories (folders) within directories, a folder called SYSTEM, a folder called PROGRAM FILES etc. Is this what the system is? Just the layout of the folders?  And then I recently started using Linux, and my reference book says in the linux filesystem everything starts at root and branches off from there. How is that really different from Windows? I mean, it seems the linux system and the windows system are just two ways of setting up a directory tree.  Is this what file system means?
113339
I'm new to Mac usage.  It seems that most commands trip over options given after the file names. In linux, which I've used for years, it doesn't matter.  On Apple, it does.  Is there some setting somewhere or some hack to make commands like ls behave "normal"?  dwilson 0====&gt; ls -l p* -rw-r--r--@ 1 dwilson  owner  184 Jul 29 13:57 poo.c -rw-r--r--@ 1 dwilson  owner  133 Jul 29 13:57 poo.h  dwilson 0====&gt; ls p* -l ls: -l: No such file or directory poo.c        poo.h  dwilson 1====&gt;
27191
The ls -al command shows the following output;  -rwxrw-r--    10    root   root 2048    Jan 13 07:11 afile.exe   What are all the fields in the preceding display?
10017
I have compared the man pages of dir and ls and they seem to be exactly the same. Both are part of GNU coreutils and "list directory contents".   The only difference I've seen so far is that dir doesn't colorize the output.  So why do two commands exist? Is there a difference I missed? Why would one prefer dir over ls?
31470
Possible Duplicate:          Consider the following output from ls -l on OS X 10.5.8  drwxr-xr-x   3 user  staff    102 Aug 26 20:21 downloads drwxrwxrwx@ 10 user  staff    340 Aug 26 20:12 images   Can anybody tell me what the @ represents at the end of the permissions section, and also how to disable/enable it. I guess this this has something to do with the directory listing permissions, as when I'm running a PHP script in Apache that needs to access a folder without the @ bit set, it doesn't list the directory contents.  Thanks!
102236
I have a file with the following permissions on my MacBook Pro:  -rwxr-xr-x@  1 root  wheel   101K Feb 29 17:09 apachectl  What does the @ stand for?  I can't execute the file and this is the only thing that's standing out to me.  How can I get rid of it?    Just as some background, I copied this from a Time Machine backup.
118154
Is there a command that will show which file system (ext3, ext4, FAT32, ...) the various partitions and disks are using?   Similar to how sudo fdisk -l lists information about disks and partitions?
120550
I formatted my notebook just now and I installed Ubuntu LTS 16:04, and the folder /root shows with a (X).  Question 1: Why?  Question 2: How to solve this problem?    Notebook-  Dell Vostro-14-5480 Memory-    4GB Processor- i3 HD-        500
51122
I am trying to list every .tar.gz file, only using the following command:  ls *.tar.gz -l  ...It shows me the following list:  -rw-rw-r-- 1 osm osm  949 Nov 27 16:17 file1.tar.gz -rw-rw-r-- 1 osm osm  949 Nov 27 16:17 file2.tar.gz   However, I just need to list it this way:   file1.tar.gz  file2.tar.gz   and also not:  file1.tar.gz file2.tar.gz   How is this "properly" done?
16720
It seems like to deleted too much files by rm -r and now I have the error of "the system is running a low-graphic mode" in Ubuntu and I have to work in Windows because of that.  However I can load it in recovery mode. I need to copy the files from Downloads folder to a flash drive. Downloads folder has them as I can see by ls command.   When I plug in a flash drive, there will be some messages saying that everything is ok (as I understood) and it's plugged. But when I go to /media/my_name and do ls then I don't see anything. I don't see anything in /run/media/my_name either(I'm not sure if should though).  I can't connect to the Internet for some reason. Ubuntu was installed by wubi.exe file.  How do I save the content of my Downloads folder to a flash drive?
106831
I'm trying to locate where some files are stored and I can easily browse to them via ssh by going to "cd ~/foldername", however, I have no idea what directory "~/" actually is.  When I browse around folders via WinSCP (yes, I'm a Windows admin), I can't seem to locate this folder at all.   Note: I'm using Amazon Linux on EC2.
74228
Possible Duplicate:          Most commands I use in linux behave exactly the same whether I include the trailing slash / character on the end of a directory name or not.  For example:  ls /home/cklein ls /home/cklein/  cp foo bar cp foo/ bar/   When does this trailing slash matter?  What is the semantic meaning of the trailing slash?
32993
When I run ls -adl .* in one of my directories, I get a file that has this listing:  lrwxrwxrwx  1 user group   43 Jul  3 16:25 .#filename.py -&gt;   person@computer.edu.4018:1372874769   The filename and URL-looking thing are highlighted in red. What does the l mean in lrwxrwxrwx? What kind of file is this?
59625
while reading about linux file searching I got the following...  To search for files using the * wildcard, replace the unknown string with *, e.g. if you remember only that the extension was .out, type ls *.out  and when I tried the following command on system(ubuntu 14.04 LTS) ..I got   anupam@JAZZ:~$ ls  *.bash*   ls: cannot access  *.bash* : No such file or directory  anupam@JAZZ:~$ ls  .bash*  .bash_history   .bash_logout  .bash_profile  .bashrc  anupam@JAZZ:~$   in the first case why it is showing No such directory ( *.bash* ) and in next case its showing the files ( .bash* )   I am new to this flavor, and according to my automata theory classes (*) means any combination of strings including epsilon(empty),,So why the results are different in both the cases....?