Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to make a list bash

#to create an array:
$ declare -a my_array
#set number of items with spaceBar seperation:
$ my_array = (item1 item2)
#set specific index item:
$ my_array[0] = item1
Comment

bash list

mkdir dir1
ls
dir1
Comment

PREVIOUS NEXT
Code Example
Shell :: InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files. 
Shell :: linux run apk 
Shell :: how to clear docker-compose logs 
Shell :: remove docker created network 
Shell :: install pycodestyle in ubuntu 
Shell :: bash read file line by line with spaces 
Shell :: run jar file command line 
Shell :: Build-tool 32.0.0 rc1 is missing DX at dx.bat 
Shell :: djanog shell change password 
Shell :: snap list installed 
Shell :: stop processes on port 3000 
Shell :: git stash unstage cahnges 
Shell :: ubuntu mouse cursor disappears 
Shell :: catkin_make single package 
Shell :: change user to sudo kali 
Shell :: edit iptables 
Shell :: iwconfig command not found 
Shell :: launch ubuntu screenshot utility from terminal 
Shell :: remove from staging git 
Shell :: amazon linux install ssm agent 
Shell :: ls human readable size 
Shell :: docker active log 
Shell :: dos delete 
Shell :: how to run explorer in wsl 
Shell :: git reset one file 
Shell :: choco upgrade 
Shell :: jq to csv 
Shell :: how to download terminator in ubuntu 
Shell :: linux search for a given string in all files recursively 
Shell :: composer install global 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =