Skip to content

Instantly share code, notes, and snippets.

View romach's full-sized avatar

Roman Cherepanov romach

View GitHub Profile
@romach
romach / show-current-user-location.sh
Created April 8, 2017 11:51
Show current user location
pwd
@romach
romach / show-directory-content.sh
Created April 8, 2017 11:54
Show directory content
ls directory
@romach
romach / move-to-other-directory.sh
Last active April 8, 2017 12:01
Move to other directory
# move to 'directory'
cd directory
# move to root directory
cd /
# move to home directory
cd ~
cd
@romach
romach / create-directory-recursively.sh
Created April 8, 2017 12:57
Create directory recursively
mkdir -p parent/child
@romach
romach / simulate-site-for-mobile-device.md
Created April 9, 2017 08:32
Simulate site for mobile device in Google Chrome

Toggle device

@romach
romach / add-image.md
Last active May 2, 2017 12:19
Add image

Image

![Image of romach](https://avatars0.githubusercontent.com/u/2506484?v=3&s=230)

Image of romach

@romach
romach / create-file.sh
Created April 9, 2017 08:53
Create file
touch file.txt
@romach
romach / show-directory-tree.sh
Created April 9, 2017 08:54
Show directory tree
sudo apt-get update
sudo apt-get install tree
tree directory
@romach
romach / rename-directory.sh
Created April 9, 2017 08:56
Rename directory
mv directory1 directory2
@romach
romach / move-all-files-from-directory.sh
Created April 9, 2017 08:58
Move all files from directory to another
mv directory1/* directory2