Linux going to home directory

Содержание
  1. Linux Home Directory
  2. Introduction of Linux Home Directory
  3. How Linux Home Directory Command Works?
  4. Examples to Implement Linux Home Directory
  5. 1. Home Directory
  6. How to change directory in Linux terminal
  7. How to change directory in Linux terminal
  8. How to use the Linux command line to change directory or folder
  9. How to print the current working directory in Linux
  10. cd command in Linux termianl
  11. Absolute vs Relative pathname
  12. Understanding . and .. directories
  13. How can I return directly to my home directory when using the Linux terminal?
  14. How do I change directories in the Linux terminal and return to the previous directory?
  15. A note about symbolic links and cd command
  16. Linux cd command cheat sheet
  17. Conclusion
  18. Ubuntu Documentation
  19. Introduction
  20. About the home directory
  21. Installing Software Into The Home Directory
  22. Back Up Your Home Directory
  23. Preserving home when reinstalling Ubuntu
  24. Sharing home between several Linux distributions
  25. How to Create Home Directory for Existing User in Linux
  26. Create default home directory for existing user
  27. Conclusion
  28. Ubuntu Documentation
  29. Why use the terminal?
  30. Starting a terminal
  31. In Unity
  32. In GNOME
  33. In Xfce (Xubuntu)
  34. In KDE (Kubuntu)
  35. In LXDE (Lubuntu)
  36. Commands
  37. sudo: Executing Commands with Administrative Privileges
  38. File & Directory Commands
  39. Running a File Within a Directory
  40. System Information Commands
  41. Adding A New User
  42. Options
  43. «Man» and getting help
  44. Searching the manual pages
  45. Other Useful Things
  46. Prettier Manual Pages
  47. Pasting in commands
  48. Save on typing
  49. Change the text
  50. More ways to run a terminal
  51. An extremely handy tool :: Incremental history searching
  52. How to create upsidedown and/or reverse text with your terminal
  53. More Information

Linux Home Directory

By Priya Pedamkar

Introduction of Linux Home Directory

In the Linux ecosystem, the home directory is also called as the home directory. It is the primary entry point of the user when they are login into the Linux environment. It is responsible to store files, folders, data, and software on /home directory with the respective individual user profile.

Syntax of Home Directory

Web development, programming languages, Software testing & others

/home [ User Name ]

  • /home: We can use the /home as the default path for Linux Home Directory. It is the primary or starting path for entering the individual user profile.
  • USER NAME: We need to pass the user name in the “/home” path. It will help to enter in the individual user profile path (in terms of the file system).

How Linux Home Directory Command Works?

When we are creating any user in the Linux system. While creating the user 5 different steps will happen. The user directory creation it comes under the same 5 different steps. When any user will be added in the Linux operating system, by default, the user directory will create in the “/home” path with the same user name.

The user directory is also known as the user home directory. It will provide the basic environment of shell and bash. It will help to execute the shell or some application-level jobs.

By default, the list of files will create in the user “/home” directory.

  • bash_logout: The file is responsible to perform any action when the user or the terminal will logout.
  • bash_profile: The file is responsible to perform any action when the user profile will load the in the Linux environment.
  • Bashrc: The file is responsible for the necessary kinds of stuff in it. It will help to the bash or shell or other applications. We can put functions, alias, shell or bash options etc.

As we have seen, the default home directory path will present in the “/home” path. But is not mandatory that, it will always be present over there. As per the requirement, we can change the home directory for the individual user. We can change the default home directory with the help of “usermod” command (as per user level).

Examples to Implement Linux Home Directory

Following are the examples are given below:

1. Home Directory

When we are creating any user on the Linux level, the user home directory will automatically create in the “/home” path with the same user name.

Источник

How to change directory in Linux terminal

M y Dell Laptop came preinstalled with Ubuntu Linux, and I am a new Linux desktop user. How do I change directories in the Linux terminal?

Introduction – On Linux the cd command allows you to change directories when using the terminal application. This page shows how to change directory in Linux terminal using the cd command.

Tutorial details
Difficulty level Easy
Root privileges No
Requirements Linux terminal
Est. reading time 3 minutes

How to change directory in Linux terminal

  1. To return to the home directory immediately, use cd

OR cd

  • To change into the root directory of Linux file system, use cd / .
  • To go into the root user directory, run cd /root/ as root user.
  • To navigate up one directory level up, use cd ..
  • To go back to the previous directory, use cd —
  • Let us see all examples and usage for terminal in details.

    How to use the Linux command line to change directory or folder

    The directory in which the user is currently working is called the current working directory (CDW).

    How to print the current working directory in Linux

    To display the name of the current/working directory, type the following pwd command:
    pwd

    cd command in Linux termianl

    The syntax is:
    cd
    cd ..
    cd /path/to/dir
    When cd command used without stipulating any directory name, cd command returns to the home directory. Let us change the directory to /usr/sbin/, run:
    cd /usr/sbin/
    Verify it:
    pwd
    Want to list the files in the /usb/sbin/ directory? Try the ls command:
    ls
    ls -l
    Let us go back to user’s home directory, run:
    cd
    Again verify it:
    pwd

    • No ads and tracking
    • In-depth guides for developers and sysadmins at Opensourceflare✨
    • Join my Patreon to support independent content creators and start reading latest guides:
      • How to set up Redis sentinel cluster on Ubuntu or Debian Linux
      • How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)
      • How to set up Mariadb Galera cluster on Ubuntu or Debian Linux
      • A podman tutorial for beginners – part I (run Linux containers without Docker and in daemonless mode)
      • How to protect Linux against rogue USB devices using USBGuard

    Join Patreon

    Absolute vs Relative pathname

    The cd command changes the current directory when a directory name provided by the user. The name can be written as an absolute pathname (e.g. cd /etc/httpd/ ) or as local pathname relative to the root directory (e.g. cd conf.d/ ). For example:
    cd /etc/httpd/
    pwd
    ls
    cd conf.d/
    pwd
    ls

    The absolute vs. relative pathname for cd command in Linux

    Understanding . and .. directories

    On Linux the current directory is represented by a single dot ( . ) and two consecutive dots represent its parent directory ( .. ). Thus, to change to the parent of the current directory, run cd . .. For example:
    ls
    pwd
    cd ..
    pwd
    ls

    How can I return directly to my home directory when using the Linux terminal?

    How do I change directories in the Linux terminal and return to the previous directory?

    Simply pass the — option to the cd:
    cd —
    Verify it:
    pwd

    The -P option instructs cd to use the physical directory structure instead of following symbolic links:
    cd -P LinkDir
    pwd
    The -L option forces cd to follow symbolic links:
    cd -L LinkDir
    pwd

    Linux cd command cheat sheet

    Table 1: cd command under Linux
    Command Description
    cd Returns you to your login directory
    cd

    Also returns you to your login directory cd — Returns you to your previous working directory cd / Takes you to the entire system’s root directory. cd /root Takes you to the home directory of the root user. You must be the root user to access this directory. cd /home Takes you to the home directory, where user login directories are usually stored cd .. Takes you to the directory one level up. cd

    tom Takes you to tom’s home directory, if tom user has granted you permission cd /path/to/dir/ Take you to the /path/to/dir/ directory cd dir* Use a wildcard to change the directory name

    Conclusion

    The cd command is used to change the current directory in both Linux and other Unix-like systems. See Cd command wiki page.

    🐧 Get the latest tutorials on Linux, Open Source & DevOps via

    Источник

    Ubuntu Documentation

    Introduction

    Whenever you add a user to Ubuntu, either by installing Ubuntu or manually adding a new user, Ubuntu creates a /home/username directory for that user with their username. The /home/username directory is often referred to as just «the home directory». This page offers some information about what, exactly, this directory is, what’s kept there, and how you can use it.

    About the home directory

    You can have as many /home/username directories as you have users.

    Each user has full read/write/execute access to his or her /home/username directory.

  • Each user can make their /home/username directory unreadable by other users.
  • Each user can fully customize their Desktop layout/background, sounds, window manager, applications, etc.
  • The home directory is:
    • Where your Desktop resides.
    • Where your documents, pictures, music, videos, audio, and pretty much everything else can be stored.
    • Where your application settings are stored, in hidden files and directories (their names start with a . ) that you should not touch unless you know what you are doing. Eg, /home/username/.thunderbird contains your Thunderbird emails and contacts, /home/username/.mozilla contains Firefox bookmarks, passwords, history, plugins…

      The only place (with the exclusion of removable drives and the /tmp directory) within the Ubuntu file system where a user can freely create/modify/remove files and directories without needing root permissions or the sudo command.

    Installing Software Into The Home Directory

    Software can be installed into the home directory, giving users who do not have administrative rights to the system the ability to use applications they would like. An example of software that installs to the /home/username directory is Wine.

    You can do this by creating a /home/username/bin directory, compiling software from source and installing it to the /home/username/bin directory, or by downloading binary-only software that you keep in the /home/username/bin directory. Then add the new binary path to your $PATH list, by putting this, for example, into your /home/username/.bashrc file.

    Executable binaries/scripts in your /home/username/bin directory will be accessible from the command line, or by pressing Alt+F2 in Gnome/KDE/Xfce.

    If you’re not sure how to add that line to the file, open a terminal and type gedit /home/username/.bashrc. Then paste the above line at the very end of that file, save it, and close the terminal.

    Back Up Your Home Directory

    An important thing to consider is how you’re going to back up your home directory. Your base system can be reinstalled by using the Live CD or whatever other method you used to install it originally. Since your home directory contains all your personal configuration settings and all the files and directories you have created, downloaded, etc., you’ll want to be sure these are kept safe so that you can restore them if necessary. Here are a couple of pages in this wiki with some suggestions:

    Preserving home when reinstalling Ubuntu

    Since Hardy, Ubuntu can be reinstalled while preserving home even without separate /home: see UbuntuReinstallation.

    Sharing home between several Linux distributions

    If you wish to share a separate /home between several Linux distributions, do not forget to use different usernames.

    HomeFolder (последним исправлял пользователь yannubuntu 2012-09-10 07:53:04)

    The material on this wiki is available under a free license, see Copyright / License for details
    You can contribute to this wiki, see Wiki Guide for details

    Источник

    How to Create Home Directory for Existing User in Linux

    By default when you create a user in Linux, users default home directory is created under /home. If you noticed on Ubuntu and Debian derivated distribution useradd command won’t create a home directory by default.

    Let’s think of s situation where you have already created a user but the home directory is missing. In this tutorial, I will show you how to create a default home directory for an existing user in Linux.

    Create default home directory for existing user

    Here I am using Ubuntu 20.04 and going to create a user named ‘ bob’ using useradd command:

    Useradd command has added an entry home directory in /etc/passwd file

    If I try to login as the user using su — , it shows that it’s logging in with Home=/ . This means the user home directory is not created.

    In Linux, a user’s default home directory is /home. To create a default home directory use mkhomedir_helper command.

    Make sure to run mkhomedir_helper command as root or user with sudo access.

    The previous command creates a home directory named «/home/bob» and user settings files.

    For a graphical environment (such as GNOME or XFCE ), if you are missing subdirectories in the home directory, the user needs to log out and log in back.

    When the user login the first time all subdirectories such as Pictures, Documents, Videos, and Downloads folders can be created in the home directory.

    Another method is to delete the user and create a new user using -m or —create-home option.

    The following command creates a home folder (-m) and set the specified home directory (-d) as the value for the new user’s login:

    Conclusion

    To conclude, If you are a Ubuntu fan you should be now using adduser command, it’s recommended by Debian. If you have an existing user, now you should be able to add default directory.

    Thanks for reading and please drop your suggestions on the below comment section.

    Источник

    Ubuntu Documentation

    Why use the terminal?

    «Under Linux there are GUIs (graphical user interfaces), where you can point and click and drag, and hopefully get work done without first reading lots of documentation. The traditional Unix environment is a CLI (command line interface), where you type commands to tell the computer what to do. That is faster and more powerful, but requires finding out what the commands are.»
    — from man intro(1)

    This page gives an introduction to using the command-line interface terminal, from now on abbreviated to the terminal. There are many varieties of Linux, but almost all of them use similar commands that can be entered from the terminal.

    There are also many graphical user interfaces (GUIs), but each of them works differently and there is little standardization between them. Experienced users who work with many different Linux distributions therefore find it easier to learn commands that can be used in all varieties of Ubuntu and, indeed, in other Linux distributions as well.

    For the novice, commands can appear daunting:

    However, it is important to note that even experienced users often cut and paste commands (from a guide or manual) into the terminal; they do not memorize them.

    It is important, of course, to know how to use the terminal — and anyone who can manage typing, backspacing, and cutting and pasting will be able to use the terminal (it is not more difficult than that).

    Starting a terminal

    In Unity

    Unity is the default desktop environment used as of 11.04. Where systems are not ready for Unity they revert to GNOME which is also used in previous releases such as Ubuntu 10.04 LTS (Lucid), see next sub-section.

    The easiest way to open the terminal is to use the ‘search’ function on the dash. Or you can click on the ‘More Apps’ button, click on the ‘See more results’ by the installed section, and find it in that list of applications. A third way, available after you click on the ‘More Apps’ button, is to go to the search bar, and see that the far right end of it says ‘All Applications’. You then click on that, and you’ll see the full list. Then you can go to Accessories -> Terminal after that. So, the methods in Unity are:

    Dash -> Search for Terminal

    Dash -> More Apps -> ‘See More Results’ -> Terminal

    Dash -> More Apps -> Accessories -> Terminal

    Keyboard Shortcut: Ctrl + Alt + T

    In GNOME

    GNOME is the classic desktop environment for Ubuntu 11.04 (Natty) and is the default desktop environment in earlier releases, such as Ubuntu 10.04 LTS (Lucid).

    Applications menu -> Accessories -> Terminal.

    Keyboard Shortcut: Ctrl + Alt + T

    In Xfce (Xubuntu)

    Applications menu -> System -> Terminal.

    Keyboard Shortcut: Super + T

    Keyboard Shortcut: Ctrl + Alt + T

    In KDE (Kubuntu)

    KMenu -> System -> Terminal Program (Konsole).

    In LXDE (Lubuntu)

    Menu -> Accessories -> LXTerminal.

    Keyboard Shortcut: Ctrl + Alt + T

    Commands

    sudo: Executing Commands with Administrative Privileges

    The sudo command executes a command with administrative privileges (root-user administrative level), which is necessary, for example, when working with directories or files not owned by your user account. When using sudo you will be prompted for your password. Only users with administrative privileges are allowed to use sudo.

    Be careful when executing commands with administrative privileges — you might damage your system! You should never use normal sudo to start graphical applications with administrative privileges. Please see RootSudo for more information on using sudo correctly.

    File & Directory Commands

    ) symbol stands for your home directory. If you are user, then the tilde (

    ) stands for /home/user

    pwd: The pwd command will allow you to know in which directory you’re located (pwd stands for «print working directory»). Example: «pwd» in the Desktop directory will show «

    /Desktop». Note that the GNOME Terminal also displays this information in the title bar of its window. A useful gnemonic is «present working directory.»

    ls: The ls command will show you (‘list’) the files in your current directory. Used with certain options, you can see sizes of files, when files were made, and permissions of files. Example: «ls

    « will show you the files that are in your home directory.

    cd: The cd command will allow you to change directories. When you open a terminal you will be in your home directory. To move around the file system you will use cd. Examples:

    To navigate into the root directory, use «cd /»

    To navigate to your home directory, use «cd» or «cd

    To navigate up one directory level, use «cd ..»

    To navigate to the previous directory (or back), use «cd -«

    To navigate through multiple levels of directory at once, specify the full directory path that you want to go to. For example, use, «cd /var/www» to go directly to the /www subdirectory of /var/. As another example, «cd

    /Desktop» will move you to the Desktop subdirectory inside your home directory.

    cp: The cp command will make a copy of a file for you. Example: «cp file foo» will make an exact copy of «file» and name it «foo», but the file «file» will still be there. If you are copying a directory, you must use «cp -r directory foo» (copy recursively). (To understand what «recursively» means, think of it this way: to copy the directory and all its files and subdirectories and all their files and subdirectories of the subdirectories and all their files, and on and on, «recursively»)

    mv: The mv command will move a file to a different location or will rename a file. Examples are as follows: «mv file foo» will rename the file «file» to «foo». «mv foo

    /Desktop» will move the file «foo» to your Desktop directory, but it will not rename it. You must specify a new file name to rename a file.

      To save on typing, you can substitute ‘

    ‘ in place of the home directory.

    Note that if you are using mv with sudo you can use the

    shortcut, because the terminal expands the

    to your home directory. However, when you open a root shell with sudo -i or sudo -s,

    will refer to the root account’s home directory, not your own.

    rm: Use this command to remove or delete a file in your directory.

    rmdir: The rmdir command will delete an empty directory. To delete a directory and all of its contents recursively, use rm -r instead.

    mkdir: The mkdir command will allow you to create directories. Example: «mkdir music» will create a directory called «music».

    Here is an example of when it would be necessary to execute a command with administrative privileges. Let’s suppose that another user has accidentally moved one of your documents from your Documents directory to the root directory. Normally, to move the document back, you would type mv /mydoc.odt

    /Documents/mydoc.odt, but by default you are not allowed to modify files outside your home directory. To get around this, you would type sudo mv /mydoc.odt

    /Documents/mydoc.odt. This will successfully move the document back to its correct location, provided that you have administrative privileges.

    Running a File Within a Directory

    So you’ve decided to run a file using the command-line? Well. there’s a command for that too!

    ./filename.extension

    After navigating to the file’s directory, this command will enable any Ubuntu user to run files compiled via GCC or any other programming language. Although the example above indicates a file name extension, please notice that, differently from some other operating systems, Ubuntu (and other Linux-based systems) do not care about file extensions (they can be anything, or nothing). Keep in mind that the ‘extension’ will vary depending upon the language the source code is written in. Also, it is not possible, for compiled languages (like C and C++) to run the source code directly — the file must be compiled first, which means it will be translated from a human-readable programming language to something the computer can understand. Some possible extensions: «.c» for C source, «.cpp» for C++, «.rb» for Ruby, «.py» for Python, etc. Also, remember that (in the case of interpreted languages like Ruby & Python) you must have a version of that language installed on Ubuntu before trying to run files written with it.

    Finally, the file will only be executed if the file permissions are correct — please see the FilePermissions help page for details.

    System Information Commands

    df: The df command displays filesystem disk space usage for all mounted partitions. «df -h» is probably the most useful — it uses megabytes (M) and gigabytes (G) instead of blocks to report. (-h means «human-readable»)

    du: The du command displays the disk usage for a directory. It can either display the space used for all subdirectories or the total for the directory you run it on. Example:

    In the above example -s means «Summary» and -h means «Human Readable».

    free: The free command displays the amount of free and used memory in the system. «free -m» will give the information using megabytes, which is probably most useful for current computers.

    top: The top (‘table of processes’) command displays information on your Linux system, running processes and system resources, including CPU, RAM & swap usage and total number of tasks being run. To exit top, press «q».

    uname -a: The uname command with the -a option prints all system information, including machine name, kernel name & version, and a few other details. Most useful for checking which kernel you’re using.

    lsb_release -a: The lsb_release command with the -a option prints version information for the Linux release you’re running, for example:

    ip addr reports on your system’s network interfaces.

    Adding A New User

    The «adduser newuser» command will create a new general user called «newuser» on your system, and to assign a password for the newuser account use «passwd newuser».

    Options

    The default behaviour for a command may usually be modified by adding a option to the command. The ls command for example has an -s option so that «ls -s» will include file sizes in the listing. There is also a -h option to get those sizes in a «human readable» format.

    Options can be grouped in clusters so «ls -sh» is exactly the same command as «ls -s -h». Most options have a long version, prefixed with two dashes instead of one, so even «ls —size —human-readable» is the same command.

    «Man» and getting help

    man command, info command and command —help are the most important tools at the command line.

    Nearly every command and application in Linux will have a man (manual) file, so finding them is as simple as typing «man «command»» to bring up a longer manual entry for the specified command. For example, «man mv» will bring up the mv (move) manual.

    Move up and down the man file with the arrow keys, and quit back to the command prompt with «q».

    «man man» will bring up the manual entry for the man command, which is a good place to start!

    «man intro» is especially useful — it displays the «Introduction to user commands» which is a well-written, fairly brief introduction to the Linux command line.

    There are also info pages, which are generally more in-depth than man pages. Try «info info» for the introduction to info pages.

    Some software developers prefer info to man (for instance, GNU developers), so if you find a very widely used command or app that doesn’t have a man page, it’s worth checking for an info page.

    Virtually all commands understand the -h (or —help) option which will produce a short usage description of the command and it’s options, then exit back to the command prompt. Try «man -h» or «man —help» to see this in action.

    Caveat: It’s possible (but rare) that a program doesn’t understand the -h option to mean help. For this reason, check for a man or info page first, and try the long option —help before -h.

    Searching the manual pages

    If you aren’t sure which command or application you need to use, you can try searching the manual pages. Each manual page has a name and a short description.

    To search the names for enter:

    For example, whatis -r cpy will list manual pages whose names contain cpy. The output from whatis -r cpy will in part depend on your system — but might be as follows:

    To search the names or descriptions for enter:

    For example, apropos -r «copy files» will list manual pages whose names or descriptions contain copy files. The output from apropos -r «copy files» will in part depend on your system — but might be as follows:

    Other Useful Things

    Prettier Manual Pages

    Users who have Konqueror installed will be pleased to find they can read and search man pages in a web browser context, prettified with their chosen desktop fonts and a little colour, by visiting man:/command in Konqueror’s address bar. Some people might find this lightens the load if there’s lots of documentation to read/search.

    Pasting in commands

    Often, you will be referred to instructions that require commands to be pasted into the terminal. You might be wondering why the text you’ve copied from a web page using Ctrl + C won’t paste in with ctrl+V. Surely you don’t have to type in all those nasty commands and filenames? Relax. ctrl+shift+V pastes into a GNOME terminal; you can also do middle button click on your mouse (both buttons simultaneously on a two-button mouse) or right click and select Paste from the menu. However, if you want to avoid the mouse and yet paste it, use «Shift + Insert», to paste the command. If you have to copy it from another terminal / webpage, you can use «Ctrl + Insert» to copy.

    Save on typing

    Up Arrow or Ctrl + P

    Scrolls through the commands you’ve entered previously.

    Down Arrow or Ctrl + N

    Takes you back to a more recent command.

    Enter

    When you have the command you want.

    tab

    A very useful feature. It autocompletes any commands or filenames, if there’s only one option, or else gives you a list of options.

    Ctrl + R

    Searches for commands you’ve already typed. When you have entered a very long, complex command and need to repeat it, using this key combination and then typing a portion of the command will search through your command history. When you find it, simply press Enter.

    History

    The history command shows a very long list of commands that you have typed. Each command is displayed next to a number. You can type !x to execute a previously typed command from the list (replace the X with a number). If you history output is too long, then use history | less for a scrollable list.

    Example: you ran history and found you want to use command 1967. Simply enter

    Change the text

    The mouse won’t work. Use the left/right arrow keys to move around the line.

    When the cursor is where you want it in the line, typing inserts text — ie it doesn’t overtype what’s already there.

    Ctrl + A or Home

    Moves the cursor to the start of a line.

    Ctrl+ E or End

    Moves the cursor to the end of a line.

    Esc + B

    Moves to the beginning of the previous or current word.

    Ctrl + K

    Deletes from the current cursor position to the end of the line.

    Ctrl + U

    Deletes from the start of the line to the current cursor position.

    Ctrl + W

    Deletes the word before the cursor.

    Alt + B

    Goes back one word at a time.

    Alt + F

    Moves forward one word at a time.

    Alt + C

    Capitalizes letter where cursor is and moves to end of word.

    More ways to run a terminal

    You can set your own keyboard shortcut to run a terminal. See KeyboardShortcuts for details of keyboard shortcuts.

    You can run more than terminal — in tabs or separate windows.

    You can also install guake (GNOME), tilda (XFCE / LXDE/Mate) or yakuake (KDE) and have a terminal which appears and hides on shortcut key. This can be particularly useful if you use terminal a lot. Drop down terminals can make things a lot easier if you are trying to run a desktop enviroment with a non defualt window manager and something goes wrong drop down terminals can run the orginal window manager —replace to restore a previous option to make things much less painful.

    An extremely handy tool :: Incremental history searching

    In terminal enter:

    Then copy paste and save:

    From now on, and many agree this is the most useful terminal tool, it saves you a lot of writing/memorizing.

    All you need to do to find a previous command is to enter say the first two or three letters and upward arrow will take you there quickly:

    All I need to do is enter:

    And hit upward arrow command will soon appear.

    How to create upsidedown and/or reverse text with your terminal

    If you wish or need to ever flip text upside down [vertical flip] «uʍop ǝpısdn ʇxǝʇ dıʃɟ» or/and create reverse text here is a terminal way to achieve this.

    Copy/paste and save the following as flip.pl in your home folder (thanks to Lars Noodén for script).

    Then to set it up:

    Then open terminal and enter:

    Write what you want and hit return

    Copy and paste wherever you want text document or Internet forum, etc.

    • ɹǝʇuǝ puɐ ʇuɐʍ noʎ ʇɐɥʍ ǝʇıɹʍ ˙˙˙ɔʇǝ ɯnɹoɟ ʇǝuɹǝʇuı ɹo ʇuǝɯnɔop ʇxǝʇ ʇuɐʍ noʎ ɹǝʌǝɹǝɥʍ ǝʇsɐd puɐ ʎdoɔ

    If you want to reverse back to front, write your text in a text editor and save as mytext to the home folder.

    Copy and paste the result, tluser eht etsap dna ypoc.

    And of course you can combine both for truly cryptic results, ɔodʎ ɐup dɐsʇǝ ʇɥǝ ɹǝsnʃʇ

    More Information

    Within the Community Help Wiki:

    grep Howto — grep is a powerful command line search tool.

    CommandlineHowto — another introduction to the terminal.

    HowToReadline — more advanced customization.

    Detailed tutorials on the Linux command line:

    http://linuxtutorial.todolistme.net — «Here you will learn the Linux command line (Bash) with our 13 part beginners tutorial . «.

    http://mywiki.wooledge.org/BashGuide — «This guide aims to aid people interested in learning to work with BASH. It aspires to teach good practice techniques for using BASH, and writing simple scripts».

    http://linuxcommand.org/ — Learning the shell and writing shell scripts.

    http://linuxsurvival.com/index.php — «Linux Survival is a free tutorial designed for people who have little or no experience with the Linux operating system».

    http://www.ss64.com/bash/ — «An A-Z Index of the Bash command line for Linux».

    http://tinyurl.com/ycyg4mk — «Top 3 Sites to Help You Become a Linux Command Line Master».

    UsingTheTerminal (последним исправлял пользователь clissold345 2016-07-02 09:16:41)

    The material on this wiki is available under a free license, see Copyright / License for details
    You can contribute to this wiki, see Wiki Guide for details

    Источник

  • Читайте также:  Загрузочная флешка windows 10 64 bit rus
    Оцените статью