Unix Tips and Unix Short cuts are very useful in Unix Operating system, so today we are going to write about the Unix Tips and Some Unix Short Cuts in Detail. What is the benefit of these Unix Tips in Your Day to day life is described below. Some of these commands work only in the csh or tcsh shells. We all Know that command line is the powerful tool of any operating system, you can do anything with commands without any GUI and Other Interface. so we are also telling some Unix Commands.
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted by various unix admins around the globe.
Top 10 Tips and Good Habits For A Unix User >>
- Make directory trees in a single swipe.
- Change the path; do not move the archive.
- Combine your commands with control operators.
- Quote variables with caution.
- Use escape sequences to manage long input.
- Group your commands together in a list.
- Use
xargs
outside offind
. - Know when
grep
should do the counting — and when it should step aside. - Match certain fields in output, not just lines.
- Stop piping
cat
s.
- !!
Repeats the most recent command. - !t
Repeats the most recent command beginning with “t”. Similarly for other letters, or strings of initial letters in a command.
Pipes and Redirection In Unix >>
One of the most useful features of Unix is the ability to “pipe” the output of one command into another command, and to “redirect” the output to a file. Pipes are denoted by vertical bars (|); redirections are denoted by “greater than” signs (>). Spaces around these symbols are not required, though for clarity, you might want to surround the symbols by spaces.unix ls |
Tools for analysing data files In Unix >>
- sort: Sort files.
- grep: Extract lines matching a given pattern from a file.
- sed: Perform simple substitutions and other modifications on lines of a file.
- awk: Extract specific fields, columns, from a file (plus much more).
- perl: The ultimate geek tool. Can do all of the above, plus much more.
unix df |
Some Important Unix Tips For 2013 >>
- fmt file
Reformat file by wrapping overlong lines and filling short lines. - fmt -s file
Wrap overlong lines, but do not fill short lines. Thus, all linebreaks that were present in the original version are preserved. - nroff file
Reformat file and also justify lines to have a uniform width, mimicking typeset output. Very impressive. (nroff is part of the *roff family of tools, which used to be the standard typesetting tool in Unix, and is still used to format Unix man pages.)
After Doing these all you can increase you unix usage and Unix Administration…
Incoming Search Terms >>
linux
unix
linux tips
unix tips
linux tutorials
arch linux tips
unix ls
unix df
0 comments:
Post a Comment
Rock The hacking tools tips tricks World
-:¦:-.•:*¨¨*:•.-:¦:-.•:*¨¨*:•.-:¦:-.•:*¨¨*:•.-:¦:-
Here's to more happy scrapping, and
Hugs from the heart,
shahzad