Kangry.com [insert cool graphic here]
home | Topics | Logout | Search | Contact | ?? Kangry ?? | Bandwitdh
Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor

Name

Password

New user

uploaded files
(linux_command_line)-> Misc. Command line utils +examples submited by Russell Mon 24 Jan 05
Edited Wed 02 Oct 13
Web kangry.com
cat             Concatenate FILE(s),also prints the file
cksum           Print CRC checksum and byte counts of each FILE.
comm            Compare sorted files by lines
csplit          split files on pattern
                csplit bigfile.txt /break_on_this_line/ "{*}"
cut             cut out collumar fields (delimited by tab)
                specify delimiter with -d  ("-d\ " for space delimited)
                -f#-# selects collums; -f1-3 selects first 3 collums
                cat bigfile.txt |cut -d\  -f1-3  
                ## NOTE EXTRA SPACE after d\
expand          AKA 'tabout'
fmt             reformat paragraphs
fold            wrap long lines
head            head get lines/bytes from file head and tail examples
join            join lines baised on field equilivance
md5sum          advanced checksum
nl              number lines
od              display in octal
paste           write corresponding lines.. ??
pr              prepare for printing
rename          renames files rename examples
sort            sort text files
split           split up file into numbered pices
                 Split Command examples
strings         display printable strings in a file Strings example
sum             chksum and block count for files
tac             reverse file order to output
tail            display last bytes/or lines head and tail examples
tr              translate/convert character sequeces
unexpand        whitespace ->tabs
uniq            display unique lines
wc              wordcount
 
sed             streaming editor:
                to replace:
                sed "s///g" [file] > [output_file]
                sed -i "s/buisness/business/g" *  
                  (-i changes files in place) 
sed (delete line)
               sed '/delete-lines-that-match-this/d' 
netstat -tulpan            list running processes with ports and what process is tied to them 



(must be root)
/sbin/shutdown  -r now     restart linux (soft reboot)
/sbin/shutdown  -h now     shutdown (halt system)
                           instead of now, use "hh:mm" time of day
                           or +m (number of minutes)
shutdown: you must be a root to do that fedora 4
reboot                     restarts system, you don't need to be root if 
                           you are logged in localy ( running x or from the consel) 
halt                       shuts down system, same rules as reboot





Replys:
Tips For Linux - Tips / Tricks / Tutorials for all Linux Users /best linux distribution, O (Russell)
Sed the stream editor. (Russell)
Linux_Shortcuts and Commands, htop (Russell)
sendmail command line with subject example linux (Russell)
live boot Linux CDs (Russell)
Regular Expressions links, notes and tutorials (Russell)
split command example and notes (Russell)
linux rename command+examples (Russell)
Fedora, RHEL password commands (root password) (Russell)
disable bell/beep from the linux command line (Russell)

Add comment or question...:
Subject:
Submited by: NOT email address. Leave blank for anonymous    (Spam Policy)

Enter Text: (text must match image for posting)




This file (the script that presented the data, not the data itself) , last modified Wednesday 03rd of December 2014 09:40:39 AM
your client: CCBot/2.0 (http://commoncrawl.org/faq/)
current time: Sunday 30th of April 2017 02:38:28 PM