1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-07 07:46:02 +02:00

Fixed English tenses as reported by tldr-lint

This commit is contained in:
Ruben Vereecken 2016-01-16 15:12:05 +01:00
parent 34e1ac7b2e
commit 5a26958e94
18 changed files with 26 additions and 26 deletions

View file

@ -3,7 +3,7 @@
> Creates an alias for a word when used. > Creates an alias for a word when used.
> As the first word of a command. > As the first word of a command.
- Creating a generic alias: - Create a generic alias:
`alias {{word}}="{{command}}"` `alias {{word}}="{{command}}"`
@ -15,10 +15,10 @@
`alias -p` `alias -p`
- Turning rm an interative command: - Turn rm an interative command:
`alias {{rm}}="{{rm -i}}"` `alias {{rm}}="{{rm -i}}"`
- Overriding la as ls -a: - Override la as ls -a:
`alias {{la}}="{{ls -a}}"` `alias {{la}}="{{ls -a}}"`

View file

@ -2,7 +2,7 @@
> Dependency manager for the Ruby programming language. > Dependency manager for the Ruby programming language.
- Installs all gems defined in the gemfile expected in the working directory: - Install all gems defined in the gemfile expected in the working directory:
`bundle install` `bundle install`

View file

@ -2,11 +2,11 @@
> Create gifs. > Create gifs.
- Making a GIF animation with gifsicle: - Make a GIF animation with gifsicle:
`gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}` `gifsicle --delay={{10}} --loop *.gif > {{anim.gif}}`
- Extracting frames from an animation: - Extract frames from an animation:
`gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}` `gifsicle {{anim.gif}} '#0' > {{firstframe.gif}}`

View file

@ -2,10 +2,10 @@
> Creates a directory. > Creates a directory.
- Creates a directory in current folder or given path: - Create a directory in current folder or given path:
`mkdir {{directory}}` `mkdir {{directory}}`
- Creates directories recursively (useful for creating nested dirs): - Create directories recursively (useful for creating nested dirs):
`mkdir -p {{path}}` `mkdir -p {{path}}`

View file

@ -6,6 +6,6 @@
`mysqldump -u {{user}} --password {{database_name}} > {{filename.sql}}` `mysqldump -u {{user}} --password {{database_name}} > {{filename.sql}}`
- Restoring a backup, user will be prompted for a password: - Restore a backup, user will be prompted for a password:
`mysql -u {{user}} --password {{database_name}} < {{filename.sql}}` `mysql -u {{user}} --password {{database_name}} < {{filename.sql}}`

View file

@ -15,6 +15,6 @@
`redis-cli -a {{password}}` `redis-cli -a {{password}}`
- Executes Redis command: - Execute Redis command:
`redis-cli {{redis command}}` `redis-cli {{redis command}}`

View file

@ -2,10 +2,10 @@
> Removes a directory. > Removes a directory.
- Removes directory, provided it is empty. Use `rm` to remove not empty directories: - Remove directory, provided it is empty. Use `rm` to remove not empty directories:
`rmdir {{directory}}` `rmdir {{directory}}`
- Removes directories recursively (useful for nested dirs): - Remove directories recursively (useful for nested dirs):
`rmdir -p {{path}}` `rmdir -p {{path}}`

View file

@ -3,7 +3,7 @@
> Securely remove files or directories. > Securely remove files or directories.
> Overwrites the existing data one or multiple. Drop in replacement for rm. > Overwrites the existing data one or multiple. Drop in replacement for rm.
- Removes a file after overwriting (single pass, 7 pass, 35 pass): - Remove a file after overwriting (single pass, 7 pass, 35 pass):
`srm -s {{/path/to/file}}` `srm -s {{/path/to/file}}`
`srm -m {{/path/to/file}}` `srm -m {{/path/to/file}}`

View file

@ -2,15 +2,15 @@
> Filesystem client based on ssh. > Filesystem client based on ssh.
- Mounting remote directory: - Mount remote directory:
`sshfs {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}` `sshfs {{username}}@{{remote_host}}:{{remote_directory}} {{mountpoint}}`
- Unmounting remote directory: - Unmount remote directory:
`fusermount -u {{mountpoint}}` `fusermount -u {{mountpoint}}`
- Mounting remote directory from server with specific port: - Mount remote directory from server with specific port:
`sshfs {{username}}@{{remote_host}}:{{remote_directory}} -p {{2222}}` `sshfs {{username}}@{{remote_host}}:{{remote_directory}} -p {{2222}}`

View file

@ -2,7 +2,7 @@
> Execute a command as another user. > Execute a command as another user.
- Listing of an unreadable directory: - List of an unreadable directory:
`sudo {{ls}} {{/usr/local/scrt}}` `sudo {{ls}} {{/usr/local/scrt}}`

View file

@ -14,6 +14,6 @@
`view {{file}}` `view {{file}}`
- Exiting vim: - Exit vim:
`[Esc] (to switch to normal mode), then :q` `[Esc] (to switch to normal mode), then :q`

View file

@ -6,6 +6,6 @@
`vimtutor {{language}}` `vimtutor {{language}}`
- Exiting the tutor: - Exit the tutor:
`[Esc] (to switch to normal mode), then :q` `[Esc] (to switch to normal mode), then :q`

View file

@ -2,11 +2,11 @@
> Display who is logged in and related data (processes, boot time). > Display who is logged in and related data (processes, boot time).
- Displays the username, line, and time of all currently logged-in sessions: - Display the username, line, and time of all currently logged-in sessions:
`who` `who`
- Displays information only for the current terminal session: - Display information only for the current terminal session:
`who am i` `who am i`

View file

@ -10,7 +10,7 @@
`dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4M conv=noerror` `dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4M conv=noerror`
- Generating a file of 100 random bytes by using kernel random driver: - Generate a file of 100 random bytes by using kernel random driver:
`dd if=/dev/urandom of={{random_file}} bs=100 count=1` `dd if=/dev/urandom of={{random_file}} bs=100 count=1`

View file

@ -6,7 +6,7 @@
`{{arguments}} | xargs {{command}}` `{{arguments}} | xargs {{command}}`
- Handling whitespace in arguments: - Handle whitespace in arguments:
`{{arguments_null_terminated}} | xargs -0 {{command}}` `{{arguments_null_terminated}} | xargs -0 {{command}}`

View file

@ -10,7 +10,7 @@
`dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4m conv=noerror` `dd if=/dev/{{source_drive}} of=/dev/{{dest_drive}} bs=4m conv=noerror`
- Generating a file of 100 random bytes by using kernel random driver: - Generate a file of 100 random bytes by using kernel random driver:
`dd if=/dev/urandom of={{random_file}} bs=100 count=1` `dd if=/dev/urandom of={{random_file}} bs=100 count=1`

View file

@ -2,7 +2,7 @@
> Copy files and folders. > Copy files and folders.
- Overwrites contents of destination folder with contents of source folder: - Overwrite contents of destination folder with contents of source folder:
`ditto {{path/to/source}} {{path/to/destination}}` `ditto {{path/to/source}} {{path/to/destination}}`

View file

@ -2,7 +2,7 @@
> QuickLook server tool. > QuickLook server tool.
- Displays QuickLook for one or multiple files: - Display QuickLook for one or multiple files:
`quicklook -p {{filename}} {{filename2}}` `quicklook -p {{filename}} {{filename2}}`