Linux: Amministrazione sistema, Documentazione, HowTo, Tutorial, Recensioni, Manuale, Programmi, Software
Linux Command Line - nothing it's impossible by command line!
English - English  Italiano - Italian  Español - Spanish  Français - French  Deutsch - German  Česká republika - Czech Republic  Polski - Polish  Па-беларуску - Byelorussian  中国 - Chinese  Русский - Russian  Português - Brazil Portuguese  فارسی - Persian  ελληνικά - Greek  العربية - Arabic  Indonesia - Indonesian  
 Download offline copy of Linux Command Line Download offline copy
 Credits
  Edit / Translate
 ToDO (Help US)
 Terms of Use and License
 About project
 
Follow us on...
Join our Linux Facebook Group
Follow us on twitter!
 
News Letter
Sign-up me to receive the news about this document
 
 
Version
Linux Command Line
version 1.4
Last modified date: 2009-07-03
Created Date: 2008-01-06
 
Home page

Linux Command Line: Files and Directory

View the commands list divided into arguments
Previous Argument      Next Argument
Command Description
# cd /home enter to directory '/ home'   [man]
# cd .. go back one level   [man]
# cd ../.. go back two levels   [man]
# cd go to home directory   [man]
# cd ~user1 go to home directory   [man]
# cd - go to previous directory   [man]
# cp file1 file2 copying a file   [man]
# cp dir/* . copy all files of a directory within the current work directory   [man]
# cp -a /tmp/dir1 . copy a directory within the current work directory   [man]
# cp -a dir1 dir2 copy a directory   [man]
# cp file file1 outputs the mime type of the file as text   [man]
# iconv -l lists known encodings   [man]
# iconv -f fromEncoding -t toEncoding inputFile > outputFile converting the coding of characters from one format to another   [man]
# find . -maxdepth 1 -name *.jpg -print -exec convert batch resize files in the current directory and send them to a thumbnails directory (requires convert from Imagemagick)   [man]
# ln -s file1 lnk1 create a symbolic link to file or directory   [man]
# ln file1 lnk1 create a physical link to file or directory   [man]
# ls view files of directory   [man]
# ls -F view files of directory   [man]
# ls -l show details of files and directory   [man]
# ls -a show hidden files   [man]
# ls *[0-9]* show files and directory containing numbers   [man]
# lstree show files and directories in a tree starting from root(2)   [man]
# mkdir dir1 create a directory called 'dir1'   [man]
# mkdir dir1 dir2 create two directories simultaneously   [man]
# mkdir -p /tmp/dir1/dir2 create a directory tree   [man]
# mv dir1 new_dir rename / move a file or directory   [man]
# pwd show the path of work directory   [man]
# rm -f file1 delete file called 'file1'   [man]
# rm -rf dir1 remove a directory called 'dir1' and contents recursively   [man]
# rm -rf dir1 dir2 remove two directories and their contents recursively   [man]
# rmdir dir1 delete directory called 'dir1'   [man]
# touch -t 0712250000 file1 modify timestamp of a file or directory - (YYMMDDhhmm)   [man]
# tree show files and directories in a tree starting from root(1)   [man]
Previous Argument      Next Argument
Commands by Argument
System information - Shutdown, Restart and Logout of a system - Files and Directory - File search - Mounting a Filesystem - Disk Space - Users and Groups - Permits on Files - Special Attributes on files - Archives and compressed files - RPM Packages ( Fedora, Red Hat and like) - YUM packages tool (Fedora, RedHat and alike) - DEB packages (Debian, Ubuntu and like) - APT packages tool (Debian, Ubuntu and alike) - View file content - Text Manipulation - Character set and Format file conversion - Filesystem Analysis - Format a Filesystem - Filesystem SWAP - Backup - CDROM - Networking (LAN / WiFi) - Microsoft Windows networks (samba) - IPTABLES (firewall) - Monitoring and debugging - Other useful commands - Pacman packages tool (Arch, Frugalware and alike) -

Translated by: LinuxGuide.it team  | 
become translator!
Social Bookmarking
Bookmark to: Folkd Bookmark to: Yigg Bookmark to: Digg Bookmark to: Del.icio.us Bookmark to: Facebook Bookmark to: Reddit Bookmark to: StumbleUpon Bookmark to: Slashdot Bookmark to: Furl Bookmark to: Blinklist Bookmark to: Technorati Bookmark to: Newsvine Bookmark to: Blinkbits Information
 
 
Except where otherwise specified, the contents of LinuxGuide.it are licensed under License Creative Commons 2.5 Attribution
Free Distribution if provided Authors and, Not Commercial purposes and, Not Derivated Works 2.5
LinuxGuide.it | Terms of Use and License | Privacy Policies  Read Creative Commons license to learn how to share LinuxGuide.it contents using this license Our sponsors | Become sponsor
Logos and trademarks used for the link are owned by their legitimate owners