Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 63ced55

Browse files
Add symlinks
1 parent 82b53df commit 63ced55

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

‎README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Handy list of oft-used Linux commands that I will never remember. Not intended t
77
- [Count number of items in directory](#count-number-of-items-in-directory)
88
- [Monitor GPU usage](#monitor-gpu-usage)
99
- [File Permissions](#file-permissions)
10+
- [Symbolic Links](#symbolic-links)
1011
- [fish](#fish)
1112
- [wget](#wget)
1213
- [Networking](#networking)
@@ -66,6 +67,20 @@ sudo chmod XXX <filepath>
6667
# ssh directory 700
6768
```
6869

70+
### Symbolic Links
71+
72+
```bash
73+
# ln -s <path-to-target> <path-to-link>
74+
$ ln -s ~/Documents ./docs
75+
$ ls -alh
76+
total 8.0K
77+
drwxrwxr-x 2 anurag anurag 4.0K Mar 26 00:34 ./
78+
drwxrwxr-x 24 anurag anurag 4.0K Mar 26 00:33 ../
79+
lrwxrwxrwx 1 anurag anurag 23 Mar 26 00:34 docs -> /home/anurag/Documents/
80+
$ python docs/hello.py
81+
Hello!
82+
```
83+
6984
### fish
7085

7186
```bash

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /