Skip to content

Instantly share code, notes, and snippets.

View filevich's full-sized avatar
🥜
deez nuts

JP Filevich filevich

🥜
deez nuts
View GitHub Profile
cat file.txt | tail -n 1 | bash -
#!/bin/bash
# give it executable permission
# `chmod +x filename.sh`
echo "Total arguments : $#"
echo "1st Argument = $1"
echo "2nd argument = $2"
// for :
// by keys
for (String i : capitalCities.keySet()) {
System.out.println("key: " + i + " value: " + capitalCities.get(i));
}