bash ls without substring
Shell
# Note: there isn't an ls command specifically, BUT:
# you could use the 'find' command instead
# syntax ("!" is the entry for not)
find *</path/to/folder> ! -name '*<substring to exclude>'
# example
find /jacquesk/home/RandomFiles ! -name '*ExcludeFile*.txt'
# This will list all the files in the current directory
# of "/jacquesk/home/RandomFiles" that does NOT contain
# "ExcludeFile" (anywhere in the string) AND do not end in ".txt"
Also in Shell:
- Title
- delete a github repository using bash
- Category
- Shell
- Title
- gatsby-plugin-react-helmet npm
- Category
- Shell
- Title
- laravel generate mailable
- Category
- Shell
- Title
- .gitignore
- Category
- Shell
- Title
- fcm post example curl
- Category
- Shell
- Title
- how to reset git branch to a certain commit.
- Category
- Shell
- Title
- git grep across all branches
- Category
- Shell
- Title
- linux install ifconfig
- Category
- Shell
- Title
- how to update pip in linux
- Category
- Shell
- Title
- tab to csv command line
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- how to find the path of a command in linux
- Category
- Shell
- Title
- close chrome tab from command line ubuntu
- Category
- Shell
- Title
- random in mac terminal
- Category
- Shell
- Title
- how to save environment variables ubuntu
- Category
- Shell
- Title
- install node in nvm
- Category
- Shell
- Title
- set git pull rebase default
- Category
- Shell
- Title
- git sync branch with master
- Category
- Shell
- Title
- composer autoload dump
- Category
- Shell
- Title
- github undo last pushed commit
- Category
- Shell
- Title
- add passphrase to ssh agent?
- Category
- Shell
- Title
- linux find from file content
- Category
- Shell
- Title
- terminal italics test sequence
- Category
- Shell
- Title
- stop docker container
- Category
- Shell
- Title
- qpdf decrypt with password
- Category
- Shell
- Title
- htaccess route to index.php
- Category
- Shell
- Title
- git init at wrong folder
- Category
- Shell
- Title
- how to install php
- Category
- Shell
- Title
- how to launch a project from gitlab to intellij
- Category
- Shell
- Title
- Load key ".pem": bad permissions
- Category
- Shell
- Title
- Failed at the [email protected] postinstall script.
- Category
- Shell
- Title
- update pip
- Category
- Shell
- Title
- split large file into smaller files
- Category
- Shell
- Title
- bash endless loop
- Category
- Shell
- Title
- install magento 2 command line composer
- Category
- Shell
- Title
- how to perform mathematical operations in shell script
- Category
- Shell
- Title
- pyinstaller statsmodels
- Category
- Shell
- Title
- rename file linux
- Category
- Shell
- Title
- check ram memory usage linux
- Category
- Shell
- Title
- vim ubuntu install
- Category
- Shell
- Title
- send file to aws ec2 termnal
- Category
- Shell
- Title
- git add .
- Category
- Shell
- Title
- pygame not installing in ubuntu 20.04
- Category
- Shell
- Title
- powershell bulk rename and add extra string to filename
- Category
- Shell
- Title
- list directories recursively powershell
- Category
- Shell
- Title
- git files changed between two commits
- Category
- Shell
- Title
- how to revert to previous kernel ubuntu
- Category
- Shell
- Title
- git bash Could not open a connection to your authentication agent. when adding ssh
- Category
- Shell
- Title
- powershell sharepoint copy file to other site collection
- Category
- Shell
- Title
- "git checkout -b" example
- Category
- Shell
- Title
- git remove cached directory
- Category
- Shell
- Title
- gatsby image
- Category
- Shell
- Title
- laravel create controller
- Category
- Shell
- Title
- kill port ubuntu
- Category
- Shell
- Title
- linux scp
- Category
- Shell
- Title
- netstat install
- Category
- Shell
- Title
- git reset hard
- Category
- Shell
- Title
- netstat command in linux
- Category
- Shell
- Title
- install webpack
- Category
- Shell
- Title
- how to install nvm in mac
- Category
- Shell
- Title
- remove mysql
- Category
- Shell
- Title
- linux symlink directory example
- Category
- Shell
- Title
- git find merge conflicts
- Category
- Shell
- Title
- maven install on mac os x
- Category
- Shell
- Title
- git delete branch after merge
- Category
- Shell
- Title
- shutdown timer windows 10
- Category
- Shell
- Title
- how to get the size of directory in linux
- Category
- Shell
- Title
- how to add font icon in gatsby
- Category
- Shell
- Title
- git flow
- Category
- Shell
- Title
- Macbook git user config global
- Category
- Shell
- Title
- jq filter array
- Category
- Shell
- Title
- install keras
- Category
- Shell
- Title
- virtualbox kernel driver not installed ubuntu
- Category
- Shell
- Title
- installing rspec gemfile
- Category
- Shell
- Title
- batch rename files
- Category
- Shell
- Title
- create github repo with curl
- Category
- Shell
- Title
- github graphql query to get your repos
- Category
- Shell
- Title
- mysql backup dump docker file
- Category
- Shell
- Title
- how to copy ssh key
- Category
- Shell
- Title
- [mysqld] ubuntu 18
- Category
- Shell
- Title
- how to know free space in linux
- Category
- Shell
- Title
- what is the ssh credentials for minikube
- Category
- Shell
- Title
- git log one line
- Category
- Shell
- Title
- git clone submodule
- Category
- Shell
- Title
- mostrare i grafici matplotlib sulla shell python
- Category
- Shell
- Title
- git remove folder form past all commits
- Category
- Shell
- Title
- Pyrit download command for linux
- Category
- Shell
- Title
- find out a branch a parent branch git
- Category
- Shell
- Title
- youtube api python
- Category
- Shell
- Title
- linux query port use by pid
- Category
- Shell
- Title
- disable open file explorer erverytime i connect usb ubuntu
- Category
- Shell
- Title
- /usr/local/share/doc/node is not writable.
- Category
- Shell
- Title
- babel source maps
- Category
- Shell
- Title
- python install random library
- Category
- Shell
- Title
- Running modprobe bridge br_netfilter failed with message: ip: can't find device
- Category
- Shell
- Title
- chmode ubuntu
- Category
- Shell
- Title
- how use vim in linux
- Category
- Shell
- Title
- composer drupal install
- Category
- Shell
- Title
- intel pinning threads
- Category
- Shell