Flux rss

UNIX Commands

 

Table of the main UNIX commands

Unix Commands Description Options
ls lists the content of a directory
-a Displays all files, including hidden files
-I Displays a detailed listing
-R Displays the files recursively (i.e. in the sub-directories)
-d Displays only the directories and not their content
-S Sort by size
-t Sort by the last modification date
-t Sort by version
-X Sort by alphabetical order of the extension
-r Sort in reverse order
cd change directory
cd Return to the user's directory
cd - Return to the previous directory
cd .. Return to the parent directory
mkdir Create a new directory  
rmdir Deletes a directory
-f Force the deletion
-R Recursive delete (i.e. in the directory and its sub-directories)
cp Copy a file copy, xcopy
mv move file move
rm delete the file
-f Force the deletion
-R Recursive delete (i.e. in the directory and its sub-directories)
pwd "print working directory" displays the full current directory path of the work in progress.  
passwd changes the user password  
cat Concatenates two files and displays the result on the standard output. cat
more Displays the file content with pauses  
file displays the presumed type of the specified file  
man

apropos

help for the requested command  
lpr prints the requested file  
chmod changes the attribute of a file

chmod XXX file

XXX= User|Group|Other where X is an integer between 1 and 7

Read = 4, Write = 2, Execution = 1

X= Read + Write + Execution

 
chfn Changes the personal information viewed with finger  
chsh Changes the shell: chsh user emplacement_du_shell  
clear Clears the lines displayed on the terminal  
finger, who list of users online  
traceroute traces the path between the local machine and the target machine  
ping diagnostic tool making it possible to see if a machine responds over the network  
ftp [machine] [port]

get

put

quit

file transfer between the local machine and target machine

recovers a file

sends a file

quits the FTP session

ftp
telnet [machine] performs a telnet telnet
talk makes it possible to talk to a connected user

talk user

 
mesg Authorizes or rejects the talk command

mesg n : Prevents reception of talk messages

mesg y: Allows reception of talk messages

 
exit Disconnects  


Last update on Thursday October 16, 2008 02:43:15 PM.
This document entitled « UNIX Commands » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.

Results for UNIX Commands

Problem with space (Solved) Hi All, I have a flat file contains some records, I have to add a header and trailer to that flat file and store that in a new file. I am not aware of how to put the space using unix commands, like in RPAD('BILLS',10,' ') in Sql... en.kioskea.net/forum/affich-1342-problem-with-space
UNIX system - Introduction The Unix system is a multi-user, multi tasking operating system which means that it allows a single or multiprocessor computer to simultaneously execute several programs by one or several users. It has one or several command interpreters (shell) as... en.kioskea.net/unix/unixintro.php3
UNIX system - The shell The command interpreter is the interface between the user and the operating system, hence its name "shell". The shell therefore acts as an intermediary between the operating system and the user using command lines entered by the latter. Its role... en.kioskea.net/unix/unix-shell.php3

Results for UNIX Commands

Accessing to recent commands from the historyAccessing to recent commands from the history The Linux / Unix shell is full of features allowing you to save time and making your life easier. Using the navigation arrows ( up arrow key). it is possible to go through history tof the... en.kioskea.net/faq/sujet-1225-accessing-to-recent-commands-from-the-history
Creating a Linux commandCreating a Linux command This article is valid for UNIX systems as well. What is a command? Many persons are discouraged to start Linux due to the complex syntax uses(mostly known as Linux command), but what is really a Linux... en.kioskea.net/faq/sujet-1168-creating-a-linux-command
Accessing last commands in historyAccessing last commands in history The shell Linux / Unix provide several features saving time. Thus, it is possible to go back in history with the recent orders navigation arrows by pressing the up arrow. Moreover there are ways to access... en.kioskea.net/faq/sujet-1078-accessing-last-commands-in-history

Results for UNIX Commands

Launch and run the commands from shell scriptHello, I have a requirement to launch a buzybox (Qemu)shell and needs to pass the commands to get the result. How i can achieve this. for example: I have the running qemu and i am telnetting to get shell. Open the terminal and do a "telnet... en.kioskea.net/forum/affich-24888-launch-and-run-the-commands-from-shell-script
Mail command in sshany idea regarding the mail command in ssh... all infos about this mua.... en.kioskea.net/forum/affich-7951-mail-command-in-ssh
Help with row command (Solved)Hello, I'd like excel to move the number one to move in column A to row user the user selects with the mouse (or the active cell is) for instance. If user selects C6 the macro would put the numer one in A6 and when user selects another cell in a... en.kioskea.net/forum/affich-26508-help-with-row-command

Results for UNIX Commands

Download Free commanderFree Commander is an alternative program to replace the file manager or the Windows explorer. The program is easy to use and will help you for your daily tasks. You will find all the necessary functions for the data management. The main... en.kioskea.net/telecharger/telecharger-1748-free-commander
Download Driver Ricoh Aficio GX 7000 RPCS Raster PrinterThe printer Ricoh Aficio GX 7000 is an ink jet printer of ink. Its maximum resolution is of 3600 dpi. It is entirely compatible with the systems PC, Unix and Mac. Its speed d' impression in black and white and color is of 29 ppm. This model is... en.kioskea.net/telecharger/telecharger-964-driver-ricoh-aficio-gx-7000-rpcs-raster-printer

Results for UNIX Commands

Linux - The Vi editor Despite its very limited ergonomics, Vi i is one of the most popular text editors texte under Unix type systems (with Emacs and pico). Under Linux, there is a free version of Vi called Vim (Vi Improved). Vi (pronounced vee-eye) is an editor that is... en.kioskea.net/linux/linvi.php3
Using FTP commands FTP (File Transfer Protocol) is a protocol — meaning a standard language that lets two machines communicate — used so that computers of different types (or with different operating systems) can transfer files over a network that uses... en.kioskea.net/utile/ftp.php3
Linux - Installation of XFree86 XFree86 is a graphical interface under Linux (XWindow is the interface of the UNIX stations). To configure XFree86, just type "XF86Setup" in the command line; this entry is case-sensitive. A screen appears. You are prompted to enter information,... en.kioskea.net/linux/instxfre.php3