Language Selection

English French German Italian Portuguese Spanish

Linuxinsight

Syndicate content
LinuxInsight - aggregated feeds
Updated: 5 min 1 sec ago

Reddit: I got Bored Tonight, AnySuggestions?

Tuesday 2nd of December 2014 12:07:29 AM
NOTES Remember an Aliases can reference another Alias In bash, 'do' is a reserved word. It's looking for a do ... done block. Just name your alias something else. Template [alias emacs='echo "emacs sucks " && sleep 2 && vim'] (I use geany so no flame wars....;-) ALIASES Pacman alias p='pacman' alias lstorphan='sudo p -Qdt' alias rmvorphan='sudo p -Rsn $(pacman -Qdtq)' alias notorphan='p -D --asexplicit' alias paccache='sudo paccache -r $(paccache -ruk)' Yaourt

alias y='yaourt' alias up='yaourt -Syyuua' alias sch='y -Ss' alias inst='yaourt -S'

Pacaur alias pup='pacaur -Syyua' alias pups='pacaur -Ss' alias pupi='pacaur -S' Systemd alias sys='sudo systemctl' alias stat='sudo systemctl status' alias en=' sudo systemctl enable' alias re='sudo systemctl restart' alias gdm='sudo systemctl restart gdm.service' System alias sudo='sudo' # This is so I can run aliases as root. Instigaed on my Arch boxen alias shtd='sudo shutdown -hP now' alias 30m='sudo shutdown -hP 1800' alias 1hr='sudo shutdown -hP 3600' alias process='ps aux | grep ' alias doch='sudo $(fc =ln =1)' alias meminfo='free -m -l -t' alias myip='echo My IP is && curl ip.appspot.com && echo' Safety aliases for rm, mv, cp alias rm='rm -iv' alias mv='mv -iv' alias cp='cp -iv' Other alias ..='cd ..' alias ...='cd ../..' alias ....='cd ../../..' alias gohome='cd ~; clear' alias h4='~/h4u.sh' alias vpn='sudo openvpn /etc/openvpn/frootvpn.ovpn' md5check() { md5sum "$1" | grep "$2";} alias makescript="fc -rnl | head -1 >" # Make a script out of the last command you ran: makescript [script.sh] alias ps? = "ps aux | grep" alias killthefox='kill `pidof firefox-bin`' # or just use pkill... Filesystem alises ducks='du -cksh *|sort -hr|head -11' # List top ten largest files/directories in current directory

## Sudo Funny

alias 'make_me_a_sandwich'='echo "What? Make it yourself"' alias 'sudo_make_me_a_sandwich'='echo "ok"' Installed Tools Made Easier alias inxi='inxi -c 26' alias show='pkgcacheclean -nv' alias clean='pkgcacheclean -v' alias showall='pkgcacheclean -nkv' alias cleanall='pkgcacheclean -kv' FUNCTIONS Filesystem Make a directory and jump directly into it.

mcd() {
mkdir -p "$1" && cd "$1";
}

Perform 'ls' after 'cd' if successful.

cdls() {
builtin cd "$*"
RESULT=$?
if [ "$RESULT" -eq 0 ]; then
ls
fi
}

or use

cdl ()
{
cd $1
ls
}

Convert a Manpage to PDF & save to /tmp

man2pdf() {
if [[ -z $1 ]]; then
echo "USAGE: man2pdf [manpage]"
else
if [[ find /usr/share/man -name $1\* | wc -l -gt 0 ]]; then
out=/tmp/$1.pdf
if [[ ! -e $out ]]; then
man -t $1 | ps2pdf - > $out
fi
if [[ -e $out ]]; then
/usr/bin/evince $out
fi
else
echo "ERROR: manpage \"$1\" not found."
fi
fi
}

Extracting ls archives (inspired by extract) lsz() { if [ $# -ne 1 ] then echo "lsz filename.[tar,tgz,gz,zip,etc]" return 1 fi if [ -f $1 ] ; then case $1 in *.tar.bz2|*.tar.gz|*.tar|*.tbz2|*.tgz) tar tvf $1;; *.zip) unzip -l $1;; *) echo "'$1' unrecognized." ;; esac else echo "'$1' is not a valid file" fi

}

extract() {
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar e $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via extract()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}

submitted by Skinnx86
[link] [1 comment]

TuxMachines: Manjaro 0.8.11 released!

Monday 1st of December 2014 11:53:33 PM

The Linux kernel used on the 0.8.11 installation media is the 3.16 series.

read more

Reddit: Clarification on Devuan (Debain fork)

Monday 1st of December 2014 11:49:59 PM

Its my understanding that a "fork", which is what Devuan is, means that Devuan will not incorporate new code/updates/changes from Debian, and will be totally independent. I understand that the init system is important to running a distro, but woyuldn't it be easier to take regular Debian releases and then modify them to work w/ sysvinit. Otherwise it seems it would be impossible to compete with a project as large as Debian.

submitted by Livin_La_Vida_Quokka
[link] [1 comment]

TuxMachines: Unity 8 Has Received Improvements For Desktop Usage

Monday 1st of December 2014 11:43:44 PM

Now, Unity 8 looks pretty much like an oversized tablet, but Canonical has assured the Ubuntu fans that Unity 8 for desktop will not be a desktop optimized clone of Ubuntu Touch’s Unity 8, but a more modern Unity 7-like interface.

read more

TuxMachines: Q4OS: Debian Stable with the Trinity Desktop Environment

Monday 1st of December 2014 11:25:41 PM

Q4OS is like Exe GNU/Linux a distribution using the Trinity desktop and based on Debian Stable. In fact I could have picked Exe as well for review but Q4OS just had a new release and it looks cleaner from the start. It was simply the novelty factor that pulled me towards it and it's got a few nice touches of its own as we shall see. Version 0.5.20 was just released on 11/11/2014 and is available both for the mainstream 32 (i386) and 64-bit architectures. The images are a modest 314MB and 337MB respectively which makes for a speedy download and will definitely fit on your CD or even older USB sticks.

read more

TuxMachines: Jack And Jill Are Google's New Compilers For Android App Developers

Monday 1st of December 2014 11:21:33 PM

Android has gone through quite a few changes during its short 6 years of life. The Android that drives most of the world's smartphones of today would be almost unrecognizable to what was launched in late 2008. We've seen massive visual changes, expansion to almost every conceivable form factor, and a completely fleshed-out content ecosystem for multimedia and apps. As the operating system matured, some elements have successfully grown with it, and others have become dead weight. Naturally, progress calls for the replacement of those pieces that haven't scaled well. We've seen an excellent example of this when ART came to replace Dalvik as the standard Android runtime. With the release of Lollipop, a similar project emerged that promises to replace a part of the existing app development toolchain with a pair of new compilers called Jack and Jill.

read more

LXer: Installing Tomcat 8 on a CentOS 7 Linux VPS

Monday 1st of December 2014 11:19:41 PM
Installing Tomcat 8 on a CentOS 7 Linux VPS. The following article guides you through the steps on how to install the latest Tomcat 8 on a CentOS 7 Linux VPS. Apache Tomcat (previously known as Jakarta Tomcat) is an application server developed by the Apache Software Foundation that executes Java servlets and renders Web pages that include Java Server Page coding.

TuxMachines: CoreOS is building a container runtime, Rocket

Monday 1st of December 2014 11:18:21 PM

Rocket is a new container runtime, designed for composability, security, and speed. Today we are releasing a prototype version on GitHub to begin gathering feedback from our community and explain why we are building Rocket.

read more

Phoronix: Gngr Begins Open-Sourcing Their Web Browser Code

Monday 1st of December 2014 11:04:35 PM
Last month on Phoronix I wrote about the Gngr project, a web browser focused on the user's privacy that was written from scratch. Bits of this web browser are now starting to be open-sourced...

LXer: CONTAINER WARS! CoreOS blasts at Docker with rival Rocket tool

Monday 1st of December 2014 10:22:30 PM
CoreOS, the lightweight Linux distro based around Linux containers and Docker, has decided to break with Docker and develop its own, competing application container tech.

TuxMachines: Setting up Linux Mint 17.1 for the first time

Monday 1st of December 2014 09:55:47 PM

Given a choice between a DVD disc and a USB stick, I'd go with the USB option. Mint, and any other operating system, will install and run much faster from it.

read more

Reddit: Linux on Tablets - Good Idea?

Monday 1st of December 2014 09:38:28 PM

Hey /r/linux, I am thinking of getting a 100$ windows tablet and putting linux on it, and I was curious if linux had any friendly distros to tablets, or if it would even work. For those curious, I was planning to use the 100$ HP Stream 7 tablet.

submitted by taubot
[link] [1 comment]

Reddit: Ubuntu next, Unity8 (windowing, rotation)

Monday 1st of December 2014 09:26:20 PM

LXer: Linux Mint 17.1 released

Monday 1st of December 2014 09:25:19 PM
In today's open source roundup: Linux Mint 17.1 Cinnamon and MATE are now available to download. Plus: Reviews of Linux Mint 17.1, and disgruntled developers have forked Debian into a new entity called Devuan.

Phoronix: Manjaro 0.8.11 Ships A Linux 3.16 Based Arch Experience

Monday 1st of December 2014 08:31:30 PM
While Manjaro updates were dry the past few weeks, users can rejoice today that Manjaro 0.8.11 is now available as the latest version of this Arch Linux based distribution...

LXer: Canonical's Ubuntu Touch for Mobile Devices Almost Ready

Monday 1st of December 2014 08:28:08 PM
The latest development release of Ubuntu Touch, the open source operating system from Canonical for smartphones and tablets, suggests the platform may soon be ready for the market. Canonical still hasn't finished "converging" Ubuntu Linux across PCs, servers, phones and tablets, but it's now closer than ever with a new development release of Ubuntu Touch, which partners Meizu and Bq are using to build the open source mobile devices that should appear in the new year.

Reddit: Welcome to Linux 2.4.33.3 (tty1) Joke

Monday 1st of December 2014 08:09:53 PM

Moving along a dimly light street, a man i know was suddenly approached by a stranger who had slipped from the shadows nearby. "please, sir," pleaded the stranger, "would you be so kind as to help a poor unfortunate fellow is hungry and can't find work? All i have in the world is this gun. "

submitted by lexaniatx
[link] [1 comment]

Reddit: Neo900: Crafting The Private Phone

Monday 1st of December 2014 08:07:40 PM

More in Tux Machines

Quadcopter drone packs first all-Linux APM autopilot

Erle Robotics launched a ROS-enabled, open source “Erle-brain” autopilot that runs APM directly on Linux. The device also powers an “Erle-copter” drone. Over the last year, Spanish firm Erle Robotics S.L. has been working with 3DRobotics to develop an open source BeaglePilot autopilot for drones that can run Linux on 3DR’s popular, Arduino-based APM (ArduPilot Mega) platform. The APM Linux port was developed by both companies, as well as several academic institutions. The BeagleBone-based “Erle-brain” autopilot is built into the $490-and-up Erle-copter quadcopter. Read more

Seven Tips To Get The Most From Your New Android Smartphone

With applications able to run in the background and sync as they see fit, Android can rapidly eat through your cellular data allowance if you are not careful. While it’s fine to let the data run free on wi-fi, you’ll want to restrict your data usage when out and about. Short of switching off mobile data (which defeats the purpose of a smartphone), look under the options in the Data Usage part of the settings. Here you’ll find my wallet’s favourite Android setting of ‘restrict background data’. Now when using cellular data, apps will only pull down data when they are in the foreground and you can see them doing so. If a smartphone is all about being in control, this is the option that gives you confidence. Read more

today's leftovers

Hands-on with PCLinuxOS: A terrific release

I had been thinking that a new PCLinuxOS release was due any time now, based on their quarterly release schedule. Sure enough, it has now arrived, just in time for Christmas - PCLinuxOS 2014.12. Read more Also: Santa Claus has Linux in his sack -- PCLinuxOS 2014.12 is here PCLinuxOS 2014.12 released