×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    Revision as of 14:07, 13 April 2006 by imported>mutante (→‎Some basic commands)

    What is Linux?

    Linux is a clone of the operating system UNIX, written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the net. It aims towards POSIX and Single UNIX Specification compliance.

    It has all the features you would expect in a modern fully-fledged Unix, including true multitasking, virtual memory, shared libraries, demand loading, shared copy-on-write executables, proper memory management, and TCP/IP networking.

    Linux was first developed for 32-bit x86-based PCs (386 or higher). These days it also runs on (at least) the Compaq AlphaAXP, SunSPARC and UltraSPARC, Motorola 68000, PowerPC, PowerPC64, ARM, Hitachi SuperH, IBM S/390, MIPS, HP PA-RISC, Intel IA-64, DEC VAX, AMD x86-64 and CRIS architectures.

    Linux is easily portable to most general-purpose 32- or 64-bit architectures as long as they have a paged memory management unit (PMMU) and a port of the GNU C compiler (gcc).


    Some basic commands

    Some basic linux commands, just practice them with all the information you got below:

    GNU/Linux/Unix commands A-Z
    commanddescriptionexamples
    bcbinary calculatorbc
    catconcatenate files and print on standard outputcat >test , cat file1 file2 >file3
    cdchange working directorycd ~
    chmodchange file access permissionschown guest.users filename
    chownchange owner and group of a filechmod u+x filename, chmod 770 filename
    cmpcompare two files byte by bytecmp file1 file2
    cpcopy a file or directorycp -d -p -R
    dateshow system datedate
    dfshow free disk spacedf -h
    difffind differences between two filesdiff -u file1 file2
    dushow disk use of file(s) or directorydu -s
    echodisplay a line of textecho "Hello world"
    fgbring a process to the foregroundfg [jobnr]
    findfind files on name, date, owner, permissions etcfind ./ -name *.kdelnk
    ftpFile transfer protocolftp ftp.nluug.nl
    grepprint lines matching a pattern ls -alR |grep txt
    headshow first lines of text filehead textfile
    ircInternet Relay Chatirc -c #squat fnord irc.xs4all.nl
    jobsshow running or stopped jobsjobs
    killkill a processkill -9 PID
    killallkill process by namekillall -9 netscape, killall -HUP daemon
    lessa better version of more less textfile
    lslist files in directoryls -a -l -R
    lynxA text browserlynx http://squat.net/ascii
    mailBasic mail implementationecho "Test" | mail -s "Test" guest
    manshow manual page on commandman command
    mkdirmake directorymkdir newdir
    moreview text file screen by screenmore textfile
    mvmove file or directory to another placemv file1 file2
    ncftpA better ftp clientncftp -u username ftp.nluug.nl
    netstatShow network statisticsnetstat -r
    picoedit a text filepico filename
    pineA mail clientpine
    pingSend small package to check if a machine is up & reaction timeping localhost
    psshow currently running processesps aux
    pwdprint working directorypwd
    rmremove a file or directoryrm -r -f
    rmdirremove directoryrmdir newdir
    sortsort a filesort filename
    sshA more secure version of telnetssh -l username host.domain
    tailshow last lines of text filetail -f textfile
    telnetRemote logintelnet dds.dds.nl
    topdisplay top CPU processestop
    touchchange file timestampstouch -t 10210000 filename
    trtranslete or delete charactersecho "test" | tr [:lower:] [:upper:]
    uniqshow only the diffenent lines from a text fileuniq filename
    uptimeshow the time the system is running (and system load)uptime
    vithe unix text editor vi filename
    wccount bytes, words and lines in fileswc -l filename
    whoshow who is logged onwho
    whoamiprint effective useridwhoami
    yesoutput a string repeatedly until killedyes hello

    The best way to find information on how to use a command is the man command. This command tells you a lot of specific information on a command. Try man man for a start.

    Some handy function keys

    Linux Function keys
    [CTRL]-zBring a program to the background
    [CTRL]-cStop a program
    [CTRL]-dEnd of input file
    [ALT]-[F1]..[F6]Switch to terminal TTY1..6 (depends on configuration)
    [ALT]-[F7]Switch to X (if running)
    [CTRL]-[ALT]-[F1..6]Switch from X to text terminal
    [CTRL]-[ALT]-[BACKSP]Kill X-window (in mode 5, X will restart)
    [CTRL]-[ALT]-[DEL]Reboot or halt (depends on configuration)

    copied and extended from: PUSCII - # http://www.puscii.nl/


    Related

    --> Debian,GNU,[[::Category:Linux Distributions]],Linus Torvalds,FSF,Unix


    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • BruderSpektrum • 13 hours ago
  • BruderSpektrum • 17 hours ago
  • BruderSpektrum • 17 hours ago
  • BruderSpektrum • 17 hours ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.