Yahoo Malaysia Web Search

Search results

  1. There is a useful option to du called the --apparent-size. It can be used to find the actual size of a file or directory (as opposed to its footprint on the disk) eg, a text file with just 4 characters will occupy about 6 bytes, but will still show up as taking up ~4K in a regular du -sh output.

  2. It can rename files or directories. To just rename a file or directory type this in Terminal: mv old_name new_name. with space between the old and new names. To move a file or directory type this in Terminal. mv file_name ~/Desktop. it will move the file to the desktop. Share.

  3. Still in the non-root terminal, press Ctrl+Z to suspend the root terminal. While the root terminal is suspended, you can't use it; its interface will not respond to your actions. Quit the controlling non-root terminal with exit. The graphical root terminal job will be both unsuspended and disowned by the non-root terminal, automatically. In short:

  4. Dec 6, 2012 · A Terminal is your interface to the underlying operating system via a shell, usually bash. It is a command line. Back in the day, a Terminal was a screen+keyboard that was connected to a server. Today, it is usally just a progam. You can open it via the utilities part of the apllications menu, or press Alt+F2 and type gnome-terminal.

  5. Jun 15, 2016 · Open your terminal with CTRL + ALT + T and do these following commands. To shutdown the system: sudo shutdown -h now. To restart: sudo reboot. & one more command for restart: sudo shutdown -r now. Another way as one of the user mentioned. For shutdown:

  6. May 6, 2011 · My favourite is GDebi, available from both terminal/shell or graphical desktop. I usually associate .deb files with GDebi as it is fast and efficient - especially compared to Ubuntu Software Center. One of the main feature of GDebi is it resolves dependencies and installs them. For command-line run sudo gdebi <package.deb> to install a single ...

  7. 20. all those are best ways and there is one more way to do this & that’s with head command. head -n -1 filename.txt. and. head -n -0 filename.txt. both will give you the same input. Head command Explanation: Generally head command used to print the starting lines of the any text file.we can view the text file with.

  8. Jun 24, 2015 · 23. If you want to know the terminal program you are using, use this: ps -o 'cmd=' -p $(ps -o 'ppid=' -p $$) Run this just after opening the terminal (shell) without forking any further shell instance. When you open up the terminal program, it basically spawns a child program, a shell.

  9. Feb 17, 2013 · There is a nice tool called speedometer that displays a graph in the terminal using Unicode block characters, colors, and even adds labels to each peak in the graph. $ sudo apt-get install speedometer. $ speedometer -l -r wlan0 -t wlan0 -m $(( 1024 * 1024 * 3 / 2 ))

  10. Oct 3, 2012 · 1) By using -i for interactive you will be asked if you would like to replace the file: or you can use -b to create a backup of your file: 2) Same as the above: 3) Use -R for recursive and -i for interactive: 4) This last one can be done via the mv command, move is like cutting: if you want to move a directory, use:

  1. People also search for