set list / set nolist

show hidden chars in vi


1
By: EBAH
2011-02-27 19:38:15

These Might Interest You

  • Generates a password using symbols, alpha, and digits. No repeating chars. Show Sample Output


    -4
    for i in {21..79};do echo -e "\x$i";done | tr " " "\n" | shuf | tr -d "\n"
    hunterm · 2011-04-14 01:43:40 3
  • This command is a powerful "detoxifier" that eliminates special chars, spaces and all those little chars we don't like. It support several "sequences" so be sure to check your /usr/local/etc/detoxrc while at it... and maybe define your own Show Sample Output


    16
    detox -r -s utf_8 /path/to/old/win/files/dir
    renich · 2009-03-16 07:50:36 3
  • Sometimes I would like to see hidden files, prefix with a period, but some files or folders I never want to see (and really wish I could just remove all together). Show Sample Output


    1
    alias ls='if [[ -f .hidden ]]; then while read l; do opts+=(--hide="$l"); done < .hidden; fi; ls --color=auto "${opts[@]}"'
    expelledboy · 2012-08-12 13:10:23 0

  • 1
    Add to ~/.inputrc: set match-hidden-files off
    mikebd · 2009-07-20 14:31:04 0

  • 0
    fbcmd FSTATUS =all
    thami · 2013-12-05 22:56:12 1
  • To sort hidden files first, simply switch the two inner `ls` commands. I have this aliased to `dira` `dir` is aliased to the simpler version with no hidden files: ls -l --color=always | less -R


    2
    less -Rf <( cat <(ls -l --color=always) <(ls -ld --color=always .*) )
    asmoore82 · 2009-05-30 23:51:16 2

What Others Think

++!
linuxrawkstar · 377 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: