Learn basic unix commands with examples
Homeprogramingunix

Learn basic unix commands with examples

Ten ESSENTIAL UNIX Commands Command Example Description 1.     ls ls ls -alF Lists files in curr...

rm -r in unix command - How to delete files and folders on Linux
What is Unix operating system - Characteristics & Features of Unix


Ten ESSENTIAL UNIX Commands




Command Example Description
1.     ls ls
ls -alF
Lists files in current directory
List in long format
2.     cd cd tempdir
cd ..
cd ~dhyatt/web-docs
Change directory to tempdir
Move back one directory
Move into dhyatt's web-docs directory
3.     mkdir mkdir graphics Make a directory called graphics
4.     rmdir rmdir emptydir Remove directory (must be empty)
5.     cp cp file1 web-docs
cp file1 file1.bak
Copy file into directory
Make backup of file1
6.     rm rm file1.bak
rm *.tmp
Remove or delete file
Remove all file
7.     mv mv old.html new.html Move or rename files
8.     more more index.html Look at file, one page at a time
9.     lpr lpr index.html Send file to printer
10.   man man ls Online manual (help) about command


Ten VALUABLE UNIX Commands


Command Example Description
1.     grep <str><files> grep "bad word" * Find which files contain a certain word
2.     chmod <opt> <file> chmod 644 *.html
chmod 755 file.exe
Change file permissions read only
Change file permissions to executable
3.     passwd passwd Change passwd
4.     ps <opt> ps aux
ps aux   |   grep dhyatt
List all running processes by #ID
List process #ID's running by dhyatt
5.     kill <opt> <ID> kill -9 8453 Kill process with ID #8453
6.     gcc (g++) <source> gcc file.c -o file
g++ fil2.cpp -o fil2
Compile a program written in C
Compile a program written in C++
7.     gzip <file> gzip bigfile
gunzip bigfile.gz
Compress file
Uncompress file
8.     mail
        (pine)
mail me@tjhsst.edu < file1
pine
Send file1 by email to someone
Read mail using pine
9.     telnet <host>
        ssh <host>
telnet vortex.tjhsst.edu
ssh -l dhyatt jazz.tjhsst.edu
Open a connection to vortex
Open a secure connection to jazz as user dhyatt
10.   ftp <host>
ncftp <host/directory>
ftp station1.tjhsst.edu
ncftp metalab.unc.edu
Upload or Download files to station1
Connect to archives at UNC


Ten FUN UNIX Commands



Command Example Description
1.     who who Lists who is logged on your machine
2.     finger finger Lists who is on computers in the lab
3.     ytalk <user@place> ytalk dhyatt@threat Talk online with dhyatt who is on threat
4.     history history Lists commands you've done recently
5.     fortune fortune Print random humerous message
6.     date date Print out current date
7.     cal <mo> <yr> cal 9 2000 Print calendar for September 2000
8.     xeyes xeyes & Keep track of cursor (in "background")
9.     xcalc xcalc & Calculator ("background" process)
10.   mpage <opt> <file> mpage -8 file1   |  lpr Print 8 pages on a single sheet and send to printer (the font will be small!)


Ten HELPFUL UNIX Commands



Command Example Description
1.     netscape netscape & Run Netscape browser
2.     xv xv & Run graphics file converter
3.     xfig / xpaint xfig & (xpaint &) Run drawing program
4.     gimp gimp & Run photoshop type program
5.     ispell <fname> ispell file1 Spell check file1
6.     latex <fname> latex file.tex Run LaTeX, a scientific document tool
7.     xemacs / pico xemacs (or pico) Different editors
8.     soffice soffice & Run StarOffice, a full word processor
9.     m-tools (mdir, mcopy,
        mdel, mformat, etc. )
mdir a:
mcopy file1   a:
DOS commands from UNIX (dir A:)
Copy file1 to A:
10.   gnuplot gnuplot Plot data graphically


Ten USEFUL UNIX Commands:



Command Example Description
1.     df df See how much free disk space
2.     du du -b subdir Estimate disk usage of directory in Bytes
3.     alias alias lls="ls -alF" Create new command "lls" for long format of ls
4.     xhost xhost + threat.tjhsst.edu
xhost -
Permit window to display from x-window program from threat
Allow no x-window access from other systems
5.     fold fold -s file1   |   lpr Fold or break long lines at 60 characters and send to printer
6.     tar tar -cf subdir.tar subdir
tar -xvf subdir.tar
Create an archive called subdir.tar of a directory
Extract files from an archive file
7.     ghostview (gv) gv filename.ps View a Postscript file
8.     ping
   (traceroute)
ping threat.tjhsst.edu
traceroute www.yahoo.com
See if machine is alive
Print data path to a machine
9.     top top Print system usage and top resource hogs
10.   logout (exit) logout or exit How to quit a UNIX shell.

Nombre

adsense,1,adware,1,android,11,android 5.0,1,android app,1,Android App Development,1,android apps,4,android developer,1,android development,4,android error,1,android games,2,android interface,1,android launcher,1,android programming course,1,android puzzle games,1,android studio,1,backlink,3,bash,1,best android games,1,best linux distro,1,best paid android games,1,blog,1,blogger,3,blogging,3,connexion,1,delete files and folders on Linux,1,dofollow backlink,3,download,1,editor for programmers,1,edu backlink,1,fedora,1,fedora 22,1,fix,1,free backlink,2,free courses,2,free messages,1,gedit editor,1,gnu,1,gnulinux,1,hacker,1,high authority backlink,1,high pagerank backlink,3,host,1,hosting,1,how to,1,ide,1,internet,1,ios,1,java,1,keylogger,1,linux,4,linux command,1,linux distros,1,linux plugins,1,linux tutorial,1,make money,1,manual unix command,2,manuals,1,MCSE,1,microsoft,1,Microsoft Certified Systems Engineer Program,1,mobile,1,networking,1,new offers,2,opensource,1,operating system,3,oracle,1,os,2,paid android apps for free,1,paid android games for free,1,pdf,1,play store,2,play store error,1,programing,3,programming,1,ranking,1,registry fix,1,seach engine optimization,3,Search Engines,1,security,4,seo,4,shell,2,shell bash,2,shell command,1,shortcuts,1,smartphone,2,smartphones,1,smartphones discount,1,software,1,spam,1,spy keyboard,1,spyware,2,terms,2,text editor,1,unix,3,unix commands,2,unix operating system,1,update,1,update smartphone vesion,1,virtual machine,1,virtual pc,1,virtualbox,1,vmware,1,web server,2,website hosting,2,which smartphone should i buy,1,xiaomi,1,
ltr
item
DROIDUNIX : Android apps, games, GNU/Linux, Unix and smartphones: Learn basic unix commands with examples
Learn basic unix commands with examples
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg1XcUM0N9nCg_tfwOxCuH1gFUY45i1W9TTK_ObpHa9vqfsgoAGOzF_neIiK5RzwALJsRzN9I6-8kjhI7r209IWO-YW4m6OiWnZ2dBzS8GXpvEXtjiX7QZg26uYLSDiHbfa1C3xmBtJyQ/s1600/linux-command.jpeg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg1XcUM0N9nCg_tfwOxCuH1gFUY45i1W9TTK_ObpHa9vqfsgoAGOzF_neIiK5RzwALJsRzN9I6-8kjhI7r209IWO-YW4m6OiWnZ2dBzS8GXpvEXtjiX7QZg26uYLSDiHbfa1C3xmBtJyQ/s72-c/linux-command.jpeg
DROIDUNIX : Android apps, games, GNU/Linux, Unix and smartphones
https://appdroidunix.blogspot.com/2015/10/learn-basic-unix-commands-with-examples.html
https://appdroidunix.blogspot.com/
https://appdroidunix.blogspot.com/
https://appdroidunix.blogspot.com/2015/10/learn-basic-unix-commands-with-examples.html
true
5400849346614048641
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy