Follow dba-ninja.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

dba-ninja.com Links

Dba_db2_button

Sqlserver_dba_button

Top 10 Yoda tips for the Linux command line

20 November,2019 by Rambler

Master these Linux commands and you will feel the Force or become the Linux Yoda . (or even just your job done more efficiently)

I don't know anything about myprogram - how can I find out? 

10 "info myprogram"
or
9 "man myprogram"

How can I find myprogram ?

"locate -i foo"
or
7  "whereis foo"

How can I view myprogram ?

"less foo"
or
"emacs foo"

How can I view the program's help ? This applies to most programs

4  myprogram "-h" or "--help" .

How can I navigate further into a directory?

3 "cd ./mydirectory"

How can I navigate further up into a directory?

2  "cd ../"

How can I list the items into a directory?

1  "ls"

How can I become more zen with my Linux system?

Read everything on the Linux system. Think of the Linux system as a giant library


Author: Rambler (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on Top 10 Yoda tips for the Linux command line


dba-ninja.com