Questions about: command-line - страница 8

by Sam007 Last Updated March 13, 2017 11:02 AM I am trying to find a directory, using the terminal and I am not sure where it is. I mean that i used the wget command to obtain the file and used it for installation and now i am not able to find where
In addition, cd . . can take you back to the working directory's parent directory and then if necessary the command can be repeated until you get to where you want to be
my prompt is not wrapping properly and not moving onto the second line, instead overwriting the first line. There are some other funky behaviors too. Can someone who's got experience with PS1 profiles spot what's wrong here? once i do emacs
IntroductionThis guide will show you how to rename files using a file manager and the Linux command line. Most Linux distributions have a default file manager as part of the desktop environment. A desktop environment is a collection of tools which en
You can look into ulimit -a. On my system (Ubuntu 12. 04), it gives: $ ulimit -acore file size (blocks, -c) unlimiteddata seg size (kbytes, -d) unlimitedscheduling priority (-e) 0file size (blocks, -f) unlimitedpending signals (-i) 29951max locked me
There are several good command line tools for reporting disk usage. Use the one that's most helpful to you: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 56G 4. 4G 48G 9% / none 1
There are two parts to the answer: !! and sudo !! is part of the functionality of the shell (in the case of Ubuntu this is probably bash, but other shells like zsh or csh support this, too) called "history expansion". It behaves in a similar way as o
How to create a menu in a bash shell scriptThis post will be about How to create a menu in a bash shell script . This feature is important because it gives whoever is running the script the ability the ability to choose certain options based on a pre
About diff diff analyzes two files and prints the lines that are different. Essentially, it outputs a set of instructions for how to change one file to make it identical to the second file. It does not actually change the files; however, it can optio